Re: reply:StarOffice,printing and dj, again!
tony mollica wrote:
>
> Jens. Here's a twist. I've attached a short text file clipped from
> the Linux Printing Howto. Apparently, the input filter is not run
> when printing to remote printers. The clip describes setting up a
> double print queue in order to run the input filter, but still no
> luck. I'm not sure I understand what needs to be done to make the
> double queue work properly. Have you seen any setup like the one in
> the clip before?
Ah, now it all makes sense. Set up /etc/printcap like this:
lp|hp|hp870|HP870Cse:\
:lp=/dev/null:sd=/var/spool/lpd/hp870:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/usr/sbin/dj550c-filter-2-hp870-real:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:
hp870-real:
:lp=/dev/null:sd=/var/spool/lpd/hp870-real:\
:sh:rm=192.168.1.1:rp=hp870:
Now you'll create a script, call it /usr/sbin/dj550c-filter-2-hp870-real
and make it like so:
#!/bin/bash
/usr/sbin/dj550c-filter $* | lpr -Php870-real -U$5
You also need to do this:
mkdir /var/spool/lpd/hp870-real
chown lp.lp /var/spool/lpd/hp870-real
chmod 775 /var/spool/lpd/hp870-real
Then restart lpd and you should be in business!
--
Jens B. Jorgensen
jjorgens@bdsinc.com
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: