From owner-freebsd-questions@FreeBSD.ORG Fri Feb 26 19:54:50 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 9AE15106564A for ; Fri, 26 Feb 2010 19:54:50 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 555418FC08 for ; Fri, 26 Feb 2010 19:54:49 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o1QJsnvl013922; Fri, 26 Feb 2010 12:54:49 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o1QJsn6n013919; Fri, 26 Feb 2010 12:54:49 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Feb 2010 12:54:49 -0700 (MST) From: Warren Block To: Bill Tillman In-Reply-To: <733828.21268.qm@web36507.mail.mud.yahoo.com> Message-ID: References: <733828.21268.qm@web36507.mail.mud.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Fri, 26 Feb 2010 12:54:49 -0700 (MST) 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 19:54:50 -0000 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 being 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. Time for me to create an article on this to avoid mistakes like that. > file and nothing printed, not even error messages about what happened. This probably means it works. The ps2pcl filter expects PostScript input; it doesn't auto-format like apsfilter. So format your print jobs in PS first. Many applications do that already (OpenOffice), or there are conversion programs like enscript (print/enscript-letter) for text. % 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