Ian Darwin <[email protected]> wrote:

> > Just for the Internet Archive. This is fixed in 6.8 release. Printing
> > works as expected. CUPS is not needed around here.
> 
> Not to complain, but curious: can you send any combination of plain text,
> postscript and PDF via lpd? If so, what input filter(s) are you using?
> 
> Thanks!

Hi Ian,

Yes, I can! 

oko# cat /etc/printcap
# Remote printer must use jetdirect since foomatic-rip doesn't speak LPD
rp|HL-5250DN:\
        :[email protected]:\
        :if=/etc/foomatic-rip/script_brother.sh:\
        :sh:sd=/var/spool/output/brother:\
        :lf=/var/log/lpd-errs:

oko# cat /etc/foomatic-rip/script_brother.sh
#!/bin/sh

/usr/local/bin/a2ps -BRq --columns=1 -o - | \
        /usr/local/bin/foomatic-rip -P HL-5250DN --ppd \
/etc/foomatic-rip/direct/brother-hl-5250dn-postscript-brother.ppd

predrag@oko$ head .xpdfrc
# Set the default PostScript file or command.
psFile                 "|a2ps -Prp -1 -s2"
psPaperSize            letter

# launch URLs in Firefox
urlCommand     "firefox-esr '%s'"

# launch movie annotations in mplayer
movieCommand "/usr/local/bin/mplayer %s"

Best,
Predrag



Reply via email to