Alexander ten Bruggencate wrote:
> 
> I know this is not the "docbook" list but:
> 
> is there a way to set margins of a docbook document? the documents that
> my application makes (and that users edit in xxe) need to be printed on
> company paper.

If you print with XXE, you can specify the margins in the Page Setup
dialog box. (This setup should be persistent but, at least on Linux, the
margins are not restored at the beginning of each session. A Java bug?
I'll investigate about this.)

If you print using Norman Walsh's XSLT style sheets, use the following
stylesheet parameters:

      page.height - The height of the physical page
      page.height.portrait - Specify the physical size of the long edge
of the page
      page.margin.bottom - The bottom margin of the page
      page.margin.inner - The inner page margin
      page.margin.outer - The outer page margin
      page.margin.top - The top margin of the page
      page.orientation - Select the page orientation
      page.width - The width of the physical page
      page.width.portrait - Specify the physical size of the short edge
of the page
      paper.type - Select the paper type

etc.

For more information, see the documentation of Norman Walsh's  XSLT
style sheets: DocBook XSL Stylesheet Reference Documentation (
http://docbook.sourceforge.net/release/xsl/current/doc/ )

Reply via email to