Download
Buy Prince
Samples
User Guide
Forum
Log in
/
Register
Forum
›
How do I...?
Specify page size on command line
codecrafter
27 Jan 2016
Is it possible to specify a page size via width and length on the command line? E.g.
--page-size="600px 600px"
mikeday
27 Jan 2016
Yes, Prince has --page-size and --page-margin options, both of which take values equivalent to the size and margin properties used in the @page CSS rule.