From kde-print Mon Aug 19 09:45:49 2002 From: Michael Goffioul Date: Mon, 19 Aug 2002 09:45:49 +0000 To: kde-print Subject: Re: Page Size of HP Deskjet X-MARC-Message: https://marc.info/?l=kde-print&m=102975048912770 > hi, > > After playing some more around with the ImageableArea of the PPD file with no > expected effect, I made a workaround by creating a pseudo printer, which puts > the print output of a KDE application through pstops and after sends it to > the printer.This shows now the expected results. > > Is there a documentation about all the parameters (like %in, %out) of > kprinter? Not yet. The basic recognized tags are: %in : the input file %out : the output file %psl : the paper size in lower case (letter, a4, ...) %psu : the paper size with the first letter as uppercase (Letter, A4, ...) You can also have more advanced features by using the XML commands, and the command builder. The 3 recognized tags are then: %filterargs : replaced by the user-selected options %filterin : the input data (file or pipe) %filterout : the output data (file or pipe) Each IO spec has 2 forms, whether it's associated with a file or a pipe. For example, using ghostscript, output to a file would correspond to '-sOutputFile=%out', and to a pipe '-sOutputFile=-'. Finally, for each user-selectable option, you can use the tag %value that will be replaced by the actual choice of the user. But the best is to look at an example, like the ps2pdf filter. Bye. Michael. -- ------------------------------------------------------------------ Michael Goffioul IMEC-DESICS-MIRA e-mail: goffioul@imec.be (Mixed-Signal and RF Applications) Tel: +32/16/28-8510 Kapeldreef, 75 Fax: +32/16/28-1515 3001 HEVERLEE, BELGIUM ------------------------------------------------------------------ _______________________________________________ kde-print mailing list kde-print@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-print