MAKING SD-IO/15 PRINT DARKER

SD-lo/l 5 has very good print density when it’s just printing regularly. But sometimes you may want something to stand out from the rest of the page. SD- lo/15 provides two ways to do this: double-strike and emphasized print. Both of these go over the characters twice, but they use slightly different methods to darken the characters. Let’s try them and see what the difference is.

The following table shows the control codes for getting into and out of double-strike and emphasized modes.

 

 

Table

5-7

 

 

Print

emphasis

commands

 

Function

 

Mode

Control code

Double-strike

ON

STAR

<ESC>

“G”

 

 

IBM

<ESC>

“G”

Double-strike

OFF

STAR

<ESC >

“H”

 

 

IBM

< ESC > “H”

Emphasized

ON

STAR

<ESC>

“E”

 

 

IBM

<ESC>

“E”

Emphasized

OFF

STAR

<ESC>

“F”

 

 

IBM

<ESC>

“F”

Try them now with this little program:

10 'Demo double-strike and emphasized.

20 LPRINT CHR$(27) "G" ; 'Double strike on.

30 LPRINT "This line is DOUBLE-STRIKE printing."

40 LPRINT CHR$(27) "E" ; 'Emphasized on.

50 LPRINT "This line is DOUBLE-STRIKE and EMPHASIZED." 60 LPRINT CHR$(27) "H" ; 'Double strike off,

74)LPRINT "This line is EMPHASIZED printing."

80 LPRINT CHR$(27) "F" ; 'Emphasized off.

90 LPRINT “This line is normal printing.”

Run this program. The results will look like this.

This line is DOUBLE-STRIKE printing.

This line is DOUBLE-STRIKE and EMPHASIZED. This line is EMPHASIZED printing.

This line is riurmal printing.

45

Page 53
Image 53
Star Micronics SB-15 user manual Making SD-IO/15 Print Darker, Try them now with this little program