Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Print on roll paper

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:

enter image description here

This is what I do not want. The length of the paper should be as height as the content. The content is dynamic.

like image 748
Chris Avatar asked May 15 '15 13:05

Chris


People also ask

How do I get my Epson printer to roll paper?

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.

How do you print continuous rolls of paper?

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.

Can regular printers print on photo paper?

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.


1 Answers

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: enter image description here

like image 148
enhzflep Avatar answered Oct 01 '22 19:10

enhzflep