File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes priniting module Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "priniting module" Watch "priniting module" New topic
Author

priniting module

pisal rahul
Greenhorn

Joined: Mar 02, 2001
Posts: 5
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

Joined: Sep 29, 2000
Posts: 8521
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.


"JavaRanch, where the deer and the Certified play" - David O'Meara
pisal rahul
Greenhorn

Joined: Mar 02, 2001
Posts: 5
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

Joined: Jan 07, 1999
Posts: 6920
Questions about the Printing API are generally better asked in the "Other Java APIs" forum, so I've moved this post.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: priniting module