From owner-freebsd-questions@FreeBSD.ORG Tue Jan 24 02:28:12 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 D007316A41F for ; Tue, 24 Jan 2006 02:28:12 +0000 (GMT) (envelope-from mj001@rogers.com) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 05B8B43D46 for ; Tue, 24 Jan 2006 02:28:11 +0000 (GMT) (envelope-from mj001@rogers.com) Received: (qmail 87316 invoked from network); 24 Jan 2006 02:28:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=UqzkGNu1IG0d+POQFubKzYxKQHY1+qr8yq1sDTyCZDktbpvnBfDq0N4Fknoz6ifUELGfwANHDHGLSacjyzvkTlHUmJKeXaS9D1M67/ueHQBX5hGrvADAfa/arYxHXXQq2lznh20JFU4i6B9NvRPWJnVf8UfKjPQ5oWbCoGeL/wA= ; Received: from unknown (HELO chaucer.jeays.ca) (mj001@rogers.com@72.139.51.96 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 24 Jan 2006 02:28:10 -0000 From: Mike Jeays To: Warren Block In-Reply-To: <20060123184615.V52263@wonkity.com> References: <43D57883.9060005@mkproductions.org> <20060123184615.V52263@wonkity.com> Content-Type: text/plain Date: Mon, 23 Jan 2006 21:28:09 -0500 Message-Id: <1138069689.1334.24.camel@chaucer.jeays.ca> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Mark Kane , 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 02:28:13 -0000 On Mon, 2006-01-23 at 18:59 -0700, Warren Block wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Postscript files are often identified by a comment beginning with a "%" in the first position of the file. Try inserting a line like this at the start of the file, and see if that works.