Home » Personal collection » Acorn ADFS disks » Greaseweazled » adfs_RiscOs_Apps_2.adf » !PrinterIx/ReadMe
!PrinterIx/ReadMe
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 ADFS disks » Greaseweazled » adfs_RiscOs_Apps_2.adf |
Filename: | !PrinterIx/ReadMe |
Read OK: | ✔ |
File size: | 06EC bytes |
Load address: | FFFFFF41 |
Exec address: | DC63E9CF |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Personal collection » Acorn ADFS disks » Archimedes » RiscOs_Apps_2.ADF » !PrinterIx/ReadMe
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_RiscOs_Apps_2.adf » !PrinterIx/ReadMe
File contents
This is PrinterIx, version 1.12 (11-Jul-89) The following remarks should be noted about this version of PrinterIx and its documentation. Text printing is applied to files of types Text, Command, and Obey. For anything else, the application checks if other applications know how to print the file. If this fails it checks with the user whether to print the file. You can override the application's treatment of a particular type file by setting system variables of the form Alias$@PrinterType_xxx, where xxx is the appropriate type. If the variable exists, then the application performs *@PrinterType_xxx <filename> before doing anything else. It then checks for the existence of <Printer$Temp>. If this exists then it is printed. You can therefore print via a print utility program by using: *Set Alias$@PrintType_xxx *PrintUtil %0 -to <Printer$Temp> Try looking at the !Boot files of !Draw and !Paint for some examples. Clicking SELECT on the icon produces a window with data about the current printer driver settings. Clicking on the name field steps through the printers and dump modes enumerated in the file PrData. It also allows control of the end-of-line control character sequence used in text printing, which can vary between printers. Clicking MENU on the icon produces a menu which allows the print destination to be set, and the paper size to be altered. It should be noted that the page size and margins supplied here must reflect the actual printable area of the page, and cannot be used to alter the format of text printed as a result of dragging text files onto the printer icon. The paper limits are used to ensure correct positioning of graphics on the page, and are also reported back to applications such as Draw for information purposes.
00000000 54 68 69 73 20 69 73 20 50 72 69 6e 74 65 72 49 |This is PrinterI| 00000010 78 2c 20 76 65 72 73 69 6f 6e 20 31 2e 31 32 20 |x, version 1.12 | 00000020 28 31 31 2d 4a 75 6c 2d 38 39 29 0a 0a 54 68 65 |(11-Jul-89)..The| 00000030 20 66 6f 6c 6c 6f 77 69 6e 67 20 72 65 6d 61 72 | following remar| 00000040 6b 73 20 73 68 6f 75 6c 64 20 62 65 20 6e 6f 74 |ks should be not| 00000050 65 64 20 61 62 6f 75 74 20 74 68 69 73 20 76 65 |ed about this ve| 00000060 72 73 69 6f 6e 20 6f 66 20 50 72 69 6e 74 65 72 |rsion of Printer| 00000070 49 78 20 61 6e 64 0a 69 74 73 20 64 6f 63 75 6d |Ix and.its docum| 00000080 65 6e 74 61 74 69 6f 6e 2e 0a 0a 54 65 78 74 20 |entation...Text | 00000090 70 72 69 6e 74 69 6e 67 20 69 73 20 61 70 70 6c |printing is appl| 000000a0 69 65 64 20 74 6f 20 66 69 6c 65 73 20 6f 66 20 |ied to files of | 000000b0 74 79 70 65 73 20 54 65 78 74 2c 20 43 6f 6d 6d |types Text, Comm| 000000c0 61 6e 64 2c 20 61 6e 64 20 4f 62 65 79 2e 20 46 |and, and Obey. F| 000000d0 6f 72 0a 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 |or.anything else| 000000e0 2c 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f |, the applicatio| 000000f0 6e 20 63 68 65 63 6b 73 20 69 66 20 6f 74 68 65 |n checks if othe| 00000100 72 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 6b |r applications k| 00000110 6e 6f 77 20 68 6f 77 20 74 6f 0a 70 72 69 6e 74 |now how to.print| 00000120 20 74 68 65 20 66 69 6c 65 2e 20 49 66 20 74 68 | the file. If th| 00000130 69 73 20 66 61 69 6c 73 20 69 74 20 63 68 65 63 |is fails it chec| 00000140 6b 73 20 77 69 74 68 20 74 68 65 20 75 73 65 72 |ks with the user| 00000150 20 77 68 65 74 68 65 72 20 74 6f 20 70 72 69 6e | whether to prin| 00000160 74 20 74 68 65 0a 66 69 6c 65 2e 0a 0a 59 6f 75 |t the.file...You| 00000170 20 63 61 6e 20 6f 76 65 72 72 69 64 65 20 74 68 | can override th| 00000180 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 27 73 20 |e application's | 00000190 74 72 65 61 74 6d 65 6e 74 20 6f 66 20 61 20 70 |treatment of a p| 000001a0 61 72 74 69 63 75 6c 61 72 20 74 79 70 65 20 66 |articular type f| 000001b0 69 6c 65 20 62 79 0a 73 65 74 74 69 6e 67 20 73 |ile by.setting s| 000001c0 79 73 74 65 6d 20 76 61 72 69 61 62 6c 65 73 20 |ystem variables | 000001d0 6f 66 20 74 68 65 20 66 6f 72 6d 20 41 6c 69 61 |of the form Alia| 000001e0 73 24 40 50 72 69 6e 74 65 72 54 79 70 65 5f 78 |s$@PrinterType_x| 000001f0 78 78 2c 20 77 68 65 72 65 20 78 78 78 20 69 73 |xx, where xxx is| 00000200 0a 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 |.the appropriate| 00000210 20 74 79 70 65 2e 20 49 66 20 74 68 65 20 76 61 | type. If the va| 00000220 72 69 61 62 6c 65 20 65 78 69 73 74 73 2c 20 74 |riable exists, t| 00000230 68 65 6e 20 74 68 65 20 61 70 70 6c 69 63 61 74 |hen the applicat| 00000240 69 6f 6e 20 70 65 72 66 6f 72 6d 73 0a 2a 40 50 |ion performs.*@P| 00000250 72 69 6e 74 65 72 54 79 70 65 5f 78 78 78 20 3c |rinterType_xxx <| 00000260 66 69 6c 65 6e 61 6d 65 3e 20 62 65 66 6f 72 65 |filename> before| 00000270 20 64 6f 69 6e 67 20 61 6e 79 74 68 69 6e 67 20 | doing anything | 00000280 65 6c 73 65 2e 20 49 74 20 74 68 65 6e 20 63 68 |else. It then ch| 00000290 65 63 6b 73 20 66 6f 72 0a 74 68 65 20 65 78 69 |ecks for.the exi| 000002a0 73 74 65 6e 63 65 20 6f 66 20 3c 50 72 69 6e 74 |stence of <Print| 000002b0 65 72 24 54 65 6d 70 3e 2e 20 49 66 20 74 68 69 |er$Temp>. If thi| 000002c0 73 20 65 78 69 73 74 73 20 74 68 65 6e 20 69 74 |s exists then it| 000002d0 20 69 73 20 70 72 69 6e 74 65 64 2e 20 59 6f 75 | is printed. You| 000002e0 20 63 61 6e 0a 74 68 65 72 65 66 6f 72 65 20 70 | can.therefore p| 000002f0 72 69 6e 74 20 76 69 61 20 61 20 70 72 69 6e 74 |rint via a print| 00000300 20 75 74 69 6c 69 74 79 20 70 72 6f 67 72 61 6d | utility program| 00000310 20 62 79 20 75 73 69 6e 67 3a 0a 0a 20 20 20 20 | by using:.. | 00000320 2a 53 65 74 20 41 6c 69 61 73 24 40 50 72 69 6e |*Set Alias$@Prin| 00000330 74 54 79 70 65 5f 78 78 78 20 2a 50 72 69 6e 74 |tType_xxx *Print| 00000340 55 74 69 6c 20 25 30 20 2d 74 6f 20 3c 50 72 69 |Util %0 -to <Pri| 00000350 6e 74 65 72 24 54 65 6d 70 3e 0a 0a 54 72 79 20 |nter$Temp>..Try | 00000360 6c 6f 6f 6b 69 6e 67 20 61 74 20 74 68 65 20 21 |looking at the !| 00000370 42 6f 6f 74 20 66 69 6c 65 73 20 6f 66 20 21 44 |Boot files of !D| 00000380 72 61 77 20 61 6e 64 20 21 50 61 69 6e 74 20 66 |raw and !Paint f| 00000390 6f 72 20 73 6f 6d 65 20 65 78 61 6d 70 6c 65 73 |or some examples| 000003a0 2e 0a 0a 43 6c 69 63 6b 69 6e 67 20 53 45 4c 45 |...Clicking SELE| 000003b0 43 54 20 6f 6e 20 74 68 65 20 69 63 6f 6e 20 70 |CT on the icon p| 000003c0 72 6f 64 75 63 65 73 20 61 20 77 69 6e 64 6f 77 |roduces a window| 000003d0 20 77 69 74 68 20 64 61 74 61 20 61 62 6f 75 74 | with data about| 000003e0 20 74 68 65 20 63 75 72 72 65 6e 74 0a 70 72 69 | the current.pri| 000003f0 6e 74 65 72 20 64 72 69 76 65 72 20 73 65 74 74 |nter driver sett| 00000400 69 6e 67 73 2e 20 43 6c 69 63 6b 69 6e 67 20 6f |ings. Clicking o| 00000410 6e 20 74 68 65 20 6e 61 6d 65 20 66 69 65 6c 64 |n the name field| 00000420 20 73 74 65 70 73 20 74 68 72 6f 75 67 68 20 74 | steps through t| 00000430 68 65 0a 70 72 69 6e 74 65 72 73 20 61 6e 64 20 |he.printers and | 00000440 64 75 6d 70 20 6d 6f 64 65 73 20 65 6e 75 6d 65 |dump modes enume| 00000450 72 61 74 65 64 20 69 6e 20 74 68 65 20 66 69 6c |rated in the fil| 00000460 65 20 50 72 44 61 74 61 2e 20 49 74 20 61 6c 73 |e PrData. It als| 00000470 6f 20 61 6c 6c 6f 77 73 0a 63 6f 6e 74 72 6f 6c |o allows.control| 00000480 20 6f 66 20 74 68 65 20 65 6e 64 2d 6f 66 2d 6c | of the end-of-l| 00000490 69 6e 65 20 63 6f 6e 74 72 6f 6c 20 63 68 61 72 |ine control char| 000004a0 61 63 74 65 72 20 73 65 71 75 65 6e 63 65 20 75 |acter sequence u| 000004b0 73 65 64 20 69 6e 20 74 65 78 74 20 70 72 69 6e |sed in text prin| 000004c0 74 69 6e 67 2c 0a 77 68 69 63 68 20 63 61 6e 20 |ting,.which can | 000004d0 76 61 72 79 20 62 65 74 77 65 65 6e 20 70 72 69 |vary between pri| 000004e0 6e 74 65 72 73 2e 0a 0a 43 6c 69 63 6b 69 6e 67 |nters...Clicking| 000004f0 20 4d 45 4e 55 20 6f 6e 20 74 68 65 20 69 63 6f | MENU on the ico| 00000500 6e 20 70 72 6f 64 75 63 65 73 20 61 20 6d 65 6e |n produces a men| 00000510 75 20 77 68 69 63 68 20 61 6c 6c 6f 77 73 20 74 |u which allows t| 00000520 68 65 20 70 72 69 6e 74 20 64 65 73 74 69 6e 61 |he print destina| 00000530 74 69 6f 6e 0a 74 6f 20 62 65 20 73 65 74 2c 20 |tion.to be set, | 00000540 61 6e 64 20 74 68 65 20 70 61 70 65 72 20 73 69 |and the paper si| 00000550 7a 65 20 74 6f 20 62 65 20 61 6c 74 65 72 65 64 |ze to be altered| 00000560 2e 20 20 49 74 20 73 68 6f 75 6c 64 20 62 65 20 |. It should be | 00000570 6e 6f 74 65 64 20 74 68 61 74 20 74 68 65 0a 70 |noted that the.p| 00000580 61 67 65 20 73 69 7a 65 20 61 6e 64 20 6d 61 72 |age size and mar| 00000590 67 69 6e 73 20 73 75 70 70 6c 69 65 64 20 68 65 |gins supplied he| 000005a0 72 65 20 6d 75 73 74 20 72 65 66 6c 65 63 74 20 |re must reflect | 000005b0 74 68 65 20 61 63 74 75 61 6c 20 70 72 69 6e 74 |the actual print| 000005c0 61 62 6c 65 20 61 72 65 61 0a 6f 66 20 74 68 65 |able area.of the| 000005d0 20 70 61 67 65 2c 20 61 6e 64 20 63 61 6e 6e 6f | page, and canno| 000005e0 74 20 62 65 20 75 73 65 64 20 74 6f 20 61 6c 74 |t be used to alt| 000005f0 65 72 20 74 68 65 20 66 6f 72 6d 61 74 20 6f 66 |er the format of| 00000600 20 74 65 78 74 20 70 72 69 6e 74 65 64 20 61 73 | text printed as| 00000610 20 61 0a 72 65 73 75 6c 74 20 6f 66 20 64 72 61 | a.result of dra| 00000620 67 67 69 6e 67 20 74 65 78 74 20 66 69 6c 65 73 |gging text files| 00000630 20 6f 6e 74 6f 20 74 68 65 20 70 72 69 6e 74 65 | onto the printe| 00000640 72 20 69 63 6f 6e 2e 20 20 54 68 65 20 70 61 70 |r icon. The pap| 00000650 65 72 20 6c 69 6d 69 74 73 0a 61 72 65 20 75 73 |er limits.are us| 00000660 65 64 20 74 6f 20 65 6e 73 75 72 65 20 63 6f 72 |ed to ensure cor| 00000670 72 65 63 74 20 70 6f 73 69 74 69 6f 6e 69 6e 67 |rect positioning| 00000680 20 6f 66 20 67 72 61 70 68 69 63 73 20 6f 6e 20 | of graphics on | 00000690 74 68 65 20 70 61 67 65 2c 20 61 6e 64 20 61 72 |the page, and ar| 000006a0 65 20 61 6c 73 6f 0a 72 65 70 6f 72 74 65 64 20 |e also.reported | 000006b0 62 61 63 6b 20 74 6f 20 61 70 70 6c 69 63 61 74 |back to applicat| 000006c0 69 6f 6e 73 20 73 75 63 68 20 61 73 20 44 72 61 |ions such as Dra| 000006d0 77 20 66 6f 72 20 69 6e 66 6f 72 6d 61 74 69 6f |w for informatio| 000006e0 6e 20 70 75 72 70 6f 73 65 73 2e 0a |n purposes..| 000006ec