How to get PSF Settings in an AS400 Server using J

2019-09-06 20:28发布

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.....

2条回答
唯我独甜
2楼-- · 2019-09-06 20:44

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.

查看更多
甜甜的少女心
3楼-- · 2019-09-06 21:07

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.

查看更多
登录 后发表回答