Re: Java printer selection
Hello pnvsgupta. Welcome to the Java Programming Forums.
It's hard for us to test this out. When you say you have had no luck, what happens? Does anything print?
Re: Java printer selection
For all the above 4 scenarios, printer is always printing from default tray.
I am not sure how to pick an appropriate tray through java program.
Re: Java printer selection
The HP LaserJet 8150 drivers had a strange quirk. The manual tray would only support printing image files. I was unable to resolve this issue at the time so I gave up on it. I considered writing a hack that converted the PDF's to PNG's but again, I gave up on that idea as it is deceptively complex. It is pretty safe to assume that the 9050 PCL 5e suffers the same problem.
If you do find a solution to this I would LOVE to hear about it.
Re: Java printer selection
Quote:
Originally Posted by
ChristopherLowe
The HP LaserJet 8150 drivers had a strange quirk. The manual tray would only support printing image files. I was unable to resolve this issue at the time so I gave up on it. I considered writing a hack that converted the PDF's to PNG's but again, I gave up on that idea as it is deceptively complex. It is pretty safe to assume that the 9050 PCL 5e suffers the same problem.
If you do find a solution to this I would LOVE to hear about it.
I could not able to resolve this issue using java print api, because of my project deadlines, I had to use acrord32.exe to print the pdfs by using Runtime.proc
Thanks