css - Print on roll paper -


i want print on roll paper chrome. length of paper seems static, roll paper can not used effectively.

e.g. if print "hello world" from:

<html> <body>hello world</body> </html> 

it print 27cm length of paper (because paper format set a4). there css-trick have dynamic height in chrome?

update

i not looking one-time configuration specific length. searching dynamic page height. firefox , ie able print dynamically, chrome virtual print driver seems not be.

update 2

just make more clear:

enter image description here

this not want. length of paper should height content. content dynamic.

assuming ms windows host environment browser, can tell chrome print using system print dialog, can select target printer, , set preferences. if hit advanced button, can select postscript custom page size , there, set size of the'page' has option continuous roll paper , allows 1 set page height of 5.08 meters.

here: enter image description here


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -