Printing options

Michael Goffioul goffioul at imec.be
Mon Oct 20 11:19:04 CEST 2003


> I would guess that the problem is that the Qt PostScript driver is 
> embedding the image in a PS file and leaving the job of scaling it to 
> the printer resolution to the printer.  Actually, this is the correct 
> way to do it in some cases.  But, the processor in you printer takes a 
> long time to scale the image.
> 
> By converting it to the resolution of the printer using: "ps2ps" with 
> the faster processor on your system, it is much faster.
> 
> So, this *is* a KDE Print issue.  Should KPrinter be aware of the 
> resolution of the printer and use the Qt PostScript driver to make a PS 
> file with that resolution.

In the end, the resolution used in the PS file is determined by the
application itself (look into QPrinter/KPrinter constructor). KDEPrint
provides since a few months a mechanism to propagate the resolution
extracted from the driver up to the application, but to my knowledge,
no application uses that feature.
OTOH, this feature only works with Foomatic drivers, and some *fully*
Adobe-compliant PPD files (and there aren't that much out there). Here
you enter the wonderful world of printer-manufacturers-provided PPD
files, where every manufacturer uses its own "standard" and it's
often impossible to know the printer resolution (for example if the
PPD file uses keyword like "Draft/Normal/Photo").

So basically, what you describe already exists in KDEPrint, but the
application has to use it.

Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul at imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------




More information about the kde-print mailing list