[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Printer Setup



Well, it looks like magicfilter hasn't been configured.  I believe this is
the default printcap installed by lpr.  Run magicfilterconfig and you
should get something similar to:

#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
#	@(#)etc.printcap	5.2 (Berkeley) 5/5/88
#
# > This file was generated by /usr/sbin/magicfilterconfig. <
#
lp|dj|hpdj|HP Deskjet 520:\
	:lp=/dev/lp1:sd=/var/spool/lpd/hpdj:\
	:sh:pw#80:pl#66:px#1440:mx#0:\
	:if=/etc/magicfilter/dj500-filter:\
	:af=/var/log/lp-acct:lf=/var/log/lp-errs:


On Wed, 27 Jan 1999, Craig R. Hodges wrote:

> Here's my printcap:
> lp|Generic dot-matrix printer entry:\
>         :lp=/dev/lp1:\
>         :sd=/var/spool/lpd/lp:\
>         :df=/etc/filter.ps:\
>         :tf=/etc/filter.pcl:\
>         :af=/var/log/lp-acct:\
>         :lf=/var/log/lp-errs:\
>         :pl#66:\
>         :pw#80:\
>         :pc#150:\
>         :mx#0:\
>         :sh:
> 
> 
> On Wed, 27 Jan 1999, Bob Nielsen wrote:
> 
> > Date: Wed, 27 Jan 1999 15:43:14 -0700 (MST)
> > From: Bob Nielsen <nielsen@primenet.com>
> > To: "Craig R. Hodges" <chodges@Copernicus.Astronomers.org>
> > Cc: debian-user@lists.debian.org
> > Subject: Re: Printer Setup
> > 
> > On Wed, 27 Jan 1999, Craig R. Hodges wrote:
> > 
> > > With lpr as the print command in Netscape, my printer prints:
> > > 
> > > %!PS-Adobe-3.0
> > > 	%%BoundingBox: 54 72 558 720
> > > 				%%Creator: Mozilla (NetScape) HTML -> PS	
> > > 
> > > and then starts feeding sheets. I have a HP Deskjet 682C which doesn't
> > > understand postscript.
> > 
> > But lpr should feed it through the magicfilter and gs, which converts
> > postscript to hpgl.  What do you have in /etc/printcap?
> > 
> > Bob
> > 
> > > 
> > > On Wed, 27 Jan 1999, Bob Nielsen wrote:
> > > 
> > > > Date: Wed, 27 Jan 1999 14:27:29 -0700 (MST)
> > > > From: Bob Nielsen <nielsen@primenet.com>
> > > > To: "Craig R. Hodges" <chodges@Copernicus.Astronomers.org>
> > > > Cc: debian-user@lists.debian.org
> > > > Subject: Re: Printer Setup
> > > > 
> > > > I just use lpr as my print command in Netscape and the output gets sent to
> > > > gs and the printer via magicfilter.
> > > > 
> > > > Bob
> > > > 
> > > > On Wed, 27 Jan 1999, Craig R. Hodges wrote:
> > > > 
> > > > > I've installed gs-aladdin, gsfonts, magicfilter from slink.
> > > > > In Netscape I put for the print command
> > > > > 	gs --sModel=unspec --sOutputFile=\|lpr
> > > > > 
> > > > > It'll pop-up a Ghostscript "preview" window in X and after a couple
> > > > > minutes (if I'm printing a web page with graphics or instantly if just
> > > > > text) get a stdout/stderr
> > > > > 
> > > > > The message is
> > > > > 
> > > > > Aladdin Ghostscript 5.50 (1998-9-16)
> > > > > Copyright (etc., etc.)
> > > > > 
> > > > > <GS><GS>...GS<71>GS...
> > > > > 
> > > > > (etc. etc.)
> > > > > 
> > > > > ...Loading NimbusRomNo9L - Medi font from
> > > > > /usr/lib/ghostscript/fonts/n021004l.pfb... (a bunch of numbers) 0 done.
> > > > > ...Loading NimbusRomNo9L - Reguital font from
> > > > > /usr/lib/ghostscript/fonts/n021023l.pfb... (a bunch of numbers) 0 done.
> > > > > ...Loading NimbusRomNo9L - Mediltal font from
> > > > > /usr/lib/ghostscript/fonts/n021024l.pbf... 2023936 708506 1329168 38317 0
> > > > > 
> > > > > <<stderr diagnostics have been truncated >>
> > > > > 
> > > > > Any ideas?
> > > > > 
> > > > > Thanks,
> > > > > Craig
> > > > > 
> > > > > 
> > > > > -- 
> > > > > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> > > > > 
> > > > > 
> > > > 
> > > > ----
> > > > Bob Nielsen                 Internet: nielsen@primenet.com
> > > > Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
> > > > DM42nh                      http://www.primenet.com/~nielsen
> > > > 
> > > 
> > > 
> > 
> > ----
> > Bob Nielsen                 Internet: nielsen@primenet.com
> > Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
> > DM42nh                      http://www.primenet.com/~nielsen
> > 
> 
> 

----
Bob Nielsen                 Internet: nielsen@primenet.com
Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
DM42nh                      http://www.primenet.com/~nielsen


Reply to: