Background - In the process of converting an old Unix/Progress 6 system over to a Windows/Progress 10.2 system. Printers: HP1320n.
Unix:
In outputing stream to a file the following line of code is used: put stream outfile control printr.cpi17. cpi17 is a table field that contains the following escape codes: \027&k2S which sets the stream to cpi17. When we imported this table into the Windows environment the values came across as : \\027&k2S.
Windows:
Per Progress documentation Windows uses ~ as an escape character instead of \. I have hardcoded all kinds of sequences as part of the STREAM CONTROL PROCESS and can't get anything to change the stream output. Example: PUT STREAM OUTFILE CONTROL "~027&k2S"
Tried ~&k2S. ~033&k2S to no avail.
Can anyone tell me what to pass to the stream to set it to cpi17?
Unix:
In outputing stream to a file the following line of code is used: put stream outfile control printr.cpi17. cpi17 is a table field that contains the following escape codes: \027&k2S which sets the stream to cpi17. When we imported this table into the Windows environment the values came across as : \\027&k2S.
Windows:
Per Progress documentation Windows uses ~ as an escape character instead of \. I have hardcoded all kinds of sequences as part of the STREAM CONTROL PROCESS and can't get anything to change the stream output. Example: PUT STREAM OUTFILE CONTROL "~027&k2S"
Tried ~&k2S. ~033&k2S to no avail.
Can anyone tell me what to pass to the stream to set it to cpi17?