will add the line feed for you. When you have DIP switch 2-3 off the printer will do the same thing when it receives a carriage return as it does when it receives a line feed.

If you find that your printer double spaces when it should single space, then you probably need to turn DIP switch 2-3 on.

 

Table

6-1

Line

feed commands

Function

Mode

Control code

Return print head to left margin

STAR

CHR$( 13)

 

IBM

CHR%(13)

Advance paper one line

STAR

CHR$( 10)

 

IBM

CHR$(lO)

CHANGING LINE SPACING

When you turn SG-lo/15 on the line spacing is set to 6 lines per inch. This is fine for most printing applications, but sometimes you may want something different. SG-lo/15 makes it easy to set the line spacing to whatever value you want.

Try this program with STAR mode to see how easy it is to change the line spacing:

NEW

10 FOR I = 1 TO 25

20 IF I = 13 THEN 50

30 LPRINT CHR$(27) "A" CHR$(I);

40 LPRINT "This line spacing is set to" I

50NEXT

60 LPRINT "Line spacing is set to l/6 inch (normal)." _ - 70 LPRINT CHR$(27) "2"

Line 30 changes the line spacing. The command < ESC > “A” CHR$(n) changes the line spacing to n/72 of an inch. The loop that is started in line 10 increases the value of y1(the variable I in the program) each time it is executed. So the line spacing in- creases as the program continues. Line 20 just shortcuts the loop when I = 13, since BASIC won’t let us send CHR$( 13) without adding an unwanted CHR$(lO) to it. Finally, the < ESC > “2” in line 60 resets the line spacing to 6 lines per inch. This is a shortcut that is the same as < ESC > “A” CHR$(12).

50

Page 58
Image 58
Star Micronics SG-15, SG-10 user manual Changing Line Spacing, If I = 13 then

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.