I want to load a Physical File with Printer File field names and Data. Then read through the PF and populate the printer file field variable with the data from another field in the file. Then I can write the PrtF record with the variable data from the file.
PFfields: fLINE fCMD1 fRIGHT fDOWN fCMD2 fHEIGHT fWIDTH fCMD3 fDATA fCMD4
Corresponding data: pLine1 ^FO 0025 0050 ^A0N 0180 0065 ^FD Andersen ^FS; pLine2 ^FO 0025 0050 ^A0N 0180 0065 ^FD CUSTOM ORDER ^FS; pLine3 ^FO 0040 0210 ^A0N 0120 0045 ^FD DATALINE3 ^FS.
fLINE data: pLine1, pLine2, pLine3 are fields in the PRTF.
fLINE = fCMD1+fRIGHT+fDOWN+fCMD2+fHEIGHT+fWIDTH+fCMD3+fDATA+fCMD4;
but fLINE get changed from 'pLine1' to ' ^FO00250050'.
How do I get the values for fLINE [pLine1] to be taken as literals?
I will pass along the answer if I figure it out myself.