Command line control of: "kprinter".

James Richard Tyrer tyrerj at acm.org
Wed Mar 24 07:17:54 CET 2004


Goffioul Michael wrote:
>>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).

Thanks.  That answers my question.  This functionality probably needs to be 
added -- at least it appears that if a KDE application were to call this 
that it should use 'kprinter' rather than directly call 'ps2pdf'.

--
JRT


More information about the kde-print mailing list