Programming Samples
Example 1: printer.print chr$(130);
causes a 100 ms pulse to be sent to open cash drawer 1
Example 2: printer.print chr$(149);
sends a Line Feed to the printer
Example 3: PRINT #1, chr$(154);
causes any subsequent bar codes to be
printed with font A HRI characters below
the bar code
Example 4: printer.print chr$(27);"c1";chr$(8);
switches the 370 to validation mode
printer.currentx = 0 sets character
count to 0
Example 5: printer.print chr$(27);"c1";chr$(4);
switches the 370 back to slip mode
printer.currentx = 0
Example 6: printer.print chr$(149);
sends a Line Feed to the printer
Cutters are activated by using the " End doc " command