Register / Login
Other JSE/JEE APIs
Printing / Document Name
posted 12 years ago
Working on a simple print "thingy" and for some reason, I cannot change the name of the document that shows up in the printer object from the very helpful/descriptive 'My Document' (default).
(Win2000,SDK 1.4, printing to locally defined Windows printers)
I cannot seem to set the 'Copies', either ...
I've used different Hash sets and the appropriate 'objects' (I think?), including "JobName" - AttributeSet, and "DocumentName" in the PrintRequest Hash set ...
Basically, opening a file (PDF) and setting the flavor to AUTOSENSE (to simply get the data to the "hold" area/printer object ... )
PLEASE tell me I am missing something obvious ...
How do you print to the non default printer?
Java Print Service API!!!(File not printed)
Printing to a line printer
Printing Error while printing txt file