ilysander / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

setPaperSize for Plain HTML not working ? #228

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am not able to set 'setPaperSize' for printing plain HTML??

Original issue reported on code.google.com by meul.p...@gmail.com on 9 Nov 2014 at 2:03

GoogleCodeExporter commented 8 years ago
Correct, this functionality has not yet been implemented for plain HTML.

The plain html code is here:
https://github.com/qzindustries/qz-print/blob/1.8.0/qz-print/src/qz/PrintHTML.ja
va

The papersize code is here:
https://github.com/qzindustries/qz-print/blob/1.8.0/qz-print/src/qz/PrintPostScr
ipt.java#L109

If you need this functionality immediately, please feel free to make the 
appropriate changes and submit a pull request to GitHub.

-Tres

Original comment by tres.fin...@gmail.com on 13 Nov 2014 at 4:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
thnxz

Original comment by meul.p...@gmail.com on 13 Nov 2014 at 5:38

GoogleCodeExporter commented 8 years ago
> And one more thing can i continue printing 2-3 plain html one after another.

Only with a controlled loop where you wait for qzDonePrinting to be fired 
inbetween each one.

Original comment by tres.fin...@gmail.com on 13 Nov 2014 at 6:28