40 LPRINT CHR$(27) CHR$(69);

‘SELECT EMPHASIZED

50 LPRINT “THIS IS EMPHASIZED PRINTING”

60 LPRINT CHR$(27) CHR$(‘Il);

‘SELECT DOUBLE-STRIKE

70 LPRINT “AND THIS IS BOTH AT ONCE”

80 LPRINT CHR$(27) CHR$(72) CHR$(27) CHR$(70);

‘CANCEL DOUBLE-STRIKE AND EMPHASIZED

90 LPRINT “NOW YOU’RE BACK TO NORMAL PRINTING”

THIS IS DOUBLE-STRIKE PRINTING

THIS IS EMPHASIZED PRINTING

AND THIS IS BOTH AT ONCE

NOW YOU’RE BACK TO NORMAL PRINTING

Figure 6-2. Double-strike and emphasized print in BASIC.

Underlined printing

Underlining is another good way to emphasize a point, or to highlight sections of text. Try this short program to give you an il- lustration of underline feature.

NEW

10 LPRINT CHR$(27) CHR$(45) CHR$(l);

‘SELECT UNDERLINE

20 LPRINT “LADIES AND GENTLEMEN, ” ;

30 LPRINT CHR$(27) CHR$(45) CHR$(O);

‘CANCEL UNDERLINE

40 LPRINT “ START YOUR ENGINES!”

Your results should look like this:

LADIES AND GENTLEMEN, START YOUR ENGINES!

Figure 6-3. A print sample of underlined text.

In thissample, the underline feature is turned on with thecommand CHR$(27) CHR$(45) CHR$(l), and turned off with CHR$(27) CHR$(45) CHR$(O). You’ll notice that we did it all on one line. You

can do this simply by adding-as we did-semicolons at the end of the appropriate lines. This tells BASIC to continue those lines without sending a carriage return/line feed at the end of each line.

We did this just to illustrate that most of the printer’s codes can be used in the middle of a line.

49

Page 57
Image 57
Star Micronics SB-10 user manual Underlined printing, Ladies and GENTLEMEN, Start Your Engines

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.