Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
    • Ubuntu
    • LTSP
    • HowTo
    • BASH
    • Backtrack
    • CUPS
    • CentOS
    • Debian
    • FreeNX
    • GRML
    • Gnome
    • Grub
    • IpFire
    • Kernel
    • Linux Lite
    • SSH
    • UEFI
    • dban
    • logrotate
    • parted
    • proxy
    • systemd
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
# view all available printer
lpstat -p -d

# Enable all printer
for PRINTER in $(lpstat -p | awk '{print $2}'); do
    echo "Enable ${PRINTER}"
    /usr/sbin/cupsenable ${PRINTER}
done

# enable webadmin
vi /etc/cups/cupsd.conf
#Listen localhost:631
Listen 0.0.0.0:631


  Allow From 192.168.1.0/24


  Allow From 192.168.1.0/24


# print file from command line
lpr -P DeskJet_695C YOUR_FILE.pdf

# parallel
# install DeskJet_695C
sudo lpadmin -p HP695C -v parallel:/dev/lp0 -E -P /tmp/DeskJet_695C.ppd 

# usb 
hp:/usb/hp_business_inkjet_2300?serial=CN39E130GB

# PDF printer
sudo apt-get install cups-pdf
lpadmin -p PDF -v cups-pdf:/ -E -P /usr/share/ppd/cups-pdf/CUPS-PDF.ppd

# install HP 2300
# samba share
lpadmin -p hp2300 -v smb://user:pass@YOUR_CLIENT_IP/hp2300 -E -P /tmp/hp_business_inkjet_2300.ppd
lpadmin -p hp2300 -v smb://user:pass@YOUR_DOMAIN/YOUR_CLIENT/hp2300 -E -P /tmp/hp_business_inkjet_2300.ppd

# printjet
lpadmin -p HP2300 -v hp:/net/hp_business_inkjet_2300?ip=192.168.1.12 -E -P /tmp/hp_business_inkjet_2300.ppd

# ipp
lpadmin -p laser3 -v ipp://192.168.1.11:631/ipp -E -P /usr/share/ppd/openprinting/Kyocera/en/Kyocera_Mita_FS-C5016N_en.ppd.gz

Links
http://www.cups.org/documentation.php/options.html
http://docs.oracle.com/cd/E23823_01/html/819-7355/gfjno.html

Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung