Command line control of: "kprinter".

Goffioul Michael goffioul at imec.be
Tue Mar 23 11:55:27 CET 2004


> Thank you for your assistance.
> 
> OK, so I tried this in HEAD:
> 
> 	kprinter --nodialg -P "Print to File (PDF)" test.ps
> 
> This results in a dialog popping up to ask me for the name of 
> the output 
> file.  This isn't going to work.  I need to be able to 
> specify the output 
> file name on the command line or to tell it to use the input 
> file base name 
> and change the extension to 'pdf'.

This case is not forseen. Note that if you just want to convert
a PS file to PDF, then the easiest is to use ps2pdf directly
(which is kprinter does anyway).

Michael.


More information about the kde-print mailing list