Generated PDF has different document and page size.
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Sat Feb 14, 2009 2:14 am
Generated PDF has different document and page size.
I want to transform a DOCBOOK xml file to a PDF which has a size of 6'' x 9''. When I do this, I do get a document that has a document size of 6'' by 9'', but which has a different page size, which happens to be size at which the document will be printed. So my PDF has the wrong size.
What can i do to make the page size 6'' by 9'''?
I have Oxygen 8.2.
I did this:
- change the builtin tranformation parameters for Docbook PDF to the following:

- do the transformation. Now i get this in Adobe PDF reader (and also in Foxit):

The "document" has the appropriate format (in mm), but the "paper" does not. I don't get the difference.
Can anyone shed some light on this? What can i do to make my paper-size the right size?
------
Jan Willem Boer
What can i do to make the page size 6'' by 9'''?
I have Oxygen 8.2.
I did this:
- change the builtin tranformation parameters for Docbook PDF to the following:

- do the transformation. Now i get this in Adobe PDF reader (and also in Foxit):
The "document" has the appropriate format (in mm), but the "paper" does not. I don't get the difference.
Can anyone shed some light on this? What can i do to make my paper-size the right size?
------
Jan Willem Boer
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Generated PDF has different document and page size.
Post by sorin_ristache »
Hello,
You have the DocBook parameter paper.type set to US Letter which has other sizes. You need the C4 paper type which is 9in x 6in. That means you have to set the paper.type parameter to value C4.
Regards,
Sorin
You have the DocBook parameter paper.type set to US Letter which has other sizes. You need the C4 paper type which is 9in x 6in. That means you have to set the paper.type parameter to value C4.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service