Home » Archimedes archive » Archimedes World » AW-1993-07.adf » AWJuly93 » !AWJuly93/Goodies/Print/!Help

!AWJuly93/Goodies/Print/!Help

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 » Archimedes archive » Archimedes World » AW-1993-07.adf » AWJuly93
Filename: !AWJuly93/Goodies/Print/!Help
Read OK:
File size: 0826 bytes
Load address: 0000
Exec address: 0000
File contents
Name     : !Print
Purpose  : Text Only Printer Driver
Author   : Richard Bagnall
Version  : 2.00 (17-Mar-93)   
Requires : Risc OS 2 or 3
Memory   : 32K
CopyRight: Archimedes World 1993

Description
-----------
 !Print is a text only printer driver, in that it will attempt to print any
 file which is dragged onto it as a text file, therefore what you see on the
 screen is what you get on paper. !Print is not fussy about what type of 
 file you drag to it so don't drag on Draw files, Sprite files or any file 
 which does not contain text as these files will be printed as text files.

 When !Print is printing, a hourglass will display the percentaged printed.
 Also the sprite on the icon bar will change to also show the amount printed.

 There is one option on the menu known as header. If this is ticked the name
 of the file and date printed will be printed at the top of the first page.

 My reason for writing this program is because if I simply wanted to print 
 out a !Help file or a !Data file containing text I had to load in Acorn's 
 Printer Driver. This can take ages to load from floppy disc. I would also
 have to make sure that the !Scrap directory was in RAM or the Printer Driver
 keeps asking you to swap discs. Once loaded I would then have to check that
 the configuration was correct for printing text and then once I had started
 printing, Acorn's Driver has the annoying habit of producing form feeds of
 blank pages in the middle of the text.

 Acorn's Printer Driver is great for printing letters on A4 sheets, sprite 
 files and draw files (even in colour), but when it comes to printing a 
 standard text file it simply falls to pieces.


 TIP : If you decide to print a text file using Acorn's Printer Driver, and
       you what to print it in condensed form or another NLQ font which you
       have set on your printer, Acorn's Driver over-rides your settings 
       and use's it's own. If this happens use the software lock which is 
       built into most printer's to stop this from happening.

       !Print does not over-ride your settings!

00000000  4e 61 6d 65 20 20 20 20  20 3a 20 21 50 72 69 6e  |Name     : !Prin|
00000010  74 0a 50 75 72 70 6f 73  65 20 20 3a 20 54 65 78  |t.Purpose  : Tex|
00000020  74 20 4f 6e 6c 79 20 50  72 69 6e 74 65 72 20 44  |t Only Printer D|
00000030  72 69 76 65 72 0a 41 75  74 68 6f 72 20 20 20 3a  |river.Author   :|
00000040  20 52 69 63 68 61 72 64  20 42 61 67 6e 61 6c 6c  | Richard Bagnall|
00000050  0a 56 65 72 73 69 6f 6e  20 20 3a 20 32 2e 30 30  |.Version  : 2.00|
00000060  20 28 31 37 2d 4d 61 72  2d 39 33 29 20 20 20 0a  | (17-Mar-93)   .|
00000070  52 65 71 75 69 72 65 73  20 3a 20 52 69 73 63 20  |Requires : Risc |
00000080  4f 53 20 32 20 6f 72 20  33 0a 4d 65 6d 6f 72 79  |OS 2 or 3.Memory|
00000090  20 20 20 3a 20 33 32 4b  0a 43 6f 70 79 52 69 67  |   : 32K.CopyRig|
000000a0  68 74 3a 20 41 72 63 68  69 6d 65 64 65 73 20 57  |ht: Archimedes W|
000000b0  6f 72 6c 64 20 31 39 39  33 0a 0a 44 65 73 63 72  |orld 1993..Descr|
000000c0  69 70 74 69 6f 6e 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |iption.---------|
000000d0  2d 2d 0a 20 21 50 72 69  6e 74 20 69 73 20 61 20  |--. !Print is a |
000000e0  74 65 78 74 20 6f 6e 6c  79 20 70 72 69 6e 74 65  |text only printe|
000000f0  72 20 64 72 69 76 65 72  2c 20 69 6e 20 74 68 61  |r driver, in tha|
00000100  74 20 69 74 20 77 69 6c  6c 20 61 74 74 65 6d 70  |t it will attemp|
00000110  74 20 74 6f 20 70 72 69  6e 74 20 61 6e 79 0a 20  |t to print any. |
00000120  66 69 6c 65 20 77 68 69  63 68 20 69 73 20 64 72  |file which is dr|
00000130  61 67 67 65 64 20 6f 6e  74 6f 20 69 74 20 61 73  |agged onto it as|
00000140  20 61 20 74 65 78 74 20  66 69 6c 65 2c 20 74 68  | a text file, th|
00000150  65 72 65 66 6f 72 65 20  77 68 61 74 20 79 6f 75  |erefore what you|
00000160  20 73 65 65 20 6f 6e 20  74 68 65 0a 20 73 63 72  | see on the. scr|
00000170  65 65 6e 20 69 73 20 77  68 61 74 20 79 6f 75 20  |een is what you |
00000180  67 65 74 20 6f 6e 20 70  61 70 65 72 2e 20 21 50  |get on paper. !P|
00000190  72 69 6e 74 20 69 73 20  6e 6f 74 20 66 75 73 73  |rint is not fuss|
000001a0  79 20 61 62 6f 75 74 20  77 68 61 74 20 74 79 70  |y about what typ|
000001b0  65 20 6f 66 20 0a 20 66  69 6c 65 20 79 6f 75 20  |e of . file you |
000001c0  64 72 61 67 20 74 6f 20  69 74 20 73 6f 20 64 6f  |drag to it so do|
000001d0  6e 27 74 20 64 72 61 67  20 6f 6e 20 44 72 61 77  |n't drag on Draw|
000001e0  20 66 69 6c 65 73 2c 20  53 70 72 69 74 65 20 66  | files, Sprite f|
000001f0  69 6c 65 73 20 6f 72 20  61 6e 79 20 66 69 6c 65  |iles or any file|
00000200  20 0a 20 77 68 69 63 68  20 64 6f 65 73 20 6e 6f  | . which does no|
00000210  74 20 63 6f 6e 74 61 69  6e 20 74 65 78 74 20 61  |t contain text a|
00000220  73 20 74 68 65 73 65 20  66 69 6c 65 73 20 77 69  |s these files wi|
00000230  6c 6c 20 62 65 20 70 72  69 6e 74 65 64 20 61 73  |ll be printed as|
00000240  20 74 65 78 74 20 66 69  6c 65 73 2e 0a 0a 20 57  | text files... W|
00000250  68 65 6e 20 21 50 72 69  6e 74 20 69 73 20 70 72  |hen !Print is pr|
00000260  69 6e 74 69 6e 67 2c 20  61 20 68 6f 75 72 67 6c  |inting, a hourgl|
00000270  61 73 73 20 77 69 6c 6c  20 64 69 73 70 6c 61 79  |ass will display|
00000280  20 74 68 65 20 70 65 72  63 65 6e 74 61 67 65 64  | the percentaged|
00000290  20 70 72 69 6e 74 65 64  2e 0a 20 41 6c 73 6f 20  | printed.. Also |
000002a0  74 68 65 20 73 70 72 69  74 65 20 6f 6e 20 74 68  |the sprite on th|
000002b0  65 20 69 63 6f 6e 20 62  61 72 20 77 69 6c 6c 20  |e icon bar will |
000002c0  63 68 61 6e 67 65 20 74  6f 20 61 6c 73 6f 20 73  |change to also s|
000002d0  68 6f 77 20 74 68 65 20  61 6d 6f 75 6e 74 20 70  |how the amount p|
000002e0  72 69 6e 74 65 64 2e 0a  0a 20 54 68 65 72 65 20  |rinted... There |
000002f0  69 73 20 6f 6e 65 20 6f  70 74 69 6f 6e 20 6f 6e  |is one option on|
00000300  20 74 68 65 20 6d 65 6e  75 20 6b 6e 6f 77 6e 20  | the menu known |
00000310  61 73 20 68 65 61 64 65  72 2e 20 49 66 20 74 68  |as header. If th|
00000320  69 73 20 69 73 20 74 69  63 6b 65 64 20 74 68 65  |is is ticked the|
00000330  20 6e 61 6d 65 0a 20 6f  66 20 74 68 65 20 66 69  | name. of the fi|
00000340  6c 65 20 61 6e 64 20 64  61 74 65 20 70 72 69 6e  |le and date prin|
00000350  74 65 64 20 77 69 6c 6c  20 62 65 20 70 72 69 6e  |ted will be prin|
00000360  74 65 64 20 61 74 20 74  68 65 20 74 6f 70 20 6f  |ted at the top o|
00000370  66 20 74 68 65 20 66 69  72 73 74 20 70 61 67 65  |f the first page|
00000380  2e 0a 0a 20 4d 79 20 72  65 61 73 6f 6e 20 66 6f  |... My reason fo|
00000390  72 20 77 72 69 74 69 6e  67 20 74 68 69 73 20 70  |r writing this p|
000003a0  72 6f 67 72 61 6d 20 69  73 20 62 65 63 61 75 73  |rogram is becaus|
000003b0  65 20 69 66 20 49 20 73  69 6d 70 6c 79 20 77 61  |e if I simply wa|
000003c0  6e 74 65 64 20 74 6f 20  70 72 69 6e 74 20 0a 20  |nted to print . |
000003d0  6f 75 74 20 61 20 21 48  65 6c 70 20 66 69 6c 65  |out a !Help file|
000003e0  20 6f 72 20 61 20 21 44  61 74 61 20 66 69 6c 65  | or a !Data file|
000003f0  20 63 6f 6e 74 61 69 6e  69 6e 67 20 74 65 78 74  | containing text|
00000400  20 49 20 68 61 64 20 74  6f 20 6c 6f 61 64 20 69  | I had to load i|
00000410  6e 20 41 63 6f 72 6e 27  73 20 0a 20 50 72 69 6e  |n Acorn's . Prin|
00000420  74 65 72 20 44 72 69 76  65 72 2e 20 54 68 69 73  |ter Driver. This|
00000430  20 63 61 6e 20 74 61 6b  65 20 61 67 65 73 20 74  | can take ages t|
00000440  6f 20 6c 6f 61 64 20 66  72 6f 6d 20 66 6c 6f 70  |o load from flop|
00000450  70 79 20 64 69 73 63 2e  20 49 20 77 6f 75 6c 64  |py disc. I would|
00000460  20 61 6c 73 6f 0a 20 68  61 76 65 20 74 6f 20 6d  | also. have to m|
00000470  61 6b 65 20 73 75 72 65  20 74 68 61 74 20 74 68  |ake sure that th|
00000480  65 20 21 53 63 72 61 70  20 64 69 72 65 63 74 6f  |e !Scrap directo|
00000490  72 79 20 77 61 73 20 69  6e 20 52 41 4d 20 6f 72  |ry was in RAM or|
000004a0  20 74 68 65 20 50 72 69  6e 74 65 72 20 44 72 69  | the Printer Dri|
000004b0  76 65 72 0a 20 6b 65 65  70 73 20 61 73 6b 69 6e  |ver. keeps askin|
000004c0  67 20 79 6f 75 20 74 6f  20 73 77 61 70 20 64 69  |g you to swap di|
000004d0  73 63 73 2e 20 4f 6e 63  65 20 6c 6f 61 64 65 64  |scs. Once loaded|
000004e0  20 49 20 77 6f 75 6c 64  20 74 68 65 6e 20 68 61  | I would then ha|
000004f0  76 65 20 74 6f 20 63 68  65 63 6b 20 74 68 61 74  |ve to check that|
00000500  0a 20 74 68 65 20 63 6f  6e 66 69 67 75 72 61 74  |. the configurat|
00000510  69 6f 6e 20 77 61 73 20  63 6f 72 72 65 63 74 20  |ion was correct |
00000520  66 6f 72 20 70 72 69 6e  74 69 6e 67 20 74 65 78  |for printing tex|
00000530  74 20 61 6e 64 20 74 68  65 6e 20 6f 6e 63 65 20  |t and then once |
00000540  49 20 68 61 64 20 73 74  61 72 74 65 64 0a 20 70  |I had started. p|
00000550  72 69 6e 74 69 6e 67 2c  20 41 63 6f 72 6e 27 73  |rinting, Acorn's|
00000560  20 44 72 69 76 65 72 20  68 61 73 20 74 68 65 20  | Driver has the |
00000570  61 6e 6e 6f 79 69 6e 67  20 68 61 62 69 74 20 6f  |annoying habit o|
00000580  66 20 70 72 6f 64 75 63  69 6e 67 20 66 6f 72 6d  |f producing form|
00000590  20 66 65 65 64 73 20 6f  66 0a 20 62 6c 61 6e 6b  | feeds of. blank|
000005a0  20 70 61 67 65 73 20 69  6e 20 74 68 65 20 6d 69  | pages in the mi|
000005b0  64 64 6c 65 20 6f 66 20  74 68 65 20 74 65 78 74  |ddle of the text|
000005c0  2e 0a 0a 20 41 63 6f 72  6e 27 73 20 50 72 69 6e  |... Acorn's Prin|
000005d0  74 65 72 20 44 72 69 76  65 72 20 69 73 20 67 72  |ter Driver is gr|
000005e0  65 61 74 20 66 6f 72 20  70 72 69 6e 74 69 6e 67  |eat for printing|
000005f0  20 6c 65 74 74 65 72 73  20 6f 6e 20 41 34 20 73  | letters on A4 s|
00000600  68 65 65 74 73 2c 20 73  70 72 69 74 65 20 0a 20  |heets, sprite . |
00000610  66 69 6c 65 73 20 61 6e  64 20 64 72 61 77 20 66  |files and draw f|
00000620  69 6c 65 73 20 28 65 76  65 6e 20 69 6e 20 63 6f  |iles (even in co|
00000630  6c 6f 75 72 29 2c 20 62  75 74 20 77 68 65 6e 20  |lour), but when |
00000640  69 74 20 63 6f 6d 65 73  20 74 6f 20 70 72 69 6e  |it comes to prin|
00000650  74 69 6e 67 20 61 20 0a  20 73 74 61 6e 64 61 72  |ting a . standar|
00000660  64 20 74 65 78 74 20 66  69 6c 65 20 69 74 20 73  |d text file it s|
00000670  69 6d 70 6c 79 20 66 61  6c 6c 73 20 74 6f 20 70  |imply falls to p|
00000680  69 65 63 65 73 2e 0a 0a  0a 20 54 49 50 20 3a 20  |ieces.... TIP : |
00000690  49 66 20 79 6f 75 20 64  65 63 69 64 65 20 74 6f  |If you decide to|
000006a0  20 70 72 69 6e 74 20 61  20 74 65 78 74 20 66 69  | print a text fi|
000006b0  6c 65 20 75 73 69 6e 67  20 41 63 6f 72 6e 27 73  |le using Acorn's|
000006c0  20 50 72 69 6e 74 65 72  20 44 72 69 76 65 72 2c  | Printer Driver,|
000006d0  20 61 6e 64 0a 20 20 20  20 20 20 20 79 6f 75 20  | and.       you |
000006e0  77 68 61 74 20 74 6f 20  70 72 69 6e 74 20 69 74  |what to print it|
000006f0  20 69 6e 20 63 6f 6e 64  65 6e 73 65 64 20 66 6f  | in condensed fo|
00000700  72 6d 20 6f 72 20 61 6e  6f 74 68 65 72 20 4e 4c  |rm or another NL|
00000710  51 20 66 6f 6e 74 20 77  68 69 63 68 20 79 6f 75  |Q font which you|
00000720  0a 20 20 20 20 20 20 20  68 61 76 65 20 73 65 74  |.       have set|
00000730  20 6f 6e 20 79 6f 75 72  20 70 72 69 6e 74 65 72  | on your printer|
00000740  2c 20 41 63 6f 72 6e 27  73 20 44 72 69 76 65 72  |, Acorn's Driver|
00000750  20 6f 76 65 72 2d 72 69  64 65 73 20 79 6f 75 72  | over-rides your|
00000760  20 73 65 74 74 69 6e 67  73 20 0a 20 20 20 20 20  | settings .     |
00000770  20 20 61 6e 64 20 75 73  65 27 73 20 69 74 27 73  |  and use's it's|
00000780  20 6f 77 6e 2e 20 49 66  20 74 68 69 73 20 68 61  | own. If this ha|
00000790  70 70 65 6e 73 20 75 73  65 20 74 68 65 20 73 6f  |ppens use the so|
000007a0  66 74 77 61 72 65 20 6c  6f 63 6b 20 77 68 69 63  |ftware lock whic|
000007b0  68 20 69 73 20 0a 20 20  20 20 20 20 20 62 75 69  |h is .       bui|
000007c0  6c 74 20 69 6e 74 6f 20  6d 6f 73 74 20 70 72 69  |lt into most pri|
000007d0  6e 74 65 72 27 73 20 74  6f 20 73 74 6f 70 20 74  |nter's to stop t|
000007e0  68 69 73 20 66 72 6f 6d  20 68 61 70 70 65 6e 69  |his from happeni|
000007f0  6e 67 2e 0a 0a 20 20 20  20 20 20 20 21 50 72 69  |ng...       !Pri|
00000800  6e 74 20 64 6f 65 73 20  6e 6f 74 20 6f 76 65 72  |nt does not over|
00000810  2d 72 69 64 65 20 79 6f  75 72 20 73 65 74 74 69  |-ride your setti|
00000820  6e 67 73 21 0a 0a                                 |ngs!..|
00000826