google-code-export / jzebra

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

Extra blank page on laser printers #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. We are using printHTML 
2. Printed only "Hello World"
3.

What is the expected output? A single page that says "Hello World" What do you 
see instead? We are seeing 2 pages: First page contains "Hello World" and 
second is a blank page

What version of the product are you using? jZebra 1.4.3 On what operating 
system? Windows XP

Please provide any additional information below.

Thank you for your time and effort!

Ajay

Original issue reported on code.google.com by ajay.ar...@fiserv.com on 26 Oct 2012 at 1:15

GoogleCodeExporter commented 9 years ago
Can you provide a snippet of code and the dimensions of the paper you are using?

-Tres

Original comment by tres.fin...@gmail.com on 26 Oct 2012 at 5:24

GoogleCodeExporter commented 9 years ago
Hi Tres,
Attached, please find 3 files. 

Original comment by ajay.ar...@fiserv.com on 29 Oct 2012 at 11:48

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ajay.ar...@fiserv.com on 29 Oct 2012 at 11:49

Attachments:

GoogleCodeExporter commented 9 years ago
Tres,  The context of this issue is that we are attempting to print an image to 
a laser printer where we see the extra blank page.  We are makeing use of 
PrintHTML.

Thank you.
Ajay

Original comment by ajay.ar...@fiserv.com on 29 Oct 2012 at 11:52

GoogleCodeExporter commented 9 years ago
Thank you.

If you look at the usage from the wiki, you'll notice the HTML example is 
supposed to be formatted like so:

appendHTML("<html><h1>hello world</h1></html>");

http://code.google.com/p/jzebra/wiki/TutorialWebApplet#HTML_Printing

Can you try adjusting your code and recompiling?

Also make note that HTML printing is very limited and only recommended for 
basic use.

-Tres

Original comment by tres.fin...@gmail.com on 29 Oct 2012 at 8:04