From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 02:20:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17A845CB for ; Thu, 4 Sep 2014 02:20:11 +0000 (UTC) Received: from nlpiport08.prodigy.net.mx (nlpiport08.prodigy.net.mx [148.235.52.13]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1861A10 for ; Thu, 4 Sep 2014 02:20:09 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.04,462,1406610000"; d="scan'208";a="74468260" Received: from nlpiport02.prodigy.net.mx ([148.235.52.117]) by nlpiport08.prodigy.net.mx with ESMTP; 03 Sep 2014 21:15:05 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlVDAHrKB1S9qohu/2dsb2JhbABZgw0gM44wogABAQEBAQEGgUuXDwyCFIU2AYEMF3eEBAEBAwEBAlMoCwshExIPGREeGQmIMQoLvg0BF4V8iR46FoIiD0SBQQWLLYozg3qDAgGBW5NDhAEdLwEBgQQHgUIBAQE Received: from dsl-189-170-136-110-dyn.prod-infinitum.com.mx (HELO morena.maps.net) ([189.170.136.110]) by nlpiport02.prodigy.net.mx with SMTP; 03 Sep 2014 21:15:04 -0500 Date: Wed, 3 Sep 2014 19:14:59 -0700 From: Martin Alejandro Paredes Sanchez 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> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; i386-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2014 02:20:11 -0000 El Fri, 29 Aug 2014 10:53:45 -0500 "William A. Mahaffey III" 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