Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

priniting module

 
pisal rahul
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i modify the Margins(left, right, top and bottom) of paper and also the gutter of paper so as to use it for printing?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To do that you have to talk to your printer. Find the website for the vendor of the printer, look for the printer manual and find out what character stream to send to control the printer. You should be able to attach that sequence to the beginning of your print file and get the desired results.
 
pisal rahul
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cindy Glass:
To do that you have to talk to your printer. Find the website for the vendor of the printer, look for the printer manual and find out what character stream to send to control the printer. You should be able to attach that sequence to the beginning of your print file and get the desired results.

i want to show a preview to the user can I do it using the printerjob module?
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Questions about the Printing API are generally better asked in the "Other Java APIs" forum, so I've moved this post.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic