Question:
I want to receive a print job in RPM from an AS/400 without any printer control characters. Is this possible?
Answer:
The AS/400 setup instructions show how to receive data into RPM from the AS/400. The "Manufacturer type and model" OUTQ parameter are shown as *HP4. In a "text" type queue, RPM easily and effectively removes the PCL codes and then formats the data according to RPM's queue settings. If you are printing the data to a printer, this is the preferred option.
If you will be saving the file to disk, or invoking another application with the data, you can still remove the PCL codes with the *HP4. However, there is another option. Set the following parameters, along with ones found in the AS/400 setup instructions.
| Parameter | Setting |
| Host Print Transform | *YES |
| Manufacturer type and model | *WSCST |
| Workstation customizing object | QWPDEFAULT |
| Library | QSYS |
You will now get the data without specific printer codes embedded in the document.
Article 301-06
Issue: Data issues
Topic: AS/400 (i5/OS)
|