1 Backspace, delete, and cancel text

Backspace (CHR$(8)) “backs up” the printhead so that you can print two characters right on top of each other. Each time SG- 10/l 5 receives a backspace it moves the printhead 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 SG-10/15’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 SG- 10/l 5 prints one line of text at a time, only that line will be deleted.

The following program shows how these three codes work.

NEW

10 LPRINT "BACKSPACE DOES NOT";

20 LPRINT CHRS(8) CHRS(8) CHR$(8);

30 LPRINT "Z== wow"

44)LPRINT "DELETE DOES NOT";

50 LPRINT CHR$(127) CHR$(127) CHR$(l27); 60 LPRINT "WORK"

70 LPRINT "CANCEL TEXT";

84)LPRINT CHR$(24);

90 LPRINT "DOES NOT PRINT"

-

-

-

-

Here is what this program will print:

BACKSF’ACE DOES W@% WURt:::

DELETE

DOES WORK:

-

I’XIES

NC?T F’KINT

 

The backspace codes in line 20 move the printhead a total of

-.

three spaces to the left so that the first part of line 30 will overprint

 

the word “NOT”. The delete codes in line 50 “erase” the three

 

letters in the word “NOT” so that it doesn’t even print.

 

In line 80, CHR$(24) deletes the words in line 70. The semicolon

 

at the end of line 70 prevents a line feed from causing that line

 

to print before SG-lo/15 receives the CHR$(24) code. The text

 

in line 90 prints as it normally would because it is after CHR$(24).

 

W “Zero”

printing

 

Sometimes, you want to print “zero” with slash to distinguish

 

between “0” and “0”. Your SG-lo/15 can print either “0” or

 

“pl” as you

wish.

 

-

-

70

Page 78
Image 78
Star Micronics SG-15, SG-10 user manual Here is what this program will print

SG-10, SG-15 specifications

Star Micronics is a renowned name in the printing industry, widely respected for producing high-quality printing solutions. Among its impressive lineup, the SG-15 and SG-10 series stand out as versatile and powerful solutions, designed to cater to various business needs, especially in the realm of point-of-sale (POS) printing.

The SG-15 and SG-10 models are thermal printers that offer rapid printing speeds, which are critical in high-demand environments such as retail and hospitality. One of the main features of these printers is their compact design, making them easy to fit into various workspace setups without sacrificing performance. Users benefit from lightweight models that do not take up excessive counter space.

Another significant characteristic of these printers is their exceptional print quality. With a resolution of 203 dpi (dots per inch), the SG-15 and SG-10 produce crisp, clear receipts and labels, enhancing customer communication and satisfaction. This high-quality output is complemented by the printers' ability to handle a variety of media, including thermal paper and labels, making them versatile tools for different printing tasks.

Connectivity options are abundant with these models, as they support multiple interfaces, including USB, Ethernet, and Bluetooth. This flexibility allows businesses to integrate the printers seamlessly into existing systems, thus optimizing workflow efficiency. The versatility in connectivity also facilitates mobile printing solutions, enabling businesses to engage customers in real-time.

Durability is another hallmark of the SG-15 and SG-10 series. Built to withstand the rigors of busy environments, these printers feature robust construction that reduces the likelihood of breakdowns or maintenance issues. The long-term reliability not only ensures consistent performance but also contributes to reduced operational costs.

Moreover, the user-friendly design of the SG-15 and SG-10 makes them accessible for staff at all levels. Easy-to-navigate controls and intuitive setup processes minimize training time and enhance operational efficiency. Additionally, these printers come equipped with energy-efficient components, promoting sustainability in business practices.

In summary, the Star Micronics SG-15 and SG-10 thermal printers embody a blend of speed, quality, connectivity, durability, and ease of use. They are tailored to meet the diverse needs of modern businesses, making them an excellent choice for any organization looking to improve its printing solutions. With features that prioritize performance and user experience, these printers are a valuable addition to any POS system.