This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: priniting module
 
Similar Threads
The Dish on Silicone Bakeware
WA #1.....word association
LOGO Contract Info
List Best Inventions
WA #2 ..... word association