I am having a small problem with printing in Java. If I use the built in print dialog everything is working out okay, but as soon as I use PrinterJob.lookupPrintServices(); and choose the same printer as before it adds a margin of an inch!
The code below works just fine, and I can choose where I want the text end up on the paper. I am printing to a Zebra TLP 2844 printer. The imageable area has no affect here.
The code below adds a margin of 1 inch for no apparent reason, and it does not matter what I set the imageable area to.
Any suggestions on what the problem could be? How can I get passed the 1 inch margin?
Thanks [ May 10, 2005: Message edited by: Henrik Engert ]