-
Notifications
You must be signed in to change notification settings - Fork 26
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
Question about Letter and Legal, Request for Tabloid #11
Comments
When I first added Letter I used 279 mm, but later when adding a bunch of other sizes, I borrowed the measurements from here https://github.com/cognitom/paper-css . Using millimeters is always an approximation with North American sizes. Do you see problems with the current values? Should I change millimeters to inches where appropriate (browsers/css should support that, too)? I'll add Tabloid in the next PR soon. edit: Funny. Now that I look code in paper-css, I see these kind of irregularities: body.letter .sheet { width: 216mm; height: 279mm }
body.letter.landscape .sheet { width: 280mm; height: 215mm }
body.legal .sheet { width: 216mm; height: 356mm }
body.legal.landscape .sheet { width: 357mm; height: 215mm } There might be some reason for that... |
Jani, |
Which of the final answers is 279 or 280? As for the Tabloid size, I do not want to increase the size any more, so I will not add it. |
Both of the sizes are only approximations, but the measures @scotthardwick suggested seem to be the ones normally used: https://en.wikipedia.org/wiki/Paper_size#North_American_paper_sizes . |
So, shall we change it to 279 mm? |
Yes, Letter 279 mm and Legal 356 mm. |
Nobuhito is there any logical reason not to? It should only be a few lines of code for those of us who have access to tabloid printers? |
Tabloid size is not available in any environment. As in the picture there is not in the environment of Japan. However, there are many other sizes in Japan. There are many other sizes. see https://www.princexml.com/doc/5.1/page-size/ |
Additional Information We are currently implementing a function to add arbitrary CSS. When it's complete
It may be possible to print with the flow. Please wait a while. |
@scotthardwick Fixed. Please update to version 3.0.0 and try it. |
@janilahti Thank you very much for your advice!! |
Hi Nobuhito,
Thanks so much for your work on this extension, it is very useful!
I have a question and a feature request:
I notice that for the Letter and Legal paper types your mm measurements are different than I am used to:
Letter 216mm x 279mm (I notice you use 280)
Legal 216mm x 356mm (I notiec you use 357)
Is there a reason for this?
Could you add support for Tabloid?
279mm x 432mm
Much Thanks!
Scott
The text was updated successfully, but these errors were encountered: