TomLiotta
7990 pts. | Oct 26 2009 1:03AM GMT
…one has not found the device of printer PRT01.
BTW, the issue can probably be ignored by you even though it possibly also ought to be addressed at some point. Set the CRTPRTF to use GENLVL(20) and the discrepancy should be ignored by the command during compilation.
If PRT01 doesn’t exist as a printer device, you can always create it. It probably won’t ever be associated with a physical printer, but it will act as a model devise to create your printer files over.
Tom
Sylvana
180 pts. | Nov 6 2009 9:52PM GMT
HI EVERYBODY,
how make a write of printer file ?
is it correct this:
WRITE HIPM01R-RECORD FORMAT IS ‘HIPM01R’.
READ HIPM01 FORMAT IS ‘HIPM01R’.
MOVE M1COD TO M1COD-DSP.
MOVE M1COD-DSP TO R1COD-PRT.
MOVE M1DESC TO M1DESC-DSP.
MOVE M1DESC-DSP TO R1DESC-PRT.
WRITE HIPR01R-RECORD FROM PRINTER-LINE.
Splat
1050 pts. | Nov 10 2009 3:42PM GMT
Printer files are output only - doing a READ isn’t going to do you much good.






