printing problems ....

Martin Alejandro Paredes Sanchez mapsware at prodigy.net.mx
Thu Sep 4 02:20:11 UTC 2014


El Fri, 29 Aug 2014 10:53:45 -0500
"William A. Mahaffey III" <wam at hiwaay.net> escribió:
> 
> 
> 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:
> 

Great, you started well, reading the manual

> 
> [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

According with the next page

http://www.openprinting.org/printer/Xerox/Xerox-Phaser_6130N

The printer Xerox Phaser 6130N can print plain text, but in xerox.com
it list PCL6 and PostScript drivers

http://www.support.xerox.com/support/phaser-6130/downloads/enus.html?operatingSystem=winxp

Since lpq said "no entries", the job was send to the printer, let see
if we can diagnose why nothing was printed

> [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 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:

In the office I have a Xerox WorkCentre 5135 and I use "rp=lp", try
with that, "rp=raw" normally is for HP printers

> 
> Nothing ever comes out of the printer, thought it does light up, it 
> seems to know it got something ....

The job arrived to the printer, but maybe to the wrong queue (rp=raw)

> 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 ....

The package CUPS has filters included, the LPD/LPR system included in
the base does not

Even your printcap file does not specify a input-filter (if=)

Read the next post (the part referring to how LPD/LPR works)

http://lists.freebsd.org/pipermail/freebsd-questions/2014-August/259926.html

In conclusion, try changing rp=lp and let us know what happen

Martin Paredes


More information about the freebsd-questions mailing list