printing problems ....

William A. Mahaffey III wam at
Fri Aug 29 15:47:32 UTC 2014

I am trying to get printing working under FBSD 9.3. I cribbed printcap 
info from 
& tried it out:

[root at kabini1, /etc, 10:48:04am] 458 %  service lpd status
lpd is running as pid 27062.
[root at kabini1, /etc, 10:48:06am] 459 %  printf "From jaguar:\n1. This 
printer can print.\n2. This is the second line.\n" | lpr
[root at kabini1, /etc, 10:48:36am] 460 %  lpq
no entries
[root at 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
# Cups-PDF|
# ... following cribbed from online FBSD LP docs ....
[root at kabini1, /etc, 10:48:59am] 462 %  ping printer
PING printer ( 56 data bytes
64 bytes from icmp_seq=0 ttl=255 time=0.638 ms
64 bytes from icmp_seq=1 ttl=255 time=0.632 ms
64 bytes from icmp_seq=2 ttl=255 time=0.623 ms
64 bytes from icmp_seq=3 ttl=255 time=0.634 ms
64 bytes from icmp_seq=4 ttl=255 time=0.631 ms
64 bytes from icmp_seq=5 ttl=255 time=0.640 ms
64 bytes from icmp_seq=6 ttl=255 time=0.769 ms
64 bytes from icmp_seq=7 ttl=255 time=0.622 ms
64 bytes from icmp_seq=8 ttl=255 time=0.758 ms
64 bytes from 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 at 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.

More information about the freebsd-questions mailing list