Date: Fri, 29 Aug 2014 10:53:45 -0500 From: "William A. Mahaffey III" <wam@hiwaay.net> To: "FreeBSD Questions !!!!" <freebsd-questions@freebsd.org> Subject: printing problems .... Message-ID: <5400A209.7030103@hiwaay.net>
next in thread | raw e-mail | index | archive | help
I am trying to get printing working under FBSD 9.3. I cribbed printcap info from https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html#printing-quick-start & tried it out: [root@kabini1, /etc, 10:48:04am] 458 % service lpd status lpd is running as pid 27062. [root@kabini1, /etc, 10:48:06am] 459 % printf "From jaguar:\n1. This printer can print.\n2. This is the second line.\n" | lpr [root@kabini1, /etc, 10:48:36am] 460 % lpq no entries [root@kabini1, /etc, 10:48:38am] 461 % (tail printcap ) # :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: # # ... following cribbed from Athlon-cube, FC14 ;-) .... # # printer|Xerox Phaser 6130N:rm=jaguar.cfd.com:rp=printer: # Cups-PDF|Cups-PDF:rm=jaguar.cfd.com:rp=Cups-PDF: # # ... following cribbed from online FBSD LP docs .... # lp:lp=:rm=printer:rp=raw:sh:mx#0:sd=/var/spool/lpd/lp:lf=/var/log/lpd-errs: [root@kabini1, /etc, 10:48:59am] 462 % ping printer PING printer (192.168.0.24): 56 data bytes 64 bytes from 192.168.0.24: icmp_seq=0 ttl=255 time=0.638 ms 64 bytes from 192.168.0.24: icmp_seq=1 ttl=255 time=0.632 ms 64 bytes from 192.168.0.24: icmp_seq=2 ttl=255 time=0.623 ms 64 bytes from 192.168.0.24: icmp_seq=3 ttl=255 time=0.634 ms 64 bytes from 192.168.0.24: icmp_seq=4 ttl=255 time=0.631 ms 64 bytes from 192.168.0.24: icmp_seq=5 ttl=255 time=0.640 ms 64 bytes from 192.168.0.24: icmp_seq=6 ttl=255 time=0.769 ms 64 bytes from 192.168.0.24: icmp_seq=7 ttl=255 time=0.622 ms 64 bytes from 192.168.0.24: icmp_seq=8 ttl=255 time=0.758 ms 64 bytes from 192.168.0.24: icmp_seq=9 ttl=255 time=0.634 ms --- printer ping statistics --- 10 packets transmitted, 10 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.622/0.658/0.769/0.053 ms [root@kabini1, /etc, 10:49:41am] 463 % Nothing ever comes out of the printer, thought it does light up, it seems to know it got something .... The same printf stuff above works from the shell CLI on other Linux boxen (CUPS), so the printer can handle straight ASCII text .... TIA for any clues .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5400A209.7030103>