On Sun, Nov 05, 2000 at 03:00:34PM +1100, Stephen Graham wrote:
> I have gotten a fair way down the track...  I can print text files to
> the printer (ie 'cat /etc/fstab | lpr').  The only problem with doing
> this is that the file prints out but no page feed is delivered to the
> printer (ie the page stays in the printer at the last line).
> 
> I have gs and magicfilter on my machine, but no idea for how to
> configure them (I know that my gs devide name is djet500c).  My print
> spooler is LPRng.  I am happy to change the magic filter if required.
> 
> deskjet:\
>       :cm=HP DeskJet 500C:\
>       :sd=/var/spool/lpd/deskjet:\
>       :af=/var/spool/lpd/deskjet/acct:\
>       :if=/usr/bin/smbprint:\
>       :mx=0:\
>       :lp=/dev/deskjet:

you could try adding "fq" to the printcap settings
(ie: add the line ":fq:\" somewhere in there)


also, unless /usr/bin/smbprint pipes through magicfilter, you aren't
actually using magicfilter.

i note that magicfilter pipes default (text) data for djet500c through
"djscript -q", you might want to check a man page to see what that's
supposed to do.

something you might want to do, is change the magicfilter default line
to pipe through "a2ps -E -g -2 -o-" (and some further command-line
tweaking) instead. you'll amaze and astound your colleagues and be
much more successful with the opposite sex. (you'll need to change the
"filter" keyword to "pipe" too, see magicfilter(8)).

-- 
 - Gus


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to