I'm trying to print from Lyx, but running into trouble.  I followed the 
instructions in the Customization Manual, updating /etc/printcap as follows:

lp|Text printer:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/lp:\
        :lf=/var/spool/lpd/lp/errs:\
        :mx#0:sh:sf:

ps|Postscript printer:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/ps:\
        :lf=/var/spool/lpd/ps/errs:\
        :if=/var/spool/lpd/ps/ps.filter:\
        :mx#0:sh:sf:

I also created a filter in /var/spool/lpd/ps/ps.filter:

#!/bin/sh
/usr/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=ljet4 -sOutputFile=- -

I can print successfully from Konqueror and Mozilla using CUPS.  I can also 
print from Konsole with the lp command.  If I print to a file in Lyx, then 
view the file with Ghostview I can print from Ghostview.  But I don't know 
how to print from Lyx.  I've used "lp" "lpr" "cups" and "kprinter" where you 
specify the name of the printer in the "print to" section of the print dialog 
box.  Can't think of what else to try!

Thanks, 
Peter Christensen

Reply via email to