I want to print on a roll paper from chrome. The length of the paper seems to be static, so that roll paper can not be used effectively.
E.g. if we print "Hello world" from:
<html>
<body>Hello World</body>
</html>
It will print like 27cm length of paper (because paper format is set to A4). Is there a CSS-trick to have a dynamic height in chrome?
Update
I am not looking for a one-time configuration for a specific length. I am searching for a dynamic page height. Firefox and IE are able to print dynamically, but the chrome virtual print driver seems not to be.
Update 2
Just to make it more clear:
This is what I do not want. The length of the paper should be as height as the content. The content is dynamic.
Make the appropriate Media Type, Color, and Mode settings. Select Roll Paper Option from the pop-up menu. Make the appropriate Roll Paper Option setting. Click Print to start printing.
Select Roll as the Source setting under Paper Options on the Main menu. Make the Options settings in the Roll Paper Options dialog box. The following Options settings are available. Select this mode when you want to print multi-page data continuously rather than as individual pages.
You can, in theory, use almost any home printer to create black-and-white or color prints. Most printer software products include custom settings that will change the resolution of your print job to make them near perfect for photos.
Assuming MS Windows as the host environment for the browser, you can tell Chrome to print using the System Print Dialog, you can select the target printer, and set the Preferences. If you then hit the Advanced button, you can select PostScript Custom Page Size and from there, set the size of the'page' it has an option for Continuous Roll paper and allows one to set a page height of up to 5.08 meters.
Here:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With