kprinter cli + preview

Till Kamppeter kde-print@mail.kde.org
Wed, 06 Nov 2002 22:54:02 +0100


I suggest that kprinter auto-detects whether the input is PostScript (by 
reading the first few lines and buffering them) and this way decide 
whether to enable the "preview" button.

    Till


Kurt Pfeifle wrote:
> fab wrote:
> 
>> My problem : I don't have the preview option in the kprinter window 
>> when I use it with the command line (typically > kprinter test.ps ). 
>> Is it normal ?
> 
> 
> Currently yes. This is by design. Preview only works with PostScript 
> input files.
> Michael argued that it is only guaranteed to be PostScript, if kprinter 
> is started
> from within a KDE application (which will generate PostScript as print 
> output).
> 
> However, I'd support to enable the preview option from the comand line too.
> (Possibly with an extra switch like "--enable-postscript-preview"...).
> 
> I'm glad you are joining my forces...  ;-)   Now we need a few more 
> arguments
> to convince Michael....
> 
> Cheers,
> Kurt
> 
> 
> _______________________________________________
> kde-print mailing list
> kde-print@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kde-print
> 
>