Margins in the printer properties

Goffioul Michael goffioul at imec.be
Wed Sep 28 13:28:39 CEST 2005


> Hi,
> what are the differences between the margin settings in the 
> text property page 
> and the margins that can be specified in the margin property page?
> Gwenview for example will always use the later, however 
> unlike the ones from 
> the text property page, they do not seem to come from the 
> ppd. I think this 
> will be problematic when the printer requires different margins.
> Is this the intended behaviour?

The text margins are used in CUPS when plain text is sent for printing.
In that case, CUPS converts it to PS, using the margins specified. The
margin values are just sent as-is without processing in KDE, and the
corresponding tab only appear in kprinter, not in the print dialog from
a KDE application. Those margins are in no way linked to the PPD.

The other margins are the margins used within a KDE application when
generating PS data to sent to CUPS. This means that a KDE app will get
as printable area the selected page size reduced by those margins. The
default values of these margins are taken from the PPD file (when
possible).

The second ones are the most important. The first ones are only used if
you want to send plain text to the CUPS server, which never happens within
a KDE application.

Michael.


More information about the kde-print mailing list