This is all good info. setting an output queue (CRTOUTQ) and creating a virtual printer device both are necessary but watch the system when upgrading to a new V***.
We’ve used RPM sucessfully with many of our clients. It puts the ease on us having to go out and always fix the 400 programming, plus it saves them cost of hiring out an AS400 programmer.
Check out RPM and the AS/400 printing queue.
There’s a really good (and short) article on how this is done on the Four Hundred Guru site.
In short there are 2 things you need to do:
- Setup an output queue (CRTOUTQ) – this will define the printer type and IP address of the remote device. In many cases this is all you need to do, however there are some things that need a device name, so if that’s your issue, then
- Create a virtual printer device (CRTDEVPRT) using *VRT. This will associate a printer device with the remote outq that you created in step 1. Normally this step would create the output queue as well, but because we are using a virtual printer, we want to do it manually as in step 1. The article above notes that you may get an error message indicating that the outq already exists… That’s OK, because it does, but the device will still be created.