Forum How do I...?

Specify page size on command line

codecrafter
Is it possible to specify a page size via width and length on the command line? E.g.

--page-size="600px 600px"

mikeday
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.