How to get PSF Settings in an AS400 Server using Java

拈花ヽ惹草 提交于 2019-12-12 03:03:23

问题


I am a newbie in this site but I know anyone here can help me on this problem that I have now. I used to program Java using JDK7 and now I am facing this JTOpen API for AS400-Java interface but my problem now is how to get all the PSF Setting of my Device Description of a certain Writer?

Thanks in advance guys....

Please help.....


回答1:


Check out the print API's at http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/print1a.htm

If you can find an API that provides the information you are looking for, it shouldn't be hard to invoke it from java.




回答2:


Some of that information is available in com.ibm.as400.access.PrintObject but not all. I'd write a wrapper program/procedure over the Retrieve AFP Information (QPQRAFPI) API, and use JT400 to call that. The equivalent CL command is WRKPSFCFG.



来源:https://stackoverflow.com/questions/10698472/how-to-get-psf-settings-in-an-as400-server-using-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!