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

US page sizes not listed, even if uncommented #7

Open
jimbolaya opened this issue Dec 7, 2021 · 1 comment
Open

US page sizes not listed, even if uncommented #7

jimbolaya opened this issue Dec 7, 2021 · 1 comment

Comments

@jimbolaya
Copy link

I'm running this on apache2 2.4.38 and PHP v7.4.

In incl/config.php, if I uncomment the

add_page_size('US Letter', 216, 279);
add_page_size('US Legal', 216, 356);
add_page_size('US Ledger', 432, 279);
add_page_size('US Tabloid', 279, 432);

lines, they don't show up in the drop down menu for "Page Size". I've set the $DEFAULT_PAGE_SIZE = 'US Letter'; it comes up as Custom in the drop down list. all the other A sizes do show up.

@jimbolaya
Copy link
Author

OK, I figured out my own answer.

Somewhere in the documents, it mentions it wont show sizes outside the $MAX_SCAN_WIDTH_MM
or $MAX_SCAN_HEIGHT_MM.

The real answer is it wont show page sizes outside $PREVIEW_WIDTH_MM or $PREVIEW_HEIGHT_MM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant