May I ask what you are trying to accomplish? The information in this file gets loaded into system variables so your needs might be better served with a different approach.
From an OI proc I need to print(OIPI) to the printer with a 'silent' printer selection. i.e. Get the 'printer type' = RECEIPTS and retrieve the 'Name' to pass to set_printer INIT
..the OI proc is called from AREV64, so I assume the 'system variable' is only available from AREV64, if so, I would then have to pass to my oiproc when called. I have looked at Dave's (RIP) 'AREV COMPANION' and the relevant system variable is not jumping out at me (on first quick scan)
Comments
Thanks, sorry about that.
i.e. Get the 'printer type' = RECEIPTS and retrieve the 'Name' to pass to set_printer INIT
I have looked at Dave's (RIP) 'AREV COMPANION' and the relevant system variable is not jumping out at me (on first quick scan)
DECLARE FUNCTION GETCONFIGURE
ERROR = GETCONFIGURE(INFO)
PrinterNames = INFO<29>
PrinterPort = INFO<41>
and of course I could just use (yes found it ) @environ.set<92> & <93>
But, looks like GETCONFIGURE gives some other cool centralised information.