Package: gtk

Function gtk-printer-hard-margins

Lambda List

gtk-printer-hard-margins (printer)

Arguments

printer -- a gtk-printer object

Return Value

top -- a double float with the top margin
bottom -- a double float with the bottom margin
left -- a double float with the left margin in
right -- a double float with the right margin

Details

Retrieve the hard margins of the printer, i.e. the margins that define the area at the borders of the paper that the printer cannot print to.

Note

This will not succeed unless the details of the printer are available, see the gtk-printer-has-details and gtk-printer-request-details functions.
 

See also

2021-12-25