Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2006 14:42:35 -0700 (PDT)
From:      Neil Short <neshort@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   gutenprint - postscript - setup check
Message-ID:  <20060726214235.852.qmail@web56508.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
would you guys please check my setup. I have made it
the easiest in the world as far as I can tell.
When I send something (other than plain text) to lpr
my printer makes some bumping and warmup noises but
prints nothing.

/etc/printcap:

# /etc/printcap

epson|lp:\
        :sh:\
        :sd=/usr/spool/lp:\
        :lp=/dev/ulpt0:\
        :if=/usr/local/libexec/printfilter:\
        :mx#0:

====
/usr/local/libexec/printfilter
#!/bin/sh

printf "\033&k2G" || exit 2

IFS="" read -r first_line
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=ijs \
        -sIjsServer=/usr/local/bin/ijsgutenprint.5.0 \
        -sDeviceManufacturer=EPSON \
        -sDeviceModel=escp2-cx4800  \
        -sPAPERSIZE=letter \
        -sOutputFile=- - && exit 0
exit 2


======
Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all his works are truth, and his ways are justice; and he is able to bring low those who walk in pride.
Daniel 4:37

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060726214235.852.qmail>