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

Re: printer help



Just had a quick look of the stylus_color_720dpi-filter.

The first couple of lines look like:

# PostScript
0       %!              filter  /usr/bin/gs  -sDEVICE=stcolor -r720 -q -dSAFER -dNOPAUSE -dSpotSize='{2.6 2.4 2.6 2}' -sOutputFile=- -
0       \004%!          filter  /usr/bin/gs  -sDEVICE=stcolor -r720 -q -dSAFER -dNOPAUSE -dSpotSize='{2.6 2.4 2.6 2}' -sOutputFile=- -

# PDF
0       %PDF            fpipe   /usr/bin/gs  -sDEVICE=stcolor -r720 -q -dSAFER -dNOPAUSE -dSpotSize='{2.6 2.4 2.6 2}' -sOutputFile=- $FILE


# TeX DVI
0       \367\002        fpipe   /usr/bin/dvips  -D 720  -R -q -f


now, copy this file to stylus_color_740dpi-filter and change all the 720 values to 740.
Then update your printcap to points to this modified filter.
Restart lpd by running /etc/init.d/lpd restart or /etc/init.d/lprng restart depends which printing package
you got, then it should work..

On Wed, Aug 04, 1999 at 05:44:40PM +0200, Jocke wrote:
> Hi all,
> 
> I can't get lpr to work properly. I guess I am just
> unexperienced so some hints and advice would be
> appreciated.
> 
> I have a pretty slim potato setup.
> gs-aladdin
> lprng
> magicfilter
> -------------
> printcap file:
> lp|epson|EPSON STYLUS color 740:\
>         :lp=/dev/lp0:sd=/var/spool/lpd/epson:\
>         :sh:pw#80:pl#72:px#1440:mx#0:\
>         :if=/etc/magicfilter/stylus_color_720dpi-filter:\
>         :af=/var/log/lp-acct:lf=/var/log/lp-errs:
> ----------------
> printer EPSON STYLUS color 740
> 
> when trying to print a .ps file with
> lpr some_file.ps I just get lots of form feeds and strange
> output after a while
> 
> when trying a ordinary text file nothing happens.
> The job is in the que for a while but nothing prints.
> 
> As root I can print with cat some_file >/dev/lp0
> 
> -------------------------
> If I do "lpc start" I get
> Printer: lp@localhost
> lp@localhost: started
> 
> ------------------------------
> 
> What extra info can I give ?
> 
> Would appreciate som input on this.
> 
> Best Regards
> Joakim Svensson
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________


Reply to: