Star Micronics NB24-10/15 user manual Some miscellaneous commands

Models: NB24-10/15

1 133
Download 133 pages 41.98 Kb
Page 98
Image 98
Some miscellaneous commands

89

sheet. You can disable the paper-out detector so that it doesn’t stop the printer. This will allow you to print to the end of the sheet, and even beyond if you are not careful. The codes to con- trol the paper-out detector, along with the other codes that we have just looked at are in the following table.

Table 6-1

Some miscellaneous commands

Paper-out detector off

(ESC)

..8”

 

 

 

 

Paner-out detector on

I(ESC)

 

 

Move print head back one space CHR$@)

 

Delete last character sent

CHR$(127)

 

Cancel text in print buffer

CHR$(24)

 

Print

“slash zero”

(ESC)

“‘v” 1

 

Print

“normal zero”

(ESC)

“b” 0

 

,- ~---- ~~~ ~-~

,~

“i” 1

 

 

 

 

 

 

 

 

“i” 0

----A, .

 

 

 

-----,--.

nBackspace, delete, and cancel text

Backspace (CHR$@)) “backs up” the print head so that you can print two characters right on top of each other. Each time your printer receives a backspace it moves the print head one character to the left, instead of to the right. You can strike over multiple letters by sending more than one backspace code.

Delete (CHR$(127)) also “backs up” one character, but then it “erases” the previous character (it’s erased from your printer’s buffer, not from the paper).

Cancel text (CHR$(24)) deletes all the text in the print buffer; that is, in the line before the delete text command. Since your printer prints one line of text at a time, only that line will be deleted.

Page 98
Image 98
Star Micronics NB24-10/15 user manual Some miscellaneous commands