SDP_SET

Syntax SDP_SET printer [,scale [,inverse [,random]]]
Location Gold Card, Trump Card, SDUMP_REXT, ST/QL

SDP_SET allows you to choose the type of printer attached to the output device, together with how the output is to appear. Under SMS, you will first need to LRESPR SDUMP_REXT provided on the distribution disk to use this command. There are currently 23 types of printer supported, numbered 1…23.

You can also specify the print scale to be used and whether or not the screen is to be printed in inverse colours (by setting the inverse parameter to 1). You can even specify that a random element is to be taken into account in converting the colours to gray shades on the printer (again by setting the random parameter to 1).

The effects of these different parameters all depend upon the printer attached to the output port and the size and shape of the area being dumped. The scale will affect the density of the dots on the printed page. Unfortunately, this does mean that at some of the lower densities, not all of the screen can be printed on an 80 column printer (See the columns headed Max Width in the table below).

If any one of the parameters is not specified, that particular setting will remain unchanged. If you do not have one of the printers currently supported, try out the various dump routines to see which one best suits your needs. For example, users of the Epson Inkjet range of printers will find that the Epson LQ2500 24 pin colour driver is very effective. The range of printers and scales currently supported are detailed in the following tables.

Note: In the original manual, this was a single table covering both Mode 4 and Mode 8 screens. Due to the width of a PDF page, the table is far too wide and I’ve split it into two tables, one for Mode 4 and the other for Mode 8.

Mode 4 Screens
Printer
Scale

Dots
Per In
Lines
Per In
Dot
Ratio
Max
Width
Ratio

1 Epson MX 80 or similar
1
2
3
120
60
120
72
72
72
1x1
1x2
2x2
512
480
480
1.23
1.23
1.23
2 Epson FX80 additional formats
1
2
3
90
90
90
72
72
72
1x1
1x1
2x2
512
512
360
0.92
0.92
0.92
3 Epson FX100 wide carriage
1
2
3
90
90
90
72
72
72
1x1
1x1
2x2
512
512
512
0.92
0.92
0.92
4 Epson JX80
1
2
3
90
90
90
72
72
72
1x1
1x1
2x2
512
512
512
0.92
0.92
0.92
5 Epson LQ2500 8 pin
1
2
3
80
120
80
60
60
60
1x1
2x1
2x2
512
512
512
0.99
0.74
0.99
6 Epson LQ2500 24 pin
1
2
3
120
180
180
180
180
180
1x2
2x3
3x4
512
512
512
0.99
1.11
0.99
7 Epson LQ2500 8 pin colour
1
2
3
80
120
80
60
60
60
1x1
2x1
2x2
512
512
512
0.99
0.74
0.99
8 Epson LQ2500 24 pin colour
1
2
3
120
180
180
180
180
180
1x2
2x3
3x4
512
512
512
0.99
1.11
0.99
9 Brother HR4
2
3
60
120
72
72
1x2
2x2
480
480
1.23
1.23
10 Olivetti JP101
1
2
3
110
110
110
72
108
72
1x1
1x1
2x2
512
512
440
1.13
0.75
1.13
11 Seikosha GP-100A
1
2
60
60
63
63
1x1
1x2
480
480
0.70
1.41
12 Seikosha GP-250X
1
2
60
60
72
72
1x1
1x2
480
480
0.61
1.23
13 Seikosha GP-700A
1
2
3
80
80
80
80
80
80
1x1
1x2
1x2
512
512
512
0.74
1.48
1.48
14 Canon PJ 1080A
1
2
3
80
80
80
80
80
80
1x1
1x2
1x2
512
512
512
0.74
1.48
1.48
15 Centronics 739
1
2
3
75
75
75
72
72
72
1x1
1x1
2x2
512
512
300
0.77
0.77
0.77
16 C.Itoh 7500
1
2
3
120
160
120
72
72
72
1x1
2x1
2x2
512
512
480
1.23
0.82
1.23
17 Toshiba TH2100H 24 pin
1
2
3
180
180
180
180
180
180
1x2
2x3
3x4
512
512
512
1.48
1.11
0.99
18 Brother 8056
1
2
3
70
70
70
72
72
72
1x1
1x1
2x2
512
512
280
0.72
0.72
0.72
19 Epson MX100 or similar
1
2
3
120
60
120
72
72
72
1x1
1x2
2x2
512
512
512
1.23
1.23
1.23
20 Tandy DMP 105
1
2
3
100
60
100
72
72
72
1x1
1x2
2x2
512
512
400
1.03
1.23
1.03
21 OKI Microline 82/84 OK writer
1
2
3
100
100
100
66
66
66
1x1
1x1
2x2
512
512
400
1.12
1.12
1.12
22 Fastext 80
1
2
3
72
60
72
72
72
72
1x1
1x2
2x3
512
480
288
0.74
1.23
1.11
23 MT-80
1
2
3
85
170
170
82
82
82
1x1
2x1
3x3
512
512
425
0.77
0.77
1.02
Mode 8 Screens
Printer
Scale

Dots
Per In
Lines
Per In
Dot
Ratio
Max
Width
Ratio

1 Epson MX 80 or similar
1
2
3
60
60
120
72
72
72
1x1
2x2
4x2
256
240
240
1.23
1.23
1.23
2 Epson FX80 additional formats
1
2
3
60
90
90
72
72
72
1x1
2x1
4x2
256
256
180
1.23
0.92
0.92
3 Epson FX100 wide carriage
1
2
3
60
90
90
72
72
72
1x1
2x1
4x2
256
256
256
1.23
0.92
0.92
4 Epson JX80
1
2
3
60
90
90
72
72
72
1x1
2x1
4x2
256
256
256
1.23
0.92
0.92
5 Epson LQ2500
1
60
60
1x1
256
1.48
5 Epson LQ2500 8 pin
2
3
80
80
60
60
2x1
4x2
256
256
0.99
0.99
6 Epson LQ2500 24 pin
1
2
3
120
180
180
180
180
180
1x1
3x3
6x4
256
256
256
0.99
0.99
0.99
7 Epson LQ2500 8 pin colour
1
2
3
60
80
80
60
60
60
1x1
2x1
4x2
256
256
256
1.48
0.99
0.99
8 Epson LQ2500 24 pin colour
1
2
3
120
180
180
180
180
180
1x1
3x3
6x4
256
256
256
0.99
0.99
0.99
9 Brother HR4
1
1
2
3
120
60
60
120
72
72
72
72
1x1
1x1
2x2
4x2
512
256
240
240
1.23
1.23
1.23
1.23
10 Olivetti JP101
1
2
3
110
110
110
108
108
72
1x1
3x3
4x2
256
256
220
0.75
1.00
1.13
11 Seikosha GP-100A
1
2
60
60
63
63
1x1
2x2
256
240
1.41
1.41
12 Seikosha GP-250X
1
2
60
60
72
72
1x1
2x2
256
240
1.23
1.23
13 Seikosha GP-700A
1
2
3
80
80
80
80
80
80
1x1
2x2
3x3
256
256
212
1.48
1.48
0.99
14 Canon PJ 1080A
1
2
3
80
80
80
80
80
80
1x1
2x2
3x3
256
256
212
1.48
1.48
0.99
15 Centronics 739
1
2
3
75
75
75
72
72
72
1x1
2x1
3x3
256
256
200
1.42
0.77
1.03
16 C.Itoh 7500
1
2
3
60
120
120
72
72
72
1x1
2x1
4x2
256
256
240
1.23
1.23
1.23
17 Toshiba TH2100H 24 pin
1
2
3
180
180
180
180
180
180
2x2
3x3
6x4
256
256
256
1.48
0.72
0.99
18 Brother 8056
1
2
3
70
70
70
72
72
72
1x1
2x1
3x3
256
256
186
1.44
0.72
0.96
19 Epson MX100 or similar
1
2
3
60
60
120
72
72
72
1x1
2x2
4x2
256
256
256
1.23
1.23
1.23
20 Tandy DMP 105
1
2
3
60
100
100
72
72
72
1x1
2x1
4x2
256
256
200
1.23
1.03
1.03
21 OKI Microline 82/84 OK Writer
1
2
3
60
100
100
66
66
66
1x1
2x1
4x2
256
256
200
1.35
1.12
1.12
22 Fastext 80
1
2
3
60
60
72
72
72
72
1x1
2x2
3x3
256
240
192
1.23
1.23
0.99
23 MT-80
1
2
3
85
170
170
82
82
82
1x1
3x1
6x2
256
256
212
1.53
1.02
1.02

The resultant dump will depend both on the current screen mode and the chosen scale. The dot ratio column shown above represents the size of the resultant picture as a ratio of the original. For example, if the Dot ratio is 1x1 and you are outputting a screen of 512x256 pixels at 120 dots per inch and 72 lines per inch, you can expect the resultant picture to be 512/120 inches across by 256/72 inches down. If however, the Dot ratio was 1x2 (with the same number of dots per inch and lines per inch as above), then the resultant picture will be 512/120 inches across by 2*256/72 inches down.

The ratio column in the above table shows the resultant ratio between the vertical size/horizontal size. The nearer that this ratio is to 1.00, the more circular your screen circles will appear on paper. The default is printer 1, scale 1, inverse 1, random 0.

NOTE

There is no check on the parameters, other than to ensure that there are the correct number of parameters.

CROSS-REFERENCE

SDUMP actually prints the screen using the chosen format.