Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set paper size #492

Closed
BartVanderDonck opened this issue Jun 30, 2022 · 1 comment
Closed

Set paper size #492

BartVanderDonck opened this issue Jun 30, 2022 · 1 comment
Assignees
Labels
question General usage question

Comments

@BartVanderDonck
Copy link

Hello,

When we print a PDF-file that was generated by htmldoc, the print window displays 8.5 x 11 inch by default. That is the standard paper format in the USA. But in Europe, we are using the A4 letter format .

Is there a way in htmldoc to set the print window to A4 by default ? Now we need to change it every time by hand.
unnamed

Thank you, Bart

@michaelrsweet
Copy link
Owner

@BartVanderDonck Note that HTMLDOC has zero control over the print experience on a given platform. Without knowing the PDF file you are trying to print, it is impossible to provide any guidance, but normally the print dialog will show either the locale default size or the ready (loaded) media size closest to the PDF dimensions.

The default output size for HTMLDOC is a so-called "universal" size (8.27x11in - A4 width and US Letter height) that can print without scaling on either A4 or Letter. You can force A4 size with the --size a4 option or corresponding comment string.

@michaelrsweet michaelrsweet added the question General usage question label Jun 30, 2022
@michaelrsweet michaelrsweet self-assigned this Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General usage question
Projects
None yet
Development

No branches or pull requests

2 participants