Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other JSE/JEE APIs
Java Print Service to UNC Name
Roger Salinas Robalino
posted 11 years ago
Please could anyone indicate me how can I get the UNC printer shared-name as Active Directory understands from an javax.print.PrintService object and viceversa. For example:
I have a shared printer named like this:
\\<server>\HP LaserJet 2200 Series.
Its shared-resource name is:
I need to obtain one name from another in order to make some validations, such as:
lookupPrintServices returns me an array with an object with the 1st. name within.
But I need the second name to pass it as parameter to a program.
Otherwise, I need to get the 1st. name from the 2nd. given before.
Thanks for any help.
posted 9 years ago
Does anybody know how to solve it?
I'm passing through the same problem...
Hold that thought. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
Boost this thread!
Printing API Question
Struts Validation in Spring Context
Regarding the conversion of local machine path
my servlet can't initialize: null