From owner-freebsd-questions@FreeBSD.ORG Fri Feb 26 22:09:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3BCA10656BB for ; Fri, 26 Feb 2010 22:09:56 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from web36501.mail.mud.yahoo.com (web36501.mail.mud.yahoo.com [209.191.85.1]) by mx1.freebsd.org (Postfix) with SMTP id A2B958FC2D for ; Fri, 26 Feb 2010 22:09:56 +0000 (UTC) Received: (qmail 8075 invoked by uid 60001); 26 Feb 2010 22:09:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1267222194; bh=QnydnDAVj4VZlLbITGSuFtgIipSv1op3aet+TDNnkBk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=kyvxMgeJF95rT4VSQ53WtOpWAG+Dxl/5Amrkhtxzqrf/yR6F/uDh61VUehebeDfC5aY8rqLPwAhY5MQm5jbI1AddauaKStraRnJ0gbJv3DnWxPNxwLcE+JuSIEQTkVrwOyWWcLrXqJW16XOUqHlcTA7BG+NtdaBPNe5byLxk19c= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=HGHPB+/G1qH0xzPMOCkw0ITm09YOzagwBGG+g+0AG90m3BXoJl6RQ/2PaCl566oL4Di291+JzFPaTI9R7ApfQvAWk+7drDeP+KkoEuk6qyH95MPYsbFtysVSuKrQYfKfDFLsSfVhUxJpvrTr8Stzrun7M7J1Nj8I9+lTBzixbyM=; Message-ID: <265012.7854.qm@web36501.mail.mud.yahoo.com> X-YMail-OSG: qlDsuREVM1kViuMcHRXM0EDPwRtrMHykEKMM6eZiRthRVyVC9CSBrWjYWcV4GUfWC_iFdODixDsIPFJC.IloJYSjLK6RwklXsHoWhzrl7Biag4KnSLdQhQINuS.R48z586ajNJGkLsjvEx0IpRdphCgoJCzX5zOA9FcyG7Let6lJp6UjZIwsfCsYPu6ltbJkUtuTY7C0r3glal7hH2ceu4qh2CBB_HbtP_htKTQakIhYTZaCM4N2fohNNi2cycyxDkf7qny6Y6FSabN4o8fG_zW5P0spKEGsg_hM3pD78xwdDWOXntxJWg9sR_lzk.ihZH4NoJB6dw-- Received: from [98.242.237.166] by web36501.mail.mud.yahoo.com via HTTP; Fri, 26 Feb 2010 14:09:54 PST X-Mailer: YahooMailClassic/9.2.12 YahooMailWebService/0.8.100.260964 Date: Fri, 26 Feb 2010 14:09:54 -0800 (PST) From: Bill Tillman To: Warren Block In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Printing via USB Port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2010 22:09:57 -0000 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 wrote: From: Warren Block Subject: Re: Printing via USB Port To: "Bill Tillman" 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