TOP AND BOTTOM MARGINS

Many programs that use a printer don’t keep track of where they are printing on the page. This causes a problem when you get to the bottom of a page because these programs just keep

on printing, right over the perforation. This makes it very hard to read, especially if a line happens to fall right on the perforation. And if you separate the pages then you are really in trouble.

Of course SG- 10/l 5 has a solution to this predicament. SG- 10/l 5 can keep track of the position on the page, and advance the paper so that you won’t print too near the perforation. There are two commands to do this. One controls the space at the top of the page and the other controls the space at the bottom of the page. The control codes are given in the following table.

 

Table

6-4

 

 

Top and bottom margin commands

 

1Function

1Mode

1Control code

I

Settopmargin

STAR 1

< ESC >

“R” CHR$(n)

 

 

IBM

1

< ESC >

“r" CHRlXn)

 

Setbottommargin

STAR

 

< ESC >

“IV’ CHR!$(n)

 

 

IBM

 

<ESC>

“N” CHR$(n)

 

clcartot3andbdtomrflarbs

STAR

 

<ESC>

“0”

 

I

-

I

 

 

I

I

I IBM

-=ESC>

w-

I

In both cases the value of n tells SG- lo/15 how many lines to skip, although there is a slight difference in the usage. When you set the top margin with < ESC > “R” CHR$(n) in STAR mode, or with < ESC > “r” CHR$(n) in IBM mode, the value of n tells SG- IO/ 15 what line to start printing on. When you set the bottom margin with < ESC > “N” CHR$(n), the value of n tells SG-lo/15 how many blank lines should be left at the bottom of the page.

Let’s try a simple application to see how these margins work. Enter this program, which will print 150 lines without top and bottom margins.

10 'Demo top and bottom margins

20 LPRINT CHR$(12) ; 'Form feed.

30 FOR I = 1 TO 150

40 LPRINT "This is line" I

54)NEXT I

64)LPRINT CHR$(12) ; 'Form feed.

57

Page 65
Image 65
Star Micronics SG-10, SG-15 user manual TOP and Bottom Margins

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.