From owner-freebsd-questions@FreeBSD.ORG Wed Jun 15 05:24:12 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3021716A41C for ; Wed, 15 Jun 2005 05:24:12 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id D987D43D1D for ; Wed, 15 Jun 2005 05:24:11 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.3/8.13.1) with ESMTP id j5F5O8ci051273; Tue, 14 Jun 2005 23:24:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.3/8.13.1/Submit) with ESMTP id j5F5O8AZ051270; Tue, 14 Jun 2005 23:24:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 14 Jun 2005 23:24:08 -0600 (MDT) From: Warren Block To: Sean Murphy In-Reply-To: <42AF6AF8.8060404@calarts.edu> Message-ID: <20050614230926.C51242@wonkity.com> References: <42AF6AF8.8060404@calarts.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (wonkity.com [127.0.0.1]); Tue, 14 Jun 2005 23:24:09 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: JetDirect Printing Graphics 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: Wed, 15 Jun 2005 05:24:12 -0000 On Tue, 14 Jun 2005, Sean Murphy wrote: > FreeBSD 5.4-RELEASE #0 > I have a HP LaserJet 4000N postscript printer with JetDirect. > > I am able to print a text file from the command line > > lpr test > > cat test > this is a test > > this prints perfectly > > the problem is when I try to print a graphics file I get garbage and > lots of it. > > lpr sm_logo.png The LJ4000N understands plain ASCII text, PCL, and PostScript, but not PNG or most other graphics formats. There are two approaches you can take for printing graphics: 1. Install an automatic filtering system. Anything you print will be examined by the filter and automatically formatted. Many people seem to like /usr/ports/print/apsfilter. 2. Send PostScript data direct from an application. For graphics like this, print from GIMP. For documents, use OpenOffice. A variation would be to use utilities to convert. ImageMagick's 'convert' utility will convert almost any graphics format to any other. You can use it to convert the PNG to PostScript and then print that: convert sm_logo.png ps:- | lpr ImageMagick is in ports at /usr/ports/graphics/ImageMagick. > I have changed auto to raw but same effect. Stick with raw for this. -Warren Block * Rapid City, South Dakota USA