Home » Personal collection » Acorn hard disk » apps » Printers » RiscOs2/!PrinterPS/PrData

RiscOs2/!PrinterPS/PrData

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn hard disk » apps » Printers
Filename: RiscOs2/!PrinterPS/PrData
Read OK:
File size: 10A2 bytes
Load address: 0000
Exec address: 0000
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
>PrData *** Postscript printer configuration ***

version:        1               ;Don't change this. It is used to detect
                                ;  incompatible old "PrData" files.

Defaults
========

Default resolutions
pxres:          300             ; dots per inch
pyres:          300
pxres_halftone: 300/8
pyres_halftone: 300/8

features:       16_02000000     ; supports arbitrary transformation
prologue2:      PSprolog2

Define these next two as empty strings if the printer does not have the
appropriate facility.
auto_feed:      %%BeginFeature: ManualFeed False|Jstatusdict begin /manualfeed false store end|J%%EndFeature
manual_feed:    %%BeginFeature: ManualFeed True|Jstatusdict begin /manualfeed true store end|J%%EndFeature

Real printer definitions
========================

printer_name:   Monochrome PostScript
                               ;max 40 chars in name
printer_number: 0

printer_name:   Colour PostScript
printer_number: 1
features:       16_02000001     ; produce colour PostScript please


Page size settings
==================

These are written back to this file when the "Save" entry is clicked;
therefore they are all fixed size fields.

page_number:    0 ; the number of the page size table entry we want to do
                  ; don't need to write this back!
page_name:      A4 paper;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; pad names to 80 characters with ;
page_width:     0000595000; Pad (decimal) numbers to 10 chars with leading 0s
page_height:    0000842000
page_bottom:    0000023000
page_top:       0000819000
page_left:      0000018000
page_right:     0000577000
page_selection: %%BeginFeature: PageSize A4|Ja4|J%%EndFeature

page_number:    1
page_name:      Letter;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
page_width:     0000612000
page_height:    0000792000
page_bottom:    0000019000
page_top:       0000774000
page_left:      0000018000
page_right:     0000593000
page_selection: %%BeginFeature: PageSize Letter|Jletter|J%%EndFeature

page_number:    2
page_name:      Legal;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
page_width:     0000612000
page_height:    0001008000
page_bottom:    0000042000
page_top:       0000966000
page_left:      0000065000
page_right:     0000547000
page_selection: %%BeginFeature: PageSize Legal|Jlegal|J%%EndFeature

Configured options
==================
start_page_number: 00  ;page description - pad to two chars with 0
printer:           00  ;  printer number - pad to two chars with 0
page:              00  ;     page number - pad to two chars with 0

location:       2 ;1 - parallel, 2 - serial, 4 - net
baud:           6 ; 0 -   75,  1 -  150,  2 -  300  ,  3 -  1200 
                  ; 4 - 2400,  5 - 4800,  6 - 9600  ,  7 - 19200
                  ; 8 -   50,  9 -  110, 10 -  134.5, 11 -   600
                  ;12 - 1800, 13 - 3600, 14 - 7200
data:         &20 ;serial data format - pad to two chars with 0
                  ;b0-b1 0,1,2,3 => 8,7,6,5 bits
                  ;b2 0=>1 stop bit, 1=>2 stop bits OR 1.5 stop bits if 5
                  ;bits without parity, OR 1 stop bit if 8 bits with parity
                  ;b3 0/1 => parity off/on
                  ;b4-b5 0,1,2,3 => parity odd, even, 1 on Tx, 0 on Tx
xon:            1 ;XON/XOFF 0 off 1 on
server:   0.235;;; either [<net>.]<station>   eg `235;;;;;` or `123.235;`
                  ;or up to 6 char name       eg `blue;;;;` or `yellow;;`
                  ;must be padded to 8 chars with ; in either case
file: null:;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;filename to use, padded to 80 characters.

All the following fields may get written back by the printer driver, so must
be single character fixed length fields.

feed:           0 ;0 - automatic, 1 - manual
format:         0 ;0 - portrait,  1 - landscape
title:          0 ;0 - no title,  1 - title
columns:        1 ;1,2,3,4,5,6,7,8 or 9
line_numbers:   0 ;0 - don't number lines, 1 - number lines
line_term:      0 ;0 - only LF terminates lines, 1 - CR, LF, CR/LF and
                         LF/CR terminate lines
print_ccs:      1 ;0 - don't print control chars, 1 - print control chars
00000000  3e 50 72 44 61 74 61 20  2a 2a 2a 20 50 6f 73 74  |>PrData *** Post|
00000010  73 63 72 69 70 74 20 70  72 69 6e 74 65 72 20 63  |script printer c|
00000020  6f 6e 66 69 67 75 72 61  74 69 6f 6e 20 2a 2a 2a  |onfiguration ***|
00000030  0a 0a 76 65 72 73 69 6f  6e 3a 20 20 20 20 20 20  |..version:      |
00000040  20 20 31 20 20 20 20 20  20 20 20 20 20 20 20 20  |  1             |
00000050  20 20 3b 44 6f 6e 27 74  20 63 68 61 6e 67 65 20  |  ;Don't change |
00000060  74 68 69 73 2e 20 49 74  20 69 73 20 75 73 65 64  |this. It is used|
00000070  20 74 6f 20 64 65 74 65  63 74 0a 20 20 20 20 20  | to detect.     |
00000080  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000090  20 20 20 20 20 20 20 20  20 20 20 3b 20 20 69 6e  |           ;  in|
000000a0  63 6f 6d 70 61 74 69 62  6c 65 20 6f 6c 64 20 22  |compatible old "|
000000b0  50 72 44 61 74 61 22 20  66 69 6c 65 73 2e 0a 0a  |PrData" files...|
000000c0  44 65 66 61 75 6c 74 73  0a 3d 3d 3d 3d 3d 3d 3d  |Defaults.=======|
000000d0  3d 0a 0a 44 65 66 61 75  6c 74 20 72 65 73 6f 6c  |=..Default resol|
000000e0  75 74 69 6f 6e 73 0a 70  78 72 65 73 3a 20 20 20  |utions.pxres:   |
000000f0  20 20 20 20 20 20 20 33  30 30 20 20 20 20 20 20  |       300      |
00000100  20 20 20 20 20 20 20 3b  20 64 6f 74 73 20 70 65  |       ; dots pe|
00000110  72 20 69 6e 63 68 0a 70  79 72 65 73 3a 20 20 20  |r inch.pyres:   |
00000120  20 20 20 20 20 20 20 33  30 30 0a 70 78 72 65 73  |       300.pxres|
00000130  5f 68 61 6c 66 74 6f 6e  65 3a 20 33 30 30 2f 38  |_halftone: 300/8|
00000140  0a 70 79 72 65 73 5f 68  61 6c 66 74 6f 6e 65 3a  |.pyres_halftone:|
00000150  20 33 30 30 2f 38 0a 0a  66 65 61 74 75 72 65 73  | 300/8..features|
00000160  3a 20 20 20 20 20 20 20  31 36 5f 30 32 30 30 30  |:       16_02000|
00000170  30 30 30 20 20 20 20 20  3b 20 73 75 70 70 6f 72  |000     ; suppor|
00000180  74 73 20 61 72 62 69 74  72 61 72 79 20 74 72 61  |ts arbitrary tra|
00000190  6e 73 66 6f 72 6d 61 74  69 6f 6e 0a 70 72 6f 6c  |nsformation.prol|
000001a0  6f 67 75 65 32 3a 20 20  20 20 20 20 50 53 70 72  |ogue2:      PSpr|
000001b0  6f 6c 6f 67 32 0a 0a 44  65 66 69 6e 65 20 74 68  |olog2..Define th|
000001c0  65 73 65 20 6e 65 78 74  20 74 77 6f 20 61 73 20  |ese next two as |
000001d0  65 6d 70 74 79 20 73 74  72 69 6e 67 73 20 69 66  |empty strings if|
000001e0  20 74 68 65 20 70 72 69  6e 74 65 72 20 64 6f 65  | the printer doe|
000001f0  73 20 6e 6f 74 20 68 61  76 65 20 74 68 65 0a 61  |s not have the.a|
00000200  70 70 72 6f 70 72 69 61  74 65 20 66 61 63 69 6c  |ppropriate facil|
00000210  69 74 79 2e 0a 61 75 74  6f 5f 66 65 65 64 3a 20  |ity..auto_feed: |
00000220  20 20 20 20 20 25 25 42  65 67 69 6e 46 65 61 74  |     %%BeginFeat|
00000230  75 72 65 3a 20 4d 61 6e  75 61 6c 46 65 65 64 20  |ure: ManualFeed |
00000240  46 61 6c 73 65 7c 4a 73  74 61 74 75 73 64 69 63  |False|Jstatusdic|
00000250  74 20 62 65 67 69 6e 20  2f 6d 61 6e 75 61 6c 66  |t begin /manualf|
00000260  65 65 64 20 66 61 6c 73  65 20 73 74 6f 72 65 20  |eed false store |
00000270  65 6e 64 7c 4a 25 25 45  6e 64 46 65 61 74 75 72  |end|J%%EndFeatur|
00000280  65 0a 6d 61 6e 75 61 6c  5f 66 65 65 64 3a 20 20  |e.manual_feed:  |
00000290  20 20 25 25 42 65 67 69  6e 46 65 61 74 75 72 65  |  %%BeginFeature|
000002a0  3a 20 4d 61 6e 75 61 6c  46 65 65 64 20 54 72 75  |: ManualFeed Tru|
000002b0  65 7c 4a 73 74 61 74 75  73 64 69 63 74 20 62 65  |e|Jstatusdict be|
000002c0  67 69 6e 20 2f 6d 61 6e  75 61 6c 66 65 65 64 20  |gin /manualfeed |
000002d0  74 72 75 65 20 73 74 6f  72 65 20 65 6e 64 7c 4a  |true store end|J|
000002e0  25 25 45 6e 64 46 65 61  74 75 72 65 0a 0a 52 65  |%%EndFeature..Re|
000002f0  61 6c 20 70 72 69 6e 74  65 72 20 64 65 66 69 6e  |al printer defin|
00000300  69 74 69 6f 6e 73 0a 3d  3d 3d 3d 3d 3d 3d 3d 3d  |itions.=========|
00000310  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 0a  |===============.|
00000320  0a 70 72 69 6e 74 65 72  5f 6e 61 6d 65 3a 20 20  |.printer_name:  |
00000330  20 4d 6f 6e 6f 63 68 72  6f 6d 65 20 50 6f 73 74  | Monochrome Post|
00000340  53 63 72 69 70 74 0a 20  20 20 20 20 20 20 20 20  |Script.         |
00000350  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000360  20 20 20 20 20 20 3b 6d  61 78 20 34 30 20 63 68  |      ;max 40 ch|
00000370  61 72 73 20 69 6e 20 6e  61 6d 65 0a 70 72 69 6e  |ars in name.prin|
00000380  74 65 72 5f 6e 75 6d 62  65 72 3a 20 30 0a 0a 70  |ter_number: 0..p|
00000390  72 69 6e 74 65 72 5f 6e  61 6d 65 3a 20 20 20 43  |rinter_name:   C|
000003a0  6f 6c 6f 75 72 20 50 6f  73 74 53 63 72 69 70 74  |olour PostScript|
000003b0  0a 70 72 69 6e 74 65 72  5f 6e 75 6d 62 65 72 3a  |.printer_number:|
000003c0  20 31 0a 66 65 61 74 75  72 65 73 3a 20 20 20 20  | 1.features:    |
000003d0  20 20 20 31 36 5f 30 32  30 30 30 30 30 31 20 20  |   16_02000001  |
000003e0  20 20 20 3b 20 70 72 6f  64 75 63 65 20 63 6f 6c  |   ; produce col|
000003f0  6f 75 72 20 50 6f 73 74  53 63 72 69 70 74 20 70  |our PostScript p|
00000400  6c 65 61 73 65 0a 0a 0a  50 61 67 65 20 73 69 7a  |lease...Page siz|
00000410  65 20 73 65 74 74 69 6e  67 73 0a 3d 3d 3d 3d 3d  |e settings.=====|
00000420  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 0a 0a 54  |=============..T|
00000430  68 65 73 65 20 61 72 65  20 77 72 69 74 74 65 6e  |hese are written|
00000440  20 62 61 63 6b 20 74 6f  20 74 68 69 73 20 66 69  | back to this fi|
00000450  6c 65 20 77 68 65 6e 20  74 68 65 20 22 53 61 76  |le when the "Sav|
00000460  65 22 20 65 6e 74 72 79  20 69 73 20 63 6c 69 63  |e" entry is clic|
00000470  6b 65 64 3b 0a 74 68 65  72 65 66 6f 72 65 20 74  |ked;.therefore t|
00000480  68 65 79 20 61 72 65 20  61 6c 6c 20 66 69 78 65  |hey are all fixe|
00000490  64 20 73 69 7a 65 20 66  69 65 6c 64 73 2e 0a 0a  |d size fields...|
000004a0  70 61 67 65 5f 6e 75 6d  62 65 72 3a 20 20 20 20  |page_number:    |
000004b0  30 20 3b 20 74 68 65 20  6e 75 6d 62 65 72 20 6f  |0 ; the number o|
000004c0  66 20 74 68 65 20 70 61  67 65 20 73 69 7a 65 20  |f the page size |
000004d0  74 61 62 6c 65 20 65 6e  74 72 79 20 77 65 20 77  |table entry we w|
000004e0  61 6e 74 20 74 6f 20 64  6f 0a 20 20 20 20 20 20  |ant to do.      |
000004f0  20 20 20 20 20 20 20 20  20 20 20 20 3b 20 64 6f  |            ; do|
00000500  6e 27 74 20 6e 65 65 64  20 74 6f 20 77 72 69 74  |n't need to writ|
00000510  65 20 74 68 69 73 20 62  61 63 6b 21 0a 70 61 67  |e this back!.pag|
00000520  65 5f 6e 61 6d 65 3a 20  20 20 20 20 20 41 34 20  |e_name:      A4 |
00000530  70 61 70 65 72 3b 3b 3b  3b 3b 3b 3b 3b 3b 3b 3b  |paper;;;;;;;;;;;|
00000540  3b 3b 3b 3b 3b 3b 3b 3b  3b 3b 3b 3b 3b 3b 3b 3b  |;;;;;;;;;;;;;;;;|
*
00000570  3b 3b 3b 3b 3b 3b 3b 3b  3b 3b 3b 3b 3b 20 70 61  |;;;;;;;;;;;;; pa|
00000580  64 20 6e 61 6d 65 73 20  74 6f 20 38 30 20 63 68  |d names to 80 ch|
00000590  61 72 61 63 74 65 72 73  20 77 69 74 68 20 3b 0a  |aracters with ;.|
000005a0  70 61 67 65 5f 77 69 64  74 68 3a 20 20 20 20 20  |page_width:     |
000005b0  30 30 30 30 35 39 35 30  30 30 3b 20 50 61 64 20  |0000595000; Pad |
000005c0  28 64 65 63 69 6d 61 6c  29 20 6e 75 6d 62 65 72  |(decimal) number|
000005d0  73 20 74 6f 20 31 30 20  63 68 61 72 73 20 77 69  |s to 10 chars wi|
000005e0  74 68 20 6c 65 61 64 69  6e 67 20 30 73 0a 70 61  |th leading 0s.pa|
000005f0  67 65 5f 68 65 69 67 68  74 3a 20 20 20 20 30 30  |ge_height:    00|
00000600  30 30 38 34 32 30 30 30  0a 70 61 67 65 5f 62 6f  |00842000.page_bo|
00000610  74 74 6f 6d 3a 20 20 20  20 30 30 30 30 30 32 33  |ttom:    0000023|
00000620  30 30 30 0a 70 61 67 65  5f 74 6f 70 3a 20 20 20  |000.page_top:   |
00000630  20 20 20 20 30 30 30 30  38 31 39 30 30 30 0a 70  |    0000819000.p|
00000640  61 67 65 5f 6c 65 66 74  3a 20 20 20 20 20 20 30  |age_left:      0|
00000650  30 30 30 30 31 38 30 30  30 0a 70 61 67 65 5f 72  |000018000.page_r|
00000660  69 67 68 74 3a 20 20 20  20 20 30 30 30 30 35 37  |ight:     000057|
00000670  37 30 30 30 0a 70 61 67  65 5f 73 65 6c 65 63 74  |7000.page_select|
00000680  69 6f 6e 3a 20 25 25 42  65 67 69 6e 46 65 61 74  |ion: %%BeginFeat|
00000690  75 72 65 3a 20 50 61 67  65 53 69 7a 65 20 41 34  |ure: PageSize A4|
000006a0  7c 4a 61 34 7c 4a 25 25  45 6e 64 46 65 61 74 75  ||Ja4|J%%EndFeatu|
000006b0  72 65 0a 0a 70 61 67 65  5f 6e 75 6d 62 65 72 3a  |re..page_number:|
000006c0  20 20 20 20 31 0a 70 61  67 65 5f 6e 61 6d 65 3a  |    1.page_name:|
000006d0  20 20 20 20 20 20 4c 65  74 74 65 72 3b 3b 3b 3b  |      Letter;;;;|
000006e0  3b 3b 3b 3b 3b 3b 3b 3b  3b 3b 3b 3b 3b 3b 3b 3b  |;;;;;;;;;;;;;;;;|
*
00000720  3b 3b 3b 3b 3b 3b 0a 70  61 67 65 5f 77 69 64 74  |;;;;;;.page_widt|
00000730  68 3a 20 20 20 20 20 30  30 30 30 36 31 32 30 30  |h:     000061200|
00000740  30 0a 70 61 67 65 5f 68  65 69 67 68 74 3a 20 20  |0.page_height:  |
00000750  20 20 30 30 30 30 37 39  32 30 30 30 0a 70 61 67  |  0000792000.pag|
00000760  65 5f 62 6f 74 74 6f 6d  3a 20 20 20 20 30 30 30  |e_bottom:    000|
00000770  30 30 31 39 30 30 30 0a  70 61 67 65 5f 74 6f 70  |0019000.page_top|
00000780  3a 20 20 20 20 20 20 20  30 30 30 30 37 37 34 30  |:       00007740|
00000790  30 30 0a 70 61 67 65 5f  6c 65 66 74 3a 20 20 20  |00.page_left:   |
000007a0  20 20 20 30 30 30 30 30  31 38 30 30 30 0a 70 61  |   0000018000.pa|
000007b0  67 65 5f 72 69 67 68 74  3a 20 20 20 20 20 30 30  |ge_right:     00|
000007c0  30 30 35 39 33 30 30 30  0a 70 61 67 65 5f 73 65  |00593000.page_se|
000007d0  6c 65 63 74 69 6f 6e 3a  20 25 25 42 65 67 69 6e  |lection: %%Begin|
000007e0  46 65 61 74 75 72 65 3a  20 50 61 67 65 53 69 7a  |Feature: PageSiz|
000007f0  65 20 4c 65 74 74 65 72  7c 4a 6c 65 74 74 65 72  |e Letter|Jletter|
00000800  7c 4a 25 25 45 6e 64 46  65 61 74 75 72 65 0a 0a  ||J%%EndFeature..|
00000810  70 61 67 65 5f 6e 75 6d  62 65 72 3a 20 20 20 20  |page_number:    |
00000820  32 0a 70 61 67 65 5f 6e  61 6d 65 3a 20 20 20 20  |2.page_name:    |
00000830  20 20 4c 65 67 61 6c 3b  3b 3b 3b 3b 3b 3b 3b 3b  |  Legal;;;;;;;;;|
00000840  3b 3b 3b 3b 3b 3b 3b 3b  3b 3b 3b 3b 3b 3b 3b 3b  |;;;;;;;;;;;;;;;;|
*
00000880  3b 3b 0a 70 61 67 65 5f  77 69 64 74 68 3a 20 20  |;;.page_width:  |
00000890  20 20 20 30 30 30 30 36  31 32 30 30 30 0a 70 61  |   0000612000.pa|
000008a0  67 65 5f 68 65 69 67 68  74 3a 20 20 20 20 30 30  |ge_height:    00|
000008b0  30 31 30 30 38 30 30 30  0a 70 61 67 65 5f 62 6f  |01008000.page_bo|
000008c0  74 74 6f 6d 3a 20 20 20  20 30 30 30 30 30 34 32  |ttom:    0000042|
000008d0  30 30 30 0a 70 61 67 65  5f 74 6f 70 3a 20 20 20  |000.page_top:   |
000008e0  20 20 20 20 30 30 30 30  39 36 36 30 30 30 0a 70  |    0000966000.p|
000008f0  61 67 65 5f 6c 65 66 74  3a 20 20 20 20 20 20 30  |age_left:      0|
00000900  30 30 30 30 36 35 30 30  30 0a 70 61 67 65 5f 72  |000065000.page_r|
00000910  69 67 68 74 3a 20 20 20  20 20 30 30 30 30 35 34  |ight:     000054|
00000920  37 30 30 30 0a 70 61 67  65 5f 73 65 6c 65 63 74  |7000.page_select|
00000930  69 6f 6e 3a 20 25 25 42  65 67 69 6e 46 65 61 74  |ion: %%BeginFeat|
00000940  75 72 65 3a 20 50 61 67  65 53 69 7a 65 20 4c 65  |ure: PageSize Le|
00000950  67 61 6c 7c 4a 6c 65 67  61 6c 7c 4a 25 25 45 6e  |gal|Jlegal|J%%En|
00000960  64 46 65 61 74 75 72 65  0a 0a 43 6f 6e 66 69 67  |dFeature..Config|
00000970  75 72 65 64 20 6f 70 74  69 6f 6e 73 0a 3d 3d 3d  |ured options.===|
00000980  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 0a  |===============.|
00000990  73 74 61 72 74 5f 70 61  67 65 5f 6e 75 6d 62 65  |start_page_numbe|
000009a0  72 3a 20 30 30 20 20 3b  70 61 67 65 20 64 65 73  |r: 00  ;page des|
000009b0  63 72 69 70 74 69 6f 6e  20 2d 20 70 61 64 20 74  |cription - pad t|
000009c0  6f 20 74 77 6f 20 63 68  61 72 73 20 77 69 74 68  |o two chars with|
000009d0  20 30 0a 70 72 69 6e 74  65 72 3a 20 20 20 20 20  | 0.printer:     |
000009e0  20 20 20 20 20 20 30 30  20 20 3b 20 20 70 72 69  |      00  ;  pri|
000009f0  6e 74 65 72 20 6e 75 6d  62 65 72 20 2d 20 70 61  |nter number - pa|
00000a00  64 20 74 6f 20 74 77 6f  20 63 68 61 72 73 20 77  |d to two chars w|
00000a10  69 74 68 20 30 0a 70 61  67 65 3a 20 20 20 20 20  |ith 0.page:     |
00000a20  20 20 20 20 20 20 20 20  20 30 30 20 20 3b 20 20  |         00  ;  |
00000a30  20 20 20 70 61 67 65 20  6e 75 6d 62 65 72 20 2d  |   page number -|
00000a40  20 70 61 64 20 74 6f 20  74 77 6f 20 63 68 61 72  | pad to two char|
00000a50  73 20 77 69 74 68 20 30  0a 0a 6c 6f 63 61 74 69  |s with 0..locati|
00000a60  6f 6e 3a 20 20 20 20 20  20 20 32 20 3b 31 20 2d  |on:       2 ;1 -|
00000a70  20 70 61 72 61 6c 6c 65  6c 2c 20 32 20 2d 20 73  | parallel, 2 - s|
00000a80  65 72 69 61 6c 2c 20 34  20 2d 20 6e 65 74 0a 62  |erial, 4 - net.b|
00000a90  61 75 64 3a 20 20 20 20  20 20 20 20 20 20 20 36  |aud:           6|
00000aa0  20 3b 20 30 20 2d 20 20  20 37 35 2c 20 20 31 20  | ; 0 -   75,  1 |
00000ab0  2d 20 20 31 35 30 2c 20  20 32 20 2d 20 20 33 30  |-  150,  2 -  30|
00000ac0  30 20 20 2c 20 20 33 20  2d 20 20 31 32 30 30 20  |0  ,  3 -  1200 |
00000ad0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000ae0  20 20 20 3b 20 34 20 2d  20 32 34 30 30 2c 20 20  |   ; 4 - 2400,  |
00000af0  35 20 2d 20 34 38 30 30  2c 20 20 36 20 2d 20 39  |5 - 4800,  6 - 9|
00000b00  36 30 30 20 20 2c 20 20  37 20 2d 20 31 39 32 30  |600  ,  7 - 1920|
00000b10  30 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |0.              |
00000b20  20 20 20 20 3b 20 38 20  2d 20 20 20 35 30 2c 20  |    ; 8 -   50, |
00000b30  20 39 20 2d 20 20 31 31  30 2c 20 31 30 20 2d 20  | 9 -  110, 10 - |
00000b40  20 31 33 34 2e 35 2c 20  31 31 20 2d 20 20 20 36  | 134.5, 11 -   6|
00000b50  30 30 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |00.             |
00000b60  20 20 20 20 20 3b 31 32  20 2d 20 31 38 30 30 2c  |     ;12 - 1800,|
00000b70  20 31 33 20 2d 20 33 36  30 30 2c 20 31 34 20 2d  | 13 - 3600, 14 -|
00000b80  20 37 32 30 30 0a 64 61  74 61 3a 20 20 20 20 20  | 7200.data:     |
00000b90  20 20 20 20 26 32 30 20  3b 73 65 72 69 61 6c 20  |    &20 ;serial |
00000ba0  64 61 74 61 20 66 6f 72  6d 61 74 20 2d 20 70 61  |data format - pa|
00000bb0  64 20 74 6f 20 74 77 6f  20 63 68 61 72 73 20 77  |d to two chars w|
00000bc0  69 74 68 20 30 0a 20 20  20 20 20 20 20 20 20 20  |ith 0.          |
00000bd0  20 20 20 20 20 20 20 20  3b 62 30 2d 62 31 20 30  |        ;b0-b1 0|
00000be0  2c 31 2c 32 2c 33 20 3d  3e 20 38 2c 37 2c 36 2c  |,1,2,3 => 8,7,6,|
00000bf0  35 20 62 69 74 73 0a 20  20 20 20 20 20 20 20 20  |5 bits.         |
00000c00  20 20 20 20 20 20 20 20  20 3b 62 32 20 30 3d 3e  |         ;b2 0=>|
00000c10  31 20 73 74 6f 70 20 62  69 74 2c 20 31 3d 3e 32  |1 stop bit, 1=>2|
00000c20  20 73 74 6f 70 20 62 69  74 73 20 4f 52 20 31 2e  | stop bits OR 1.|
00000c30  35 20 73 74 6f 70 20 62  69 74 73 20 69 66 20 35  |5 stop bits if 5|
00000c40  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000c50  20 20 20 3b 62 69 74 73  20 77 69 74 68 6f 75 74  |   ;bits without|
00000c60  20 70 61 72 69 74 79 2c  20 4f 52 20 31 20 73 74  | parity, OR 1 st|
00000c70  6f 70 20 62 69 74 20 69  66 20 38 20 62 69 74 73  |op bit if 8 bits|
00000c80  20 77 69 74 68 20 70 61  72 69 74 79 0a 20 20 20  | with parity.   |
00000c90  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 3b  |               ;|
00000ca0  62 33 20 30 2f 31 20 3d  3e 20 70 61 72 69 74 79  |b3 0/1 => parity|
00000cb0  20 6f 66 66 2f 6f 6e 0a  20 20 20 20 20 20 20 20  | off/on.        |
00000cc0  20 20 20 20 20 20 20 20  20 20 3b 62 34 2d 62 35  |          ;b4-b5|
00000cd0  20 30 2c 31 2c 32 2c 33  20 3d 3e 20 70 61 72 69  | 0,1,2,3 => pari|
00000ce0  74 79 20 6f 64 64 2c 20  65 76 65 6e 2c 20 31 20  |ty odd, even, 1 |
00000cf0  6f 6e 20 54 78 2c 20 30  20 6f 6e 20 54 78 0a 78  |on Tx, 0 on Tx.x|
00000d00  6f 6e 3a 20 20 20 20 20  20 20 20 20 20 20 20 31  |on:            1|
00000d10  20 3b 58 4f 4e 2f 58 4f  46 46 20 30 20 6f 66 66  | ;XON/XOFF 0 off|
00000d20  20 31 20 6f 6e 0a 73 65  72 76 65 72 3a 20 20 20  | 1 on.server:   |
00000d30  30 2e 32 33 35 3b 3b 3b  20 65 69 74 68 65 72 20  |0.235;;; either |
00000d40  5b 3c 6e 65 74 3e 2e 5d  3c 73 74 61 74 69 6f 6e  |[<net>.]<station|
00000d50  3e 20 20 20 65 67 20 60  32 33 35 3b 3b 3b 3b 3b  |>   eg `235;;;;;|
00000d60  60 20 6f 72 20 60 31 32  33 2e 32 33 35 3b 60 0a  |` or `123.235;`.|
00000d70  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000d80  20 20 3b 6f 72 20 75 70  20 74 6f 20 36 20 63 68  |  ;or up to 6 ch|
00000d90  61 72 20 6e 61 6d 65 20  20 20 20 20 20 20 65 67  |ar name       eg|
00000da0  20 60 62 6c 75 65 3b 3b  3b 3b 60 20 6f 72 20 60  | `blue;;;;` or `|
00000db0  79 65 6c 6c 6f 77 3b 3b  60 0a 20 20 20 20 20 20  |yellow;;`.      |
00000dc0  20 20 20 20 20 20 20 20  20 20 20 20 3b 6d 75 73  |            ;mus|
00000dd0  74 20 62 65 20 70 61 64  64 65 64 20 74 6f 20 38  |t be padded to 8|
00000de0  20 63 68 61 72 73 20 77  69 74 68 20 3b 20 69 6e  | chars with ; in|
00000df0  20 65 69 74 68 65 72 20  63 61 73 65 0a 66 69 6c  | either case.fil|
00000e00  65 3a 20 6e 75 6c 6c 3a  3b 3b 3b 3b 3b 3b 3b 3b  |e: null:;;;;;;;;|
00000e10  3b 3b 3b 3b 3b 3b 3b 3b  3b 3b 3b 3b 3b 3b 3b 3b  |;;;;;;;;;;;;;;;;|
*
00000e50  3b 3b 3b 66 69 6c 65 6e  61 6d 65 20 74 6f 20 75  |;;;filename to u|
00000e60  73 65 2c 20 70 61 64 64  65 64 20 74 6f 20 38 30  |se, padded to 80|
00000e70  20 63 68 61 72 61 63 74  65 72 73 2e 0a 0a 41 6c  | characters...Al|
00000e80  6c 20 74 68 65 20 66 6f  6c 6c 6f 77 69 6e 67 20  |l the following |
00000e90  66 69 65 6c 64 73 20 6d  61 79 20 67 65 74 20 77  |fields may get w|
00000ea0  72 69 74 74 65 6e 20 62  61 63 6b 20 62 79 20 74  |ritten back by t|
00000eb0  68 65 20 70 72 69 6e 74  65 72 20 64 72 69 76 65  |he printer drive|
00000ec0  72 2c 20 73 6f 20 6d 75  73 74 0a 62 65 20 73 69  |r, so must.be si|
00000ed0  6e 67 6c 65 20 63 68 61  72 61 63 74 65 72 20 66  |ngle character f|
00000ee0  69 78 65 64 20 6c 65 6e  67 74 68 20 66 69 65 6c  |ixed length fiel|
00000ef0  64 73 2e 0a 0a 66 65 65  64 3a 20 20 20 20 20 20  |ds...feed:      |
00000f00  20 20 20 20 20 30 20 3b  30 20 2d 20 61 75 74 6f  |     0 ;0 - auto|
00000f10  6d 61 74 69 63 2c 20 31  20 2d 20 6d 61 6e 75 61  |matic, 1 - manua|
00000f20  6c 0a 66 6f 72 6d 61 74  3a 20 20 20 20 20 20 20  |l.format:       |
00000f30  20 20 30 20 3b 30 20 2d  20 70 6f 72 74 72 61 69  |  0 ;0 - portrai|
00000f40  74 2c 20 20 31 20 2d 20  6c 61 6e 64 73 63 61 70  |t,  1 - landscap|
00000f50  65 0a 74 69 74 6c 65 3a  20 20 20 20 20 20 20 20  |e.title:        |
00000f60  20 20 30 20 3b 30 20 2d  20 6e 6f 20 74 69 74 6c  |  0 ;0 - no titl|
00000f70  65 2c 20 20 31 20 2d 20  74 69 74 6c 65 0a 63 6f  |e,  1 - title.co|
00000f80  6c 75 6d 6e 73 3a 20 20  20 20 20 20 20 20 31 20  |lumns:        1 |
00000f90  3b 31 2c 32 2c 33 2c 34  2c 35 2c 36 2c 37 2c 38  |;1,2,3,4,5,6,7,8|
00000fa0  20 6f 72 20 39 0a 6c 69  6e 65 5f 6e 75 6d 62 65  | or 9.line_numbe|
00000fb0  72 73 3a 20 20 20 30 20  3b 30 20 2d 20 64 6f 6e  |rs:   0 ;0 - don|
00000fc0  27 74 20 6e 75 6d 62 65  72 20 6c 69 6e 65 73 2c  |'t number lines,|
00000fd0  20 31 20 2d 20 6e 75 6d  62 65 72 20 6c 69 6e 65  | 1 - number line|
00000fe0  73 0a 6c 69 6e 65 5f 74  65 72 6d 3a 20 20 20 20  |s.line_term:    |
00000ff0  20 20 30 20 3b 30 20 2d  20 6f 6e 6c 79 20 4c 46  |  0 ;0 - only LF|
00001000  20 74 65 72 6d 69 6e 61  74 65 73 20 6c 69 6e 65  | terminates line|
00001010  73 2c 20 31 20 2d 20 43  52 2c 20 4c 46 2c 20 43  |s, 1 - CR, LF, C|
00001020  52 2f 4c 46 20 61 6e 64  0a 20 20 20 20 20 20 20  |R/LF and.       |
00001030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001040  20 20 4c 46 2f 43 52 20  74 65 72 6d 69 6e 61 74  |  LF/CR terminat|
00001050  65 20 6c 69 6e 65 73 0a  70 72 69 6e 74 5f 63 63  |e lines.print_cc|
00001060  73 3a 20 20 20 20 20 20  31 20 3b 30 20 2d 20 64  |s:      1 ;0 - d|
00001070  6f 6e 27 74 20 70 72 69  6e 74 20 63 6f 6e 74 72  |on't print contr|
00001080  6f 6c 20 63 68 61 72 73  2c 20 31 20 2d 20 70 72  |ol chars, 1 - pr|
00001090  69 6e 74 20 63 6f 6e 74  72 6f 6c 20 63 68 61 72  |int control char|
000010a0  73 0a                                             |s.|
000010a2