Connecting Tech Pros Worldwide Forums | Help | Site Map

Printing Unix to Windows getting all the printers from the Windows machine

Newbie
 
Join Date: Oct 2007
Posts: 4
#1: Oct 3 '07
Hi,

My application prints Unix to Windows using the name of the machine and a generic virtual printer, but now I need to do some improvements, and I really don't know if it is possible to do what I've been asked to.
A browsable page (jsp, html, applet, whatever) has to show all the available desktop printers and print a document that can be a .prn or a .pcl to the chosen printer.
I've done a pilot project just to check what happens in Windows and what happens in Unix.
when the server is Windows, everything works just fine, but when the server is Unix, of course, I get the " javax.print.PrintException: Printer is not accepting job.at sun.print.UnixPrintJob.print(UnixPrintJob.java:295 )" error.

Is it possible to do something like this with only free software or I rather abandon the idea and face the users reaction? (upps!)

Dököll's Avatar
Moderator
 
Join Date: Nov 2006
Location: Upstate NY - US
Posts: 2,268
#2: Dec 24 '08

re: Printing Unix to Windows getting all the printers from the Windows machine


Greetings Ozzi!

This sounds quite fetching; care to post your code on this. Most of us are just passing through, you code wil help at quick glance.

Hope you found what you're looking for:-)
Reply