Date: Fri, 26 Feb 2010 14:09:54 -0800 (PST) From: Bill Tillman <btillman99@yahoo.com> To: Warren Block <wblock@wonkity.com> Cc: freebsd-questions@freebsd.org Subject: Re: Printing via USB Port Message-ID: <265012.7854.qm@web36501.mail.mud.yahoo.com> In-Reply-To: <alpine.BSF.2.00.1002261219080.13756@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Okay, I have the setup like you show and at least now the jobs show up in t= he queue, but nothing makes it to the printer. It's funny because I can cha= nge the one line in /etc/printcap to point to lpt0 instead of ulpt0 and it = works. I have both parallel and USB cables connected in this test setup, bu= t the server I want to move the printer back to only has USB. Something else that seems odd, when I rebooted and started lpd from the com= mand line there are two instances of it showing up in the ps -ax output. Sh= ouldn't only one be running? After reboot and restarting lpd, the job is in the queue but nothing is pri= nting when using the USB connection. Sorry to be so much trouble. I thought= this would be one of those things that would just start working. --- On Fri, 2/26/10, Warren Block <wblock@wonkity.com> wrote: From: Warren Block <wblock@wonkity.com> Subject: Re: Printing via USB Port To: "Bill Tillman" <btillman99@yahoo.com> Cc: freebsd-questions@freebsd.org Date: Friday, February 26, 2010, 1:54 PM On Fri, 26 Feb 2010, Bill Tillman wrote: > Your answers are usually spot on but this is one of those difficult times= when the Windows and Linux guys at work laugh their asses off at me for be= ing such a FreeBSD die-hard. That's like laughing at a chef when fast food is available. > So I added the standard #!/bin/sh line to the beginning of the ps2pcl Doh.=A0 Time for me to create an article on this to avoid mistakes like tha= t. > file and nothing printed, not even error messages about what happened. This probably means it works.=A0 The ps2pcl filter expects PostScript input= ; it doesn't auto-format like apsfilter.=A0 So format your print jobs in PS= first.=A0 Many applications do that already (OpenOffice), or there are con= version programs like enscript (print/enscript-letter) for text. =A0 % enscript testfile.txt Will format testfile.txt into PS and send it to the lp printer. This works for me here--I reconnected my printer via USB to try it. -Warren Block * Rapid City, South Dakota USA =0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?265012.7854.qm>