Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2014 19:14:59 -0700
From:      Martin Alejandro Paredes Sanchez <mapsware@prodigy.net.mx>
To:        freebsd-questions@freebsd.org
Subject:   Re: printing problems ....
Message-ID:  <20140903191459.3f118c97@morena.maps.net>
In-Reply-To: <5400A209.7030103@hiwaay.net>
References:  <5400A209.7030103@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El Fri, 29 Aug 2014 10:53:45 -0500
"William A. Mahaffey III" <wam@hiwaay.net> escribi=F3:
>=20
>=20
> I am trying to get printing working under FBSD 9.3. I cribbed
> printcap info from=20
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html#=
printing-quick-start=20
> & tried it out:
>=20

Great, you started well, reading the manual

>=20
> [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=20
> printer can print.\n2. This is the second line.\n" | lpr
> [root@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?operat=
ingSystem=3Dwinxp

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

> [root@kabini1, /etc, 10:48:38am] 461 %  (tail printcap )
> #       :lp=3D/dev/lpt0:sd=3D/var/spool/output/lpd:lf=3D/var/log/lpd-errs:
> #
> # ... following cribbed from Athlon-cube, FC14 ;-) ....
> #
> # printer|Xerox Phaser 6130N:rm=3Djaguar.cfd.com:rp=3Dprinter:
> # Cups-PDF|Cups-PDF:rm=3Djaguar.cfd.com:rp=3DCups-PDF:
> #
> # ... following cribbed from online FBSD LP docs ....
> #
> lp:lp=3D:rm=3Dprinter:rp=3Draw:sh:mx#0:sd=3D/var/spool/lpd/lp:lf=3D/var/l=
og/lpd-errs:

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

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

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

> The same printf stuff above works=20
> from the shell CLI on other Linux boxen (CUPS), so the printer can=20
> 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=3D)

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=3Dlp and let us know what happen

Martin Paredes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140903191459.3f118c97>