laravel-dompdf icon indicating copy to clipboard operation
laravel-dompdf copied to clipboard

How to make multiple height per page using thermal printer?

Open agitnaeta opened this issue 2 years ago • 3 comments

basically we can user ->setPaper(array(0,0,298,420), 'potrait') -> for example single pages, But if we use thermal printer, they don't have paper height , its kind of rolling paper

so if we want to print multiple pages and dynamic height for example on page 1: 200pt on page 2: 300pt etc

So how we can use this library for this condition ?

agitnaeta avatar May 13 '22 08:05 agitnaeta

Normally for thermal printers ESC/POS is used, with that the printing stops and the command to cut the paper can be sent, any height

PaolaRuby avatar May 18 '22 22:05 PaolaRuby

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf. If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.

stale[bot] avatar Jul 31 '22 04:07 stale[bot]

i think we should have this feature, because its only following first page for example

  1. 300px height
  2. (need 400 height) but it cut on 300px height because its following first page

agitnaeta avatar Aug 01 '22 05:08 agitnaeta