Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printer margin question  RSS feed

Henrik Engert
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?

[ May 10, 2005: Message edited by: Henrik Engert ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!