I am able to print the esc character directly using MicroFocus NetExpress cobol, by assign the printer
"select out-file assign to printer "\\server\printer"
without changing anything else this worked.
Moving from Microfocus to Fujitsu and have many standard COBOL i/o reports that print directly to a printer. I have coded many HP PCL5 control commands in a copybook. To change a font, I just write the "print-record from choose-font-2".
choose-font-2 has the ESC character X'1B' in it...
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.