.. _sdp-set: 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. .. DO NOT add a double pipe at the start of the first line. If you do then the whole table is completely useless in the rendered output. As it is, each time we build, we get a Latex error for the ||, but pressing ENTER seems to get past it. Plus, it builds! [NDunbar] .. The following directive only affects LaTeX output and defines widths for the columns in the table, stop it flowing off the right side of the page! .. tabularcolumns:: |p{0.35\linewidth}| p{0.05\linewidth}| p{0.08\linewidth}| p{0.08\linewidth}| p{0.05\linewidth}| p{0.05\linewidth}| p{0.05\linewidth}| .. table:: :class: longtable +----------------------------+--------+---------+---------+--------+--------+--------+ | **Mode 4 Screens** | +----------------------------+--------+---------+---------+--------+--------+--------+ || **Printer** || Scale || Dots || Lines || Dot || Max || Ratio | | || || Per In || Per In || Ratio || Width || | +============================+========+=========+=========+========+========+========+ || 1 Epson MX 80 or similar || 1 || 120 || 72 || 1x1 || 512 || 1.23 | | || 2 || 60 || 72 || 1x2 || 480 || 1.23 | | || 3 || 120 || 72 || 2x2 || 480 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 2 Epson FX80 additional || 1 || 90 || 72 || 1x1 || 512 || 0.92 | | formats || 2 || 90 || 72 || 1x1 || 512 || 0.92 | | || 3 || 90 || 72 || 2x2 || 360 || 0.92 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 3 Epson FX100 wide || 1 || 90 || 72 || 1x1 || 512 || 0.92 | | carriage || 2 || 90 || 72 || 1x1 || 512 || 0.92 | | || 3 || 90 || 72 || 2x2 || 512 || 0.92 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 4 Epson JX80 || 1 || 90 || 72 || 1x1 || 512 || 0.92 | | || 2 || 90 || 72 || 1x1 || 512 || 0.92 | | || 3 || 90 || 72 || 2x2 || 512 || 0.92 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 5 Epson LQ2500 8 pin || 1 || 80 || 60 || 1x1 || 512 || 0.99 | | || 2 || 120 || 60 || 2x1 || 512 || 0.74 | | || 3 || 80 || 60 || 2x2 || 512 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 6 Epson LQ2500 24 pin || 1 || 120 || 180 || 1x2 || 512 || 0.99 | | || 2 || 180 || 180 || 2x3 || 512 || 1.11 | | || 3 || 180 || 180 || 3x4 || 512 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 7 Epson LQ2500 || 1 || 80 || 60 || 1x1 || 512 || 0.99 | | 8 pin colour || 2 || 120 || 60 || 2x1 || 512 || 0.74 | | || 3 || 80 || 60 || 2x2 || 512 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 8 Epson LQ2500 || 1 || 120 || 180 || 1x2 || 512 || 0.99 | | 24 pin || 2 || 180 || 180 || 2x3 || 512 || 1.11 | | colour || 3 || 180 || 180 || 3x4 || 512 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 9 Brother HR4 || 2 || 60 || 72 || 1x2 || 480 || 1.23 | | || 3 || 120 || 72 || 2x2 || 480 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 10 Olivetti || 1 || 110 || 72 || 1x1 || 512 || 1.13 | | JP101 || 2 || 110 || 108 || 1x1 || 512 || 0.75 | | || 3 || 110 || 72 || 2x2 || 440 || 1.13 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 11 Seikosha || 1 || 60 || 63 || 1x1 || 480 || 0.70 | | GP-100A || 2 || 60 || 63 || 1x2 || 480 || 1.41 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 12 Seikosha || 1 || 60 || 72 || 1x1 || 480 || 0.61 | | GP-250X || 2 || 60 || 72 || 1x2 || 480 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 13 Seikosha || 1 || 80 || 80 || 1x1 || 512 || 0.74 | | GP-700A || 2 || 80 || 80 || 1x2 || 512 || 1.48 | | || 3 || 80 || 80 || 1x2 || 512 || 1.48 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 14 Canon || 1 || 80 || 80 || 1x1 || 512 || 0.74 | | PJ 1080A || 2 || 80 || 80 || 1x2 || 512 || 1.48 | | || 3 || 80 || 80 || 1x2 || 512 || 1.48 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 15 Centronics || 1 || 75 || 72 || 1x1 || 512 || 0.77 | | 739 || 2 || 75 || 72 || 1x1 || 512 || 0.77 | | || 3 || 75 || 72 || 2x2 || 300 || 0.77 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 16 C.Itoh 7500 || 1 || 120 || 72 || 1x1 || 512 || 1.23 | | || 2 || 160 || 72 || 2x1 || 512 || 0.82 | | || 3 || 120 || 72 || 2x2 || 480 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 17 Toshiba || 1 || 180 || 180 || 1x2 || 512 || 1.48 | | TH2100H || 2 || 180 || 180 || 2x3 || 512 || 1.11 | | 24 pin || 3 || 180 || 180 || 3x4 || 512 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 18 Brother || 1 || 70 || 72 || 1x1 || 512 || 0.72 | | 8056 || 2 || 70 || 72 || 1x1 || 512 || 0.72 | | || 3 || 70 || 72 || 2x2 || 280 || 0.72 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 19 Epson MX100 || 1 || 120 || 72 || 1x1 || 512 || 1.23 | | or similar || 2 || 60 || 72 || 1x2 || 512 || 1.23 | | || 3 || 120 || 72 || 2x2 || 512 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 20 Tandy || 1 || 100 || 72 || 1x1 || 512 || 1.03 | | DMP 105 || 2 || 60 || 72 || 1x2 || 512 || 1.23 | | || 3 || 100 || 72 || 2x2 || 400 || 1.03 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 21 OKI Microline 82/84 || 1 || 100 || 66 || 1x1 || 512 || 1.12 | | OK writer || 2 || 100 || 66 || 1x1 || 512 || 1.12 | | || 3 || 100 || 66 || 2x2 || 400 || 1.12 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 22 Fastext 80 || 1 || 72 || 72 || 1x1 || 512 || 0.74 | | || 2 || 60 || 72 || 1x2 || 480 || 1.23 | | || 3 || 72 || 72 || 2x3 || 288 || 1.11 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 23 MT-80 || 1 || 85 || 82 || 1x1 || 512 || 0.77 | | || 2 || 170 || 82 || 2x1 || 512 || 0.77 | | || 3 || 170 || 82 || 3x3 || 425 || 1.02 | +----------------------------+--------+---------+---------+--------+--------+--------+ .. DO NOT add a double pipe at the start of the first line. If you do then the whole table is completely useless in the rendered output. As it is, each time we build, we get a Latex error for the ||, but pressing ENTER seems to get past it. Plus, it builds! [NDunbar] .. The following directive only affects LaTeX output and defines widths for the columns in the table, stop it flowing off the right side of the page! .. tabularcolumns:: |p{0.35\linewidth}| p{0.05\linewidth}| p{0.08\linewidth}| p{0.08\linewidth}| p{0.05\linewidth}| p{0.05\linewidth}| p{0.05\linewidth}| .. table:: :class: longtable +----------------------------+--------+---------+---------+--------+--------+--------+ | **Mode 8 Screens** | +----------------------------+--------+---------+---------+--------+--------+--------+ || **Printer** || Scale || Dots || Lines || Dot || Max || Ratio | | || || Per In || Per In || Ratio || Width || | +============================+========+=========+=========+========+========+========+ || 1 Epson MX 80 || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | or similar || 2 || 60 || 72 || 2x2 || 240 || 1.23 | | || 3 || 120 || 72 || 4x2 || 240 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 2 Epson FX80 || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | additional || 2 || 90 || 72 || 2x1 || 256 || 0.92 | | formats || 3 || 90 || 72 || 4x2 || 180 || 0.92 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 3 Epson FX100 || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | wide || 2 || 90 || 72 || 2x1 || 256 || 0.92 | | carriage || 3 || 90 || 72 || 4x2 || 256 || 0.92 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 4 Epson JX80 || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | || 2 || 90 || 72 || 2x1 || 256 || 0.92 | | || 3 || 90 || 72 || 4x2 || 256 || 0.92 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 5 Epson LQ2500 || 1 || 60 || 60 || 1x1 || 256 || 1.48 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 5 Epson LQ2500 || 2 || 80 || 60 || 2x1 || 256 || 0.99 | | 8 pin || 3 || 80 || 60 || 4x2 || 256 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 6 Epson LQ2500 || 1 || 120 || 180 || 1x1 || 256 || 0.99 | | 24 pin || 2 || 180 || 180 || 3x3 || 256 || 0.99 | | || 3 || 180 || 180 || 6x4 || 256 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 7 Epson LQ2500 || 1 || 60 || 60 || 1x1 || 256 || 1.48 | | 8 pin colour || 2 || 80 || 60 || 2x1 || 256 || 0.99 | | || 3 || 80 || 60 || 4x2 || 256 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 8 Epson LQ2500 || 1 || 120 || 180 || 1x1 || 256 || 0.99 | | 24 pin || 2 || 180 || 180 || 3x3 || 256 || 0.99 | | colour || 3 || 180 || 180 || 6x4 || 256 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 9 Brother HR4 || 1 || 120 || 72 || 1x1 || 512 || 1.23 | | || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | || 2 || 60 || 72 || 2x2 || 240 || 1.23 | | || 3 || 120 || 72 || 4x2 || 240 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 10 Olivetti || 1 || 110 || 108 || 1x1 || 256 || 0.75 | | JP101 || 2 || 110 || 108 || 3x3 || 256 || 1.00 | | || 3 || 110 || 72 || 4x2 || 220 || 1.13 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 11 Seikosha || 1 || 60 || 63 || 1x1 || 256 || 1.41 | | GP-100A || 2 || 60 || 63 || 2x2 || 240 || 1.41 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 12 Seikosha || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | GP-250X || 2 || 60 || 72 || 2x2 || 240 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 13 Seikosha || 1 || 80 || 80 || 1x1 || 256 || 1.48 | | GP-700A || 2 || 80 || 80 || 2x2 || 256 || 1.48 | | || 3 || 80 || 80 || 3x3 || 212 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 14 Canon || 1 || 80 || 80 || 1x1 || 256 || 1.48 | | PJ 1080A || 2 || 80 || 80 || 2x2 || 256 || 1.48 | | || 3 || 80 || 80 || 3x3 || 212 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 15 Centronics || 1 || 75 || 72 || 1x1 || 256 || 1.42 | | 739 || 2 || 75 || 72 || 2x1 || 256 || 0.77 | | || 3 || 75 || 72 || 3x3 || 200 || 1.03 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 16 C.Itoh 7500 || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | || 2 || 120 || 72 || 2x1 || 256 || 1.23 | | || 3 || 120 || 72 || 4x2 || 240 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 17 Toshiba || 1 || 180 || 180 || 2x2 || 256 || 1.48 | | TH2100H || 2 || 180 || 180 || 3x3 || 256 || 0.72 | | 24 pin || 3 || 180 || 180 || 6x4 || 256 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 18 Brother || 1 || 70 || 72 || 1x1 || 256 || 1.44 | | 8056 || 2 || 70 || 72 || 2x1 || 256 || 0.72 | | || 3 || 70 || 72 || 3x3 || 186 || 0.96 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 19 Epson MX100 || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | or similar || 2 || 60 || 72 || 2x2 || 256 || 1.23 | | || 3 || 120 || 72 || 4x2 || 256 || 1.23 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 20 Tandy || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | DMP 105 || 2 || 100 || 72 || 2x1 || 256 || 1.03 | | || 3 || 100 || 72 || 4x2 || 200 || 1.03 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 21 OKI || 1 || 60 || 66 || 1x1 || 256 || 1.35 | | Microline || 2 || 100 || 66 || 2x1 || 256 || 1.12 | | 82/84 OK Writer || 3 || 100 || 66 || 4x2 || 200 || 1.12 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 22 Fastext 80 || 1 || 60 || 72 || 1x1 || 256 || 1.23 | | || 2 || 60 || 72 || 2x2 || 240 || 1.23 | | || 3 || 72 || 72 || 3x3 || 192 || 0.99 | +----------------------------+--------+---------+---------+--------+--------+--------+ || 23 MT-80 || 1 || 85 || 82 || 1x1 || 256 || 1.53 | | || 2 || 170 || 82 || 3x1 || 256 || 1.02 | | || 3 || 170 || 82 || 6x2 || 212 || 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** :ref:`sdump` actually prints the screen using the chosen format.