Printing from a batch Java job -


There is some research done on this topic, but no relevant answer was found. What I need to do is to print several PDF files, one of three forms, which is loaded in different trays of a particular printer. I need to specify which printer will use and this is not the default printer. In addition, I need to specify which tray to use on the basis of the characteristics of each PDF file, and both of them at run time Be able to switch between The Java print service is only interested in local default printers. I appreciate any suggestion for how to accomplish this work.

The printer does not allow API to speak to the printer other than the default saying that it We have to write JNI layer in our shop which is directly talking in the print queue of windows and we use it. If you want better control with the PrintService API, you will need to write a JNI layer and access to Java.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -