From owner-freebsd-questions@FreeBSD.ORG Tue Jan 24 01:59:09 2006 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 3C70516A41F for ; Tue, 24 Jan 2006 01:59:09 +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 D002343D45 for ; Tue, 24 Jan 2006 01:59:08 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.3/8.13.3) with ESMTP id k0O1x8pf052326; Mon, 23 Jan 2006 18:59:08 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.3/8.13.3/Submit) with ESMTP id k0O1x8Do052323; Mon, 23 Jan 2006 18:59:08 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 23 Jan 2006 18:59:08 -0700 (MST) From: Warren Block To: Mark Kane In-Reply-To: <43D57883.9060005@mkproductions.org> Message-ID: <20060123184615.V52263@wonkity.com> References: <43D57883.9060005@mkproductions.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (wonkity.com [127.0.0.1]); Mon, 23 Jan 2006 18:59:08 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Configuring a Printer - Printing Code 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: Tue, 24 Jan 2006 01:59:09 -0000 On Mon, 23 Jan 2006, Mark Kane wrote: > Hi everyone. I've been trying to get this going for quite a while, but > got busy. I'm finally back on it now so hopefully someone may have a > suggestion because I'm stumped. > > I've got a Lexmark Z52 printer shared through CUPS on the network from a > different machine. I've also got CUPS running on the machine I am trying > to get to print. It sees the shared printer and can use the CUPS > interface to print a test page to the printer shared by the other computer. > > The problem comes when printing from this machine. Whenever trying to > print, instead of printing the text of the document or website, it > prints a bunch of code. Here is a short sample: > > ------- > flipXY 0 eq c3x2 c4x2 eq or > {false PickCoords } > { /shrink c3x2 c4x2 eq > {0} {c1x2 c4x2 sub c3x2 c4x2 sub div abs} ifelse def > /xshrink {c4x2 sub shrink mul c4x2 add} def > [...etc...] > ------- Your network description is hard to follow, but from the description given, the printer is attached to a Mac, and you are sending it print jobs from a FreeBSD machine. What you show here is PostScript code. The Mac is receiving your PostScript print job, but misidentifying it as a text file. You need to find out what the Mac is expecting, and send that. Or you may be able to change the settings on the Mac, or maybe just add some kind of ID string at the start of your print jobs that will help them be properly identified as PostScript. -Warren Block * Rapid City, South Dakota USA