Most computers, printers, and peripheral devices understand specific types of codes known as ASCII codes. ASCII (pronounced “ask-key”) stands for the American Standard Code for Information

Interchange. This standard code provides a common ground for computers and related devices to “talk” to each other, and transfer

data in a way that each can understand. And though there is an ASCII code for each letter, number, and symbol that we use(please

see Appendices C and E) you will probably not need to know them

for your day-to-day applications. However, you will want to use ASCII codes to activate the special functions of your printer, so let’s take a closer look at how they work.

Each ASCII code is available in a number of different forms for

programmers and software writers, as well as for those of us whose

main applications are word processing and spreadsheets. For ex- - ample, the code for each different function can be entered in both

its decimal and hexadecimal forms, as shown in Table 2-l below.

Table 2-1. Examples of decimal and hexadecimal codes.

FUNCTION

DECIMAL CODE

HEXADECIMAL

CODE

Select

the Draft-

 

 

 

Quality

Mode

27 53

1B 35

I

Decimal codes

The decimal code is a common representation of ASCII codes, and is used mainly for writing programs in BASIC. Decimal codes

are so named because their values are expressed using the

decimal-or “base IO”-numbering system. Although you may not

need them very often, we have included the decimal codes for each

-

of the printer’s functions, and you can find them in Appendix A of this manual.

If you are writing in BASIC, you will notice that we also provide _ the complete BASIC command used to “capture” each decimal code using the character string function, or CHR$. (For an in-depth look

at programming in BASIC, please turn to Section 6.)

Hexadecimal codes

The name for the hexadecimal code comes from its expression

using the hexadecimal-or “base 16”-numbering system. Hexa- decimal codes are used mainly by assembly language programmers, but they can come in handy when you’re “installing” any one of the printer’s functions into your word processing program. For example, if you use any other form of ASCII code as you install the “activate

superscript” function into WordStar, your software will respond by

displaying on your screen the equivalent of the code in its hexa- decimal form. Then, comparing the hexadecimal va!ue on the screen

18

-

Page 26
Image 26
Star Micronics SB-10 user manual Examples of decimal and hexadecimal codes, Decimal codes, Hexadecimal codes

SB-10 specifications

Star Micronics SB-10 is a versatile and innovative thermal printer designed primarily for receipt and label printing in various environments, including retail, hospitality, and logistics. Known for its compact design, the SB-10 is a go-to solution for businesses that require reliable and efficient printing capabilities.

One of the main features of the Star Micronics SB-10 is its impressive printing speed. With a rapid print speed of up to 300 mm per second, the SB-10 can handle high-volume printing tasks with ease, significantly reducing waiting times for customers and improving overall service efficiency. This feature is particularly beneficial in busy retail settings or fast-paced environments where time is of the essence.

The SB-10 also supports a wide range of media types, including standard thermal paper rolls and labels. Its ability to print both receipts and labels makes it a flexible option for various applications, from generating customer receipts to labeling products for inventory management. This multifunctionality enables businesses to streamline their operations and reduce the need for multiple devices.

In terms of connectivity, the Star Micronics SB-10 offers multiple options, including USB, Ethernet, and Bluetooth capabilities. This wide range of connectivity options ensures seamless integration into existing systems, allowing users to connect the printer to POS systems, tablets, and mobile devices without difficulty. Bluetooth connectivity is particularly advantageous for businesses that operate in mobile environments, as it enables printing directly from smartphones or tablets.

Another significant characteristic of the SB-10 is its user-friendly design. The printer features an easy paper loading mechanism, ensuring that replacing rolls is a straightforward process. Additionally, it includes an intuitive LED indicator that provides real-time status updates, allowing users to monitor the printer's performance at a glance.

The SB-10 is also designed with durability in mind. Its robust construction and high-quality components ensure that it can withstand the rigors of daily use. Moreover, the printer boasts energy-efficient performance, which helps to reduce operational costs—a vital consideration for businesses looking to optimize their expenditures.

Overall, the Star Micronics SB-10 stands out with its combination of speed, versatility, and user-friendly features, making it an ideal choice for businesses looking to enhance their printing capabilities while maintaining efficiency and reliability.