"[EMAIL PROTECTED]" wrote:

> "Thomas J. Hamman" wrote:
>
> > Okay, I thought I had my printer working just fine (albeit without
> > color); I've printed dvi's fine in xdvi, and I can print text files fine
> > with lpr.
> >

> > But now I'm writing an essay in kword and when I try to print, it just
> > does nothing.  So then I printed to a ps file instead of the printer,
> > opened it up in ghostview, and tried to print from there, but _that_
> > also did nothing. 
snip
> > If anyone can help me with any of those problems, specifically the
> > printing problem, I would appreciate it.  My printer is an HP DeskJet
> > 672C which, IIRC, I set up with magicfilterconfig.
> >
> > --
> > Tom
> > "Man is the only animal that can remain on friendly terms with the
> > victims he intends to eat until he eats them."
> >         -Samuel Butler
> >
> > --
>
> Attached is (I hope) my complete set of files for printing text and 
> postscript  for
> HP660C. It works
> well with other printers (mutatis mutandis). Ivan
>
>
> here is my /etc/printcap of April 2000:
>
> #LOCAL printer for ascii
> lp|dj|deskjet:\
>     :sd=/var/spool/lpd/dj:\
>     :mx#0:\
>     :lp=/dev/lp1:\
>     :if=/var/spool/lpd/dj/filter:\
>     :sh:
> #from "installing a Hewlett Packard Deskjet 660 with Linux"
> #HP Deskjet 660C
> plop|hpdj:\
>     :sd=/var/spool/lpd/hpDeskJet:\
>     :mx#0:\
>     :lp=/dev/lp1:\
>     :if=/var/spool/lpd/hpDeskJet/filter:\
>     :lf=/var/spool/lpd/hpDeskJet/errs:\
>     :sh:
>
> -----------------------------------------
> here is if=/var/spool/lpd/dj/filter:
>
> #!/bin/sh
> awk '{printf("%s\r\n",$0)}'
> echo -ne \\f
> ----------------------------------------------
> and here is
>
> /var/spool/lpd/hpDeskJet/filter:
>
> #!/bin/sh
> #This File by Todd Burgess ([EMAIL PROTECTED])
> /usr/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=cdj550 -sOutputFile=- -
>
> ----------------------------------------------------------------
> the last one is got from psjetfilter (got from internet) by
> replacing " DEVICE=/djet550c" by "DEVICE=cdj550".
As far as I remember, changing the device=.. is the only
essential thing to change (the device is the ghostscript
 printer driver and cdj550 is probably OK for HP672C).

Reply via email to