Is anyone aware of a way in Progress to embed Binary values into a text file? I am attempting to write PCL code for a color printer and need to imbed some values for commands as Binary values.
Use the CHR() function to build your PCL string as a char type variable, and then either use PUT CONTROL to send the PCL control string to the printer or embed the PCL control string in your printline. Consult an ASCII code table for the decimal value equivalent of your binary data.
For example, CHR(27) will give an ESCAPE character, the first character in all PCL control strings.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.