[opensuse] printing to file with cups
A very long time ago, I used to create a printcap entry to print to a file (and have postscript file in result). Do you know how to di this with cups. alternatively, how can we create a _pdf_ printer (print to a file, from command line). cups-pdf is _not_ part of openSUSE AFAIK (I know, I can compile it...) should be enough to be able to print to kprinter from console a workaround is to view the file in konq and print it from there, but I like CLI :-) thanks jdd -- http://www.dodin.net Lucien Dodin, inventeur http://lucien.dodin.net/index.shtml -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Mar 27 16:22 jdd wrote (shortened):
... I used to create a printcap entry to print to a file (and have postscript file in result). Do you know how to di this with cups.
Have the line FileDevice Yes in /etc/cups/cupsd.conf and restart the cupsd, then do lpadmin -p tofile -v file:/tmp/file.ps -E \ -P /usr/share/cups/model/Postscript.ppd.gz Of course each subsequent print job overwrites /tmp/file.ps but for a single user system it should be o.k. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Johannes Meixner wrote:
Hello,
On Mar 27 16:22 jdd wrote (shortened):
... I used to create a printcap entry to print to a file (and have postscript file in result). Do you know how to di this with cups.
Have the line
FileDevice Yes
in /etc/cups/cupsd.conf and restart the cupsd, then do
lpadmin -p tofile -v file:/tmp/file.ps -E \ -P /usr/share/cups/model/Postscript.ppd.gz
Of course each subsequent print job overwrites /tmp/file.ps but for a single user system it should be o.k.
I couldn't make this solution work, but have found some and documented them here: http://en.opensuse.org/Printing_to_file_with_CUPS jdd -- http://www.dodin.net Lucien Dodin, inventeur http://lucien.dodin.net/index.shtml -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
jdd
-
Johannes Meixner