Printer Progress

I tried adding the control codes to allow a width of 255 characters that I mentioned yesterday to my ZBasic program.  At the beginning of the report I added an LPRINT CHR$(9);”255N” to no good end.

Then I remembered there is a setup section in ZBasic where you can send a control code to the printer or interface card.  I looked it up in the appendix for the ZBasic manual and there it was.  I entered the config program and chose the port 1 for the printer and then for control codes, I entered Control-I, 2, 5, 5, and N, followed by the ^ to exit.  This setup ZBasic to allow up to 255 characters in width on the printer.

 

Posted in Apple //c, Printers, Programming, Projects Tagged with: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*