and SG-IO/15 plotting the output, you can come up with some terrific business graphs, charts, and mathematical function plots.

The best way to do this is to set up an array in memory. This is your “graph paper.” The first thing to do is to determine how big you want your output to be; this will determine the size of your array. (If you have grandiose plans to fill an entire page with plotter output, you better have lots of memory in your computer. With 60 dots per inch horizontally and 72 dots per inch vertically, it takes at least 540 bytes of memory for each square inch of plotted area. That doesn’t sound so bad-but an area 8 inches square requires over 32K!)

Your array should be two-dimensional (just like graph paper) where one dimension will be the number of columns of dots and the other dimension is the number of printing lines (remember that you can have up to eight rows of dots per printed line).

Here’s a program that will use calculated-shape graphics to plot a circle. As you’ll see, by changing a few lines it can be used to plot virtually any shape.

10' General purpose for plotting program

20

 

30

'Set program constants.

40

MAXCOL% = 75

: MAXROW% = 14

50 DIM BIT%(MAXCOL%, MAXROW%)

60

MASK%(l) = 64

: MASK%(4) = 8

70 MASK%(2) = 32

: MASK%(5) = 4

80

MASK%(3) = 16

: MASK%(G) = 2

90

LX = 20

: LY = 20

100 LXFAC = 72/LX

: LYFAC = 87/LY

110 '

 

120'Plot curve.

130GOSUB 600

140

150'Send bit image map to printer.

169)LPRINT CHR$(27) "A" CHRS(6)

170FOR ROW% = 0 TO MAXROW%

180A$ = ""

190LPRINT CHR$(27) "K" CHR$(MAXCOL%) CHR$(fl);

200FOR COL% = 1 TO MAXCOL%

214)A$ = A$ + CHR$(BIT%(COL%,ROW%>> 220 NEXT COL%

230 LPRINT A$ " "

240 NEXT ROW%

250 LPRINT CHR$(27) "2"

260 END

111

Page 119
Image 119
Star Micronics SG-10, SG-15 user manual 140 ’

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.