home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / demon / amstrad / dshow.arc / DPRINT.DOC < prev    next >
Encoding:
Text File  |  1993-08-12  |  5.4 KB  |  125 lines

  1. DPRINT v2.01                                            J. Elliott, August 1993.
  2. ================================================================================
  3.   Prints illustrated textfiles on a dot-matrix, bubblejet or daisywheel printer.
  4.  
  5.   Syntax:
  6.  
  7.    DPRINT filename.typ {/B | /C | /D}
  8.  
  9.   You should only use one option.
  10.  
  11.   The /B option should be included if you are using a bubblejet printer
  12. (eg BJ10e) or a printer which doesn't work properly without this option (eg
  13. IBM Graphics Printer).
  14.   The /C option is for Diablo 630-type printers (eg 9512 daisywheel in DAISY
  15. mode).
  16.   The /D option is for Epson-type printers which don't accept the ESC L n n
  17. graphics code (eg 9512 daisywheel in MATRIX mode).
  18.  
  19.   To use the 9512 daisywheel, set it up as follows:
  20.  
  21. 1. Press PTR.
  22. 2. The first word on the line should read 'Daisy' if you are using /C or
  23.   'Matrix' if you are using /D. In general, I recommend /D, because the quality
  24.   of output will be better.
  25. 3. Move the bar to 'Impression' and press [+] until it reads 'low'.
  26. 4. If a message says 'Waiting for paper' and there is paper in the printer, move
  27.   the bar to this message and press [-].
  28. 5. Press EXIT.
  29. 6. After printing the picture, the printer may pause. Press PTR, move to the
  30.   'Waiting for paper' and press [-] followed by [EXIT] to continue.
  31.  
  32.   Some minor problems with the /D option are:
  33.  
  34. 1. Speed! It's not so much a case of making a cup of coffee whilst printing, as
  35.   making a four-course meal. Approximate printing time for a picture is 30 mins.
  36. 2. The lines are thicker than on the screen, so grey areas will become black and
  37.   inverse video text will probably not be rendered too well.
  38. 3. Unless you print on good strong paper, you may well find it cut to shreds by
  39.   the force of the daisywheel.
  40.  
  41.   The instruction in the text file to include a picture is:
  42.  
  43. $ @filename$
  44.  
  45.   The picture can be in:
  46.  
  47. ╝ PCWDRAW .PIC format
  48. ╝ Newsdesk International format (only top 12 lines will be printed).
  49. ╝ .PCP or .SPC format (save in inverse video; only the top 12 lines will be
  50.   printed)
  51. ________________________________________________________________________________
  52.  
  53. History:
  54.  
  55.   DPRINT v2.01 is modified from DPRINT v2.00 (also by me). The following
  56. features are new:
  57.  
  58. 1. /C option (untested).
  59. 2. Minor changes to /B option, so that the first line of graphics prints
  60.   correctly on a BJ10e.
  61. 3. Minor changes to /D option; just in case it is used on a bubblejet, it won't
  62.   cause nasty blots. It is also 20% faster.
  63.  
  64.   DPRINT v2.01 has the same name and function (but none of the same code) as
  65. DPRINT by David Harvey, supplied as part of PCWDRAW (G/103). It has the
  66. following advantages:
  67.  
  68. 1. It is written in Z80 assembler rather than HiSoft C, so:
  69.    a. It is smaller - 3k rather than 7k of disc space.
  70.    b. It is faster - 43 secs rather than 1 minute to print the test picture.
  71. 2. The /B, /C, /D options.
  72. 3. A helpscreen - type DPRINT /H to access it.
  73. ________________________________________________________________________________
  74.  
  75. Technical:
  76.  
  77. The way a picture is produced with the /D option is:
  78.  
  79. 1. Line feed is set to 1/72 inch.
  80. 2. To move right 8 dots, the codes sent are: 18,27,"M",14," ",27,"P",20,8
  81.   [ meaning: (+Pitch12D) (+Pitch10)(BackSpace) ]
  82. 3. To move right one dot, the codes sent are: 18,27,"M",14," ",27,"P",20,8,15,8
  83.   [ meaning: (+Pitch12D) (+Pitch10)(BackSpace)(+Pitch17)(BackSpace) ]
  84. 4. For a dot, print ".",8   [ meaning: .(BackSpace) ]
  85. 5. For a blank, print nothing.
  86. 6. Repeat until finished.
  87.  
  88. The /C option works as follows:
  89.  
  90. 1. VMI is set to 1/48 inch. It should be 1/72 inch but 1/48 inch is the smallest
  91.   possible.
  92. 2. HMI is set to 1/120 inch.
  93. 3. For a dot, print ".".
  94. 4. For a blank, print " ".
  95. 5. Repeat until finished. Reset to HMI=12 VMI=8 (Character pitch 10, line
  96.   pitch 6).
  97.  
  98. Some sample timings for the various options are:
  99.  
  100. Printer      |Option |Time            |Comments
  101. -------------+-------+----------------+-----------------------------------------
  102. PCW Matrix   |none   |        43 secs |Recommended.
  103. PCW Matrix   |/B     |        43 secs |
  104. PCW Matrix   |/D     |33 mins 06 secs |Not recommended. Very slow and noisy.
  105.              |       |                |
  106. Canon BJ10sx |none   |        18 secs |
  107. Canon BJ10sx |/B     |        20 secs |Recommended.
  108. Canon BJ10sx |/D     | 6 mins 12 secs |Certainly not recommended! In some modes
  109.              |       |                |this won't work properly. With other
  110.              |       |                |similar programs (eg DPRINT v2.00) the
  111.              |       |                |entire line will print as one big blot.
  112. -------------+-------+----------------+-----------------------------------------
  113.   The BJ10sx printer was set to Epson emulation mode. The "no-options" print
  114. and the /D print would not have worked in BJ10e mode.
  115.   It was not possible to test on a PCW daisywheel.
  116. ________________________________________________________________________________
  117.  
  118. Acknowlegements:
  119.  
  120.   The idea of using the daisywheel as a 1-pin printer was suggested by Andrew
  121. Healy in the April 1991 edition of Amstrad PCW magazine.
  122.   The extra codes for the /B option were supplied by Geoffrey Childs (and
  123. misused by me in v2.00).
  124. ________________________________________________________________________________
  125.