The only "legal" way that I can think of is jump to HP-GL/2 and use the comment command there. For example ...
pcltxt pcltxt<esc>%0B CO "This is a comment";<esc>%0A
The comment must be in quotes. When you return from the comment the cursor should be in the same location it was before the operation began. Make sure the ";" semicolon precedes the <esc>%0A
You're right. Normally the files will be printed on a PCL printer, but once in a while, the file will be printed to an epson printer. In this case the file will be converted to esc/p with awk. To do this the esc/p commands will be put inside the pcl comments and awk command will remove the pcl commands (comments included) and thus we will obtain an ESCP file .
The PCLCodes program that is included in the demo is probably the most useful tool you could use to debug the PCL that you are generating. And, PCLTool program saves paper in not having to print everything to test it out. You can view it on the screen instead.
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.