We’ll be discussing proportional character widths in detail later in this chapter; for now, we’ll leave it at 11. The descender data was discussed earlier: to use the top eight pins, this bit should be 1; to use the bottom eight pins this bit should be 0. Figure 9-10 shows the bits of the attribute byte as we’ll use them for our flask character. By now you’ve probably seen an easier way to determine the value of the attribute byte. Instead of translating everything to binary, merely assign the descender data a value of 128 (the value of the first bit) if you dont’t want descenders, or 0 if you want descenders. Then just add the descender data to the proportional width. This way, it’s simply a matter of adding two decimal numbers. (In our case, it’s 128 + 11 = 139.)

0 000 1011 = Il(decirnal) /

DescenderStartingEnding

data print column print column

Figure 9-10.The attribute byte (m0) for our flask character.

You’ll probably recognize ml...mlZ from the top of our layout grid. That’s right, each column is described by one byte. Now we’ve got everything we need to download one character to the printer. The complete command for our flask character with the STAR mode is shown in Figure 9- 11.

~R$(27)CHR$(42)CHR$(l)CHR$(~6~)CHR$(~6~)CHR$(~~~)

Escape *1 nl n2 m9

CHR$(2)CHR$(5)CHR$(8)CHR$(241)CHR$(@)CHR$(@)

ml m2 m3 m4 m5 m6

CHR$(24l)CHR$(8)CHR$(5)CHR$(2)CHR$(@

m7 m8 m9 ml9 ml1

Figure 9-11. This is the complete command to send our flask character to the SG-lo/15 printer.

Now let’s send the information to the printer. But, before you send the information, be sure that the DIP switch l-5 is set off position. If not, set it correctly while the power is off, then, turn the power on again. The following program will send the character definitions for all three characters with the STAR mode to the

printer. Enter the program and run it.

___----__-

_-

-

-

-

90

Page 98
Image 98
Star Micronics SG-15, SG-10 user manual 000 1011 = Ildecirnal

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.