From owner-freebsd-questions Thu Oct 11 12:16:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by hub.freebsd.org (Postfix) with ESMTP id 14EDE37B403 for ; Thu, 11 Oct 2001 12:16:17 -0700 (PDT) Received: from [195.20.224.219] (helo=mrvdom03.schlund.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 15rlJJ-0004fI-00; Thu, 11 Oct 2001 21:16:01 +0200 Received: from pd90172e8.dip.t-dialin.net ([217.1.114.232]) by mrvdom03.schlund.de with esmtp (Exim 2.12 #2) id 15rlJJ-0001FZ-00; Thu, 11 Oct 2001 21:16:01 +0200 Date: Thu, 11 Oct 2001 19:15:28 +0000 (GMT) From: "P. U. (Uli) Kruppa" X-X-Sender: To: Mike Meyer Cc: , Subject: Re: Printcap & Magicfilter In-Reply-To: <15301.58663.814239.677580@guru.mired.org> Message-ID: <20011011185916.B10968-100000@big> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here is an alternative to typing all these configs manually: /usr/ports/print/apsfilter which is a printer configuration tool. It worked with all (o.k.: three, now a Deskjet 990Cxi) HP-Deskjets I have ever used. It was genuinely written for use with FreeBSD and they have online-manuals and mailing-lists (www.apsfilter.org). They even invented a work-around for duplex-printing (you get a mail when it is time to take the paper out and turn it around). But be warned: if you say yes to all options it will compile about two dozens of print-filters for all purposes - including a complete tex/latex-package (which I started loving since). And: Andreas Klemm (the maintainer) wants you to send him a postcard to Germany. Uli. On Thu, 11 Oct 2001, Mike Meyer wrote: > jacks@sage-american.com types: > > A thread yesterday caught my attention about using Magicfilter which I have > > never used. I have a new box set up running BSD 4.4 with an HP Deskjet > > 870Cse (color printer) attached and have yet to get it to print right. So, > > I installed Magicfilter, but have two questions: > > Good choice. > > > 1) What lines need to be added to the /etc/printcap? > > Here's what I use for an old deskjet: > > # The DeskJet 550c > dj|DeskJet 550C:\ > :lp=/dev/lpt0:\ > :sd=/var/spool/lpd/dj:\ > :lf=/var/spool/lpd/dj/log:\ > :af=/var/spool/lpd/dj/acct:\ > :if=/usr/opt/libexec/magicfilter/dj550c-filter:\ > :mx#0:\ > :sh: > djraw|DeskJet 550c, raw:\ > :lp=/dev/lpt0:\ > :sd=/var/spool/lpd/djraw:\ > :lf=/var/spool/lpd/djraw/log:\ > :af=/var/spool/lpd/djraw/acct:\ > :mx#0:\ > :sh: > > You'll need to change the /usr/opt to /usr/local, or whatever your > PREFIX is set to. You'll want to change the printer names - "dj" and > "djraw" - to whatever is appropriate for your printer. The djraw entry > is for applications that know how to talk to the printer directly; you > may not need it. > > You'll have to change the dj550c-filter in the first > entry. Magicfilter hasn't been udpated in a while, so doesn't build an > 870Cse entry. If the 870Cse understands HP's PCL, you can use the > dj550c-filter file, and just change the two invocations of ghostscript > - bin/gs - to use the appropriate device and resolution. If the > printer doesn't do PCL, a bit more work is required. If ghostscript > doesn't include a driver for it, you're out of luck. > > > > 2) Syntax line command to print a "test.text" file > > With the above, "lpr -Pdj test.text" > > -- > Mike Meyer http://www.mired.org/home/mwm/ > Q: How do you make the gods laugh? A: Tell them your plans. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ************************************ * P. U. Kruppa - Wuppertal * * Germany * * www.pukruppa.de www.2000d.de * ************************************ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message