home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / acorn / riscos2 / apps1 / !PrinterPS / ReadMe < prev    next >
Encoding:
Text File  |  1989-01-04  |  3.7 KB  |  69 lines

  1. This is PrinterPS, version 0.83 (04-Jan-89)
  2.  
  3. Documentation on how to use PrinterPS can be found in Edition 2 of the
  4. Archimedes User Guide.
  5.  
  6. The following remarks should be noted about this version of PrinterPS and
  7. its documentation.
  8.  
  9. Text printing is applied to files of types Text, Command, Obey, and
  10. PoScript. For anything else, the application checks if other applications
  11. know how to print the file. If this fails it checks with the user whether to
  12. print the file.
  13.  
  14. You can override the application's treatment of a particular type file by
  15. setting system variables of the form Alias$@PrinterType_xxx, where xxx is
  16. the appropriate type. If the variable exists, then the application performs
  17. *@PrinterType_xxx <filename> before doing anything else. It then checks for
  18. the existence of <Printer$Temp>. If this exists then it is printed. You can
  19. therefore print via a print utility program by setting Alias$@PrintType_FFF
  20. to the macro *PrintUtil <%0> -to <Printer$Temp>. If the result of this
  21. operation is textual PostScript then you should set the type of <Printer$Temp>
  22. to PoScript in the macro or application.
  23.  
  24. Clicking SELECT on the PrinterPS icon produces a window with data about the
  25. current printer driver settings. Clicking on the name field steps through
  26. the printers and page sizes enumerated in the file PrData. Manual feed can
  27. also be selected, and simple options set that apply to text printing.
  28.  
  29. If the output is to the serial line and XON/XOFF protocols are being used
  30. then a small module, SerialRxIgnore, is loaded and used to discard incoming
  31. characters (except XON/XOFF control characters).
  32.  
  33. The following remarks should be noted about this version of the printer
  34. driver module and its documentation.
  35.  
  36. For each RISC OS font used, the printer driver needs to be told which
  37. PostScript font to use in its place. Near the end of the file
  38. !PrinterPS.PSprolog is a list of the font translations used. This can be
  39. added to or modified by the user as desired - usually, you should add a
  40. suitable translation for each new font you acquire. It is a good idea to
  41. ensure that the PostScript font you use has similar metrics to the RISC OS
  42. font: the PostScript code used for text printing will compensate
  43. automatically for differences between the metrics of the two fonts, but the
  44. results are likely to be ugly if these differences are too large.
  45.  
  46. The file !PrinterPS.PSprolog also contains a PostScript encoding vector
  47. (which says what actual character corresponds to each character code).
  48. This has been chosen to conform with the ISO 8859-1 Latin 1 alphabet as
  49. far as possible, though there are some ambiguities (e.g. character code
  50. &2D is defined in the ISO standard to be hyphen or minus, which are
  51. usually two different characters in PostScript fonts). This encoding
  52. vector can be edited if necessary - but make sure you know what you are
  53. doing.
  54.  
  55. Not all PostScript fonts contain all the characters in the
  56. Latin 1 encoding vector. The PostScript code in !PrinterPS.PSprolog is
  57. set up to ignore any character that you try to print if it doesn't
  58. appear in the PostScript font being used. If you would prefer a PostScript
  59. error to be generated instead, there is a documented single line change you
  60. can make to !PrinterPS.PSprolog to achieve this effect.
  61.  
  62. Printing RISC OS sprites to PostScript is a rather complicated business and
  63. always generates quite a lot of PostScript output. It may also take quite a
  64. long time to print. Under some circumstances (particularly if there are a
  65. lot of colours in the sprite and/or if the sprite is to occupy a large
  66. amount of space on the printed page), the time taken by the printer and/or
  67. the application to print the sprite may become quite large (of the order of
  68. several minutes or even more). Do not worry unduly about this.
  69.