home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / post17b.lzh / postband.doc < prev    next >
Text File  |  1992-03-07  |  3KB  |  75 lines

  1. PostScript band printing driver (PostBand, with Post V1.7)
  2. ==========================================================
  3.  
  4. Copyright Adrian Aylward 1990, 1992.
  5.  
  6. You may freely copy, use and modify this program (postband).  The source is
  7. included in the distribution.
  8.  
  9. The program calls the PostScript interpreter library to render a file to the
  10. printer in a series of bands.  It can therefore be run on machines with
  11. insufficient memory for a full page buffer; it should be possible to run
  12. it on a 1 megabyte machine.  Since it has to rerun the interpreter for each
  13. band it is going to be several times slower than printing directly.  It also
  14. depends upon the file being conformant to the PostScript structuring
  15. programs.
  16.  
  17. Usage
  18. =====
  19.  
  20.     postband [files...] PRINT file [SIZE xyod..s..p.bc.] [MEM fhlv..]
  21.  
  22. The "files..." are the startup files for Post.  Usually this will be the
  23. standard startup "init.ps".
  24.  
  25. The PRINT option is the name of the PostScript source file to be printed.
  26.  
  27. The SIZE and MEM options are passed directly to Post.  Up to 5 of each are
  28. allowed; later values override earlier values.  See the file post.doc for
  29. details.
  30.  
  31. Since the default for the SIZE option is to render the entire page at once
  32. you will in practice always need to supply this option.  You are
  33. recommended to experiment until you find a suitable set of values and then
  34. create a shell script for them.  As a starting point for a 1 megabyte
  35. machine, try:
  36.  
  37.     postband init.ps print ... size s480 mem v150000f30000l30000h5000
  38.  
  39. The exact amount of memory you have available depends on how many disks
  40. you have, and how many programs you have resident etc..  N.B. as PostBand
  41. copies the print file to a temporary file in the t: directory, it is
  42. probably a good idea to make sure t: is assigned to a disk and not a ram
  43. drive.
  44.  
  45. The default value for the VM size is 280000, as for earlier versions of
  46. Post, not 600000.
  47.  
  48. N.B. the aspect of the printer dump is always horizontal.
  49.  
  50. File structuring
  51. ================
  52.  
  53. The PostScript file structuring conventions basically assume that a program
  54. consists of a prologue that is executed once at the beginning, and a series
  55. of pages that can be executed independently - saving and restoring the vm.
  56.  
  57. All PostBand is looking for is simply the comments dividing the sections.
  58.  
  59. The first line must begin:
  60.  
  61.     %!PS-Adobe-
  62.  
  63. Then follows the prologue.  Each page begins:
  64.  
  65.     %%Page:
  66.  
  67. At the end of the file is the trailer, which begins:
  68.  
  69.     %%Trailer:
  70.  
  71. N.B. EPSF files, such as demos and clip art, do not fit this structure.
  72. But since they only contain a single "page" you can run the entire file
  73. once for each band; or if you prefer simply edit in the required "%%Page:".
  74.  
  75.