Command line control of: "kprinter".

James Richard Tyrer tyrerj at acm.org
Mon Mar 22 05:32:31 CET 2004


I can't seem to figure out how to use KPrinter from the command line.

If you execute:

	kprinter --help

it says that you can choose the printer and the "mode":

Options:
   -c                        Make an internal copy of the files to print
   -P, -d <printer>          Printer/destination to print on
   -J, -t <title>            Title/Name for the print job
   -#, -n <number>           Number of copies
   -o <option=value>         Printer option
   -j <mode>                 Job output mode (gui, console, none) [gui]

The "-j none" option doesn't work, the dialog still pops up.

I was trying to use it to print to a PDF but I don't really know what the 
proper name for the <printer> is.  I tried PDF and 2.

I can't find any other documentation on this so I thought that I should ask 
before filing a bug report.

--
JRT


More information about the kde-print mailing list