[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: FWD: (export to PDF) RE: Command line control of: "kprinter".
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-03-24 18:32:55
Message-ID: 200403241932.55725.nicolasg () snafu ! de
[Download RAW message or body]

On Wednesday 24 March 2004 07:31, James Richard Tyrer wrote:
> This appears to answer the question about direct export to PDF.

I suppose that you are discussing about bug #77847. 

I am sorry but I do not understand why using the command line tool kprinter 
would be relevant. But perhaps it is a misunderstanding that the main 
kdeprint class has the same name (KPrinter.)

The problem is that code cannot set a special printer for the class KPrinter. 
That is also what you seem to have found by the way of the command line tool 
kprinter.

So probably it remains to check how to use the "external program" feature of 
KPrinter. However instead of using ps2pdf, I would prefer using GhostScript 
directly (what kdeprint does too.)

Have a nice day!

>
> A slight addition needs to be made to 'kprinter' first.
> ---------------------------------------------------------------------------
>-
>
> > 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.
> _______________________________________________
> kde-print mailing list
> kde-print@kde.org
> https://mail.kde.org/mailman/listinfo/kde-print
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic