Hi there I have a little problem with my Swing application. I'm trying to print a String to my default printer using PrintService, and it does not work, either from my Mac or my PC.
On my Mac i get the following (and yet nothing is printed)
On my PC i get the following (same code, same default printer found):
As you can see, for the Mac, the printer is found, and it is even said that the job has been printed. BUT nothing is printed. Yet my printer works, i can print something from Word for example. For the PC i don't understand why the flavor is wrong...
Hey I'm still working on my problem, so as soon as i find an answer i'll let you know (as a matter of fact i havent had time yet to try what someone suggested me, i.e. put DocFlavor flavor=DocFlavor.INPUT_STREAM.AUTOSENSE)... About your problem, do you have any log regarding your listners? do they print something?
OK i'm moving forward a bit but my config is not helping. I'm usually developing using my Mac but all the users are under PC. So, seeing all my problems i decided to try this as well on PC. And with the same test code