From owner-freebsd-questions Thu Oct 11 14:42:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 0391537B409 for ; Thu, 11 Oct 2001 14:42:54 -0700 (PDT) Received: from sageone (ppp-208-191-234-251.dialup.crchtx.swbell.net [208.191.234.251]) by sage-american.com (8.9.3/8.9.3) with SMTP id QAA22544; Thu, 11 Oct 2001 16:42:45 -0500 (CDT) Message-Id: <3.0.5.32.20011011164327.0191fe78@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 11 Oct 2001 16:43:27 -0500 To: Mike Meyer From: jacks@sage-american.com Subject: Re: Printcap & Magicfilter Cc: questions@freebsd.org In-Reply-To: <15301.58663.814239.677580@guru.mired.org> References: <17695520@toto.iv> 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 Mike, your printcap worked like a charm! ...except I chose a plain ole deskjet-filter. Many thanks! At 01:29 PM 10.11.2001 -0500, 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. > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message