[Webinar] Streamline your web hosting managementRegister Today


Java1.1.7 Printing-Rush please

Posted on 2000-01-04
Medium Priority
Last Modified: 2010-04-01
I want to know how the property is being set in the printer
ToolKit toolKit = Toolkit.getDefaultToolkit();
Properties p=new Properties()
PrintJob printJob = toolKit.getPrintJob(this, "New Printing", p);
In all the examples i could find the propery is set to null or just put an instance as i have put right now.I want to know how to set the property,and how all are these properties is going to affect the printing.For example in some of the codes i found "p.put("java.awt.print.orientation","landscape")but in java1.1.7 there is no such package,then how could we set the properites to the printer.
Please give me a detailed answer for this question.

With best regards
Question by:Priyan
LVL 16

Accepted Solution

heyhey_ earned 200 total points
ID: 2322412
Printing is quite buggy in JDK 1.1. you probably can't do what you want - check the JavaSoft Bugs database.

Author Comment

ID: 2335793
Thanx heyhey i checked th bug data base and came across this http://developer.java.sun.com/developer/bugParade/bugs/4036068.html   
Thanx for your suggestion
happy 2000

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month7 days, 22 hours left to enroll

608 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question