Portál AbcLinuxu, 19. března 2024 08:36
HP_LJ_1100|LaserJet1100:\ :lp=/dev/lp0: \ :force_localhost: \ :if=/usr/bin/foomatic-rip: \ :ppd=/usr/local/lib/HP-LaserJet_1100-hpijs.ppd: \ :sd=/var/spool/lpd/HP_LJ_1100: \ :mx#0:sh:(podle howto na linuxprinting.org),
Jak tisknout cupsem z shellu ? Nativne :D v printers.conf jsem musel nahradit < a > za { a } /znacka PRINTER neni povolena/ root@fretka:/home/petr# cat /etc/cups/printers.conf # Printer configuration file for CUPS v1.1.19 # Written by cupsd on Wed Mar 24 20:09:32 2004 {Printer HPCLJ4500} Info HP Color LaserJet 4500, hpijs Location 3 patro vzadu DeviceURI ipp://192.168.1.23:631/ipp State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 {/Printer} {Printer HPDJ970C} Info HP DeskJet 970C, hpijs Location 3 patro vzadu vedle HPLJ4500 DeviceURI socket://192.168.1.22:9100 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 {/Printer} {DefaultPrinter hplj1200} Info hplj1200 na notes serveru Location kancl DeviceURI ipp://notes:631/printers/hplj1200 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 {/Printer} root@fretka:/home/petr# ls -lah /usr/bin/lp lrwxrwxrwx 1 root root 7 2004-05-25 06:23 /usr/bin/lp -> lp-cups root@fretka:/home/petr# man lp | lp -d hplj1200 request id is hplj1200-134 (1 file(s)) root@fretka:/home/petr# lpq hplj1200 is ready and printing Rank Owner Job File(s) Total Size active root 135 (stdin) 5120 bytes jak proste .... Petr
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.