How to print Legal size page usinf FOP
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Wed Dec 28, 2005 9:07 pm
How to print Legal size page usinf FOP
Post by gvivekkumar »
Hi all,
Currently I am using FOP to generate my PDf but by default page print is A4.
I don't know how to direct printer to print in legal size. Please help me,.
Thanks
Vivek
Currently I am using FOP to generate my PDf but by default page print is A4.
I don't know how to direct printer to print in legal size. Please help me,.
Thanks
Vivek
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Hi Vivek
Each page type has a specified width and height.
For example Legal has 216mm width and 356mm height
Knowing this, in order to use these sizes your fo:simple-page-master declaration should contain something like this:
Hope this helps,
Regards, Radu.
Each page type has a specified width and height.
For example Legal has 216mm width and 356mm height
Knowing this, in order to use these sizes your fo:simple-page-master declaration should contain something like this:
Code: Select all
<fo:simple-page-master page-width="216mm" page-height="356mm"
margin-top="0.5in" margin-bottom="0.5in" margin-left="1in - 0pt" margin-right="1in">
Regards, Radu.
-
- Posts: 2
- Joined: Wed Dec 28, 2005 9:07 pm
Post by gvivekkumar »
Hi Radu,
By default it goes to A4 size paper. I have to change manually printer setting then it prints in legal format. I want when I print my form by deult it has to go to print legal seize.
Any feedback will be appreciable.
Thanks
Vivek
By default it goes to A4 size paper. I have to change manually printer setting then it prints in legal format. I want when I print my form by deult it has to go to print legal seize.
Any feedback will be appreciable.
Thanks
Vivek
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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