简体   繁体   中英

PHP Printing to continuousPaper Printer

I need to print to a printer which will have a fixed width but varying length(continuous roll) depending on the content. I have made my page settings in css making it the exact size I need (the width). My problem is that when printing it prints the part I want and then the roll just keeps coming out until ejecting. I have found that it is a problem of the paper size set in chrome and from what I have read there is no way to modifying it. My question is how can I overcome this problem?

The printer is connected to the pc running the software via USB (or wirelessly at times) but it will always be connected directly to the client. I guess I should make a .net listener app that I can somehow conenct to for printing but it still seems a bit slower in processing. What are my other choices?

please supply a preview of the html and css. Have you tried setting a max-height or height:100%; ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM