printing a file from cron using cups and/or lpd
Casey Callendrello
cdc2107 at columbia.edu
Wed Mar 24 12:38:01 EST 2004
The answer is pretty simple
>I use CUPS and KPrinter for my usual printing, but believe that I need
>to use lpr to print from a shell script. So, I tried lpr. Here is what
>
>
kprinter has a commandline mode that works much like LPD and should
solve your problems. The command switch --nodialog does just what it
says and makes it act like lpd. Just open a terminal and run kprinter
--help and it should explain everything you need. Your probable
solution will go something like this:
kprinter -d <printername> --nodialog filename.ps
also note that the --stdin argument will let you print from stdin.
--Casey.
More information about the gnhlug-discuss
mailing list