From owner-freebsd-ports Sun Feb 2 18:13:52 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C76237B401 for ; Sun, 2 Feb 2003 18:13:50 -0800 (PST) Received: from mta05bw.bigpond.com (mta05bw.bigpond.com [139.134.6.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id A614A43F3F for ; Sun, 2 Feb 2003 18:13:48 -0800 (PST) (envelope-from areilly@bigpond.net.au) Received: from areilly.bpc-users.org ([144.135.24.69]) by mta05bw.bigpond.com (Netscape Messaging Server 4.15 mta05bw Jul 16 2002 22:47:55) with SMTP id H9PNIT00.HK0 for ; Mon, 3 Feb 2003 12:13:41 +1000 Received: from CPE-144-132-188-183.nsw.bigpond.net.au ([144.132.188.183]) by bwmam01.mailsvc.email.bigpond.com(MailRouter V3.0n 8/8477847); 03 Feb 2003 12:13:41 Received: (qmail 20198 invoked from network); 3 Feb 2003 02:13:41 -0000 Received: from localhost (HELO ?127.0.0.1?) (andrew@127.0.0.1) by localhost with SMTP; 3 Feb 2003 02:13:41 -0000 Subject: Re: CUPS on FreeBSD: what if printer is postscript? From: Andrew Reilly To: alane@geeksrus.net Cc: FreeBSD Ports List In-Reply-To: <20030201060451.GA30223@wwweasel.geeksrus.net> References: <1044078083.469.5.camel@gurney.reilly.home> <20030201060451.GA30223@wwweasel.geeksrus.net> Content-Type: text/plain Organization: Message-Id: <1044238421.17530.22.camel@gurney.reilly.home> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 03 Feb 2003 13:13:41 +1100 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Alan, Thanks for the help! On Sat, 2003-02-01 at 17:04, AlanE wrote: > On Sat, Feb 01, 2003 at 04:41:23PM +1100, Andrew Reilly wrote: > >Hi Alan, maintainer of the ports/print/cups port on FreeBSD, > > > >A bunch of other ports, like SAMBA, now require cups, and it seems like > >a cool and groovy thing, so OK. > > > >But whereas I wasn't actually having any problems with good old lpr/lpd > >and my postscript printer (a Lexmark Optra E312L), I can't find any CUPS > >do_nothing.ppd or GenericPS.ppd that I would expect to talk to a generic > >postscript printer. > > > >Any clues, or other fora where I might more profitably ask this > >question? > > Use the PPD for Windows NT that came with the printer. It's NOT a do nothing > ppd. Or go to Adobe's site, where you can download PPD files also. > > I have a PS printer, too, and I use the NT PPD and it works fine. I found the PPD that my WindowsXP laptop was using, and that seems to have worked nicely. Thanks! I'm now a CUPS site! I couldn't find any references to this exercise in the CUPS doco, and since I hardly ever use Windows, it simply didn't occur to me that a "Windows" file might be the answer. Before finding the one on my laptop, I tried downloading the driver set from Lexmark (24M!), and used wine to run the executable archive. The things that were unpacked that looked like they might be ppd files seemed to be compressed, with ".pp_" extensions. "file" didn't know what they were. For future reference, is there a tool that can decompress these? One other doco gotcha that you/the ports crew might like to think about, though: CUPS supplies replacements for lpr, lpc, lpd et-al, and puts these in /usr/local/bin, where one would expect them to be. But the FreeBSD standard PATH (and common practise) dictates that the system directories preceed the local ones, so the system programs are found first, which doesn't work. A warning in the install or doco, to set NO_LPR=true in /etc/make.conf, and to delete/rename the existing programs might be a good idea? Thanks again, -- Andrew Reilly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message