home *** CD-ROM | disk | FTP | other *** search
- DPRINT v2.01 J. Elliott, August 1993.
- ================================================================================
- Prints illustrated textfiles on a dot-matrix, bubblejet or daisywheel printer.
-
- Syntax:
-
- DPRINT filename.typ {/B | /C | /D}
-
- You should only use one option.
-
- The /B option should be included if you are using a bubblejet printer
- (eg BJ10e) or a printer which doesn't work properly without this option (eg
- IBM Graphics Printer).
- The /C option is for Diablo 630-type printers (eg 9512 daisywheel in DAISY
- mode).
- The /D option is for Epson-type printers which don't accept the ESC L n n
- graphics code (eg 9512 daisywheel in MATRIX mode).
-
- To use the 9512 daisywheel, set it up as follows:
-
- 1. Press PTR.
- 2. The first word on the line should read 'Daisy' if you are using /C or
- 'Matrix' if you are using /D. In general, I recommend /D, because the quality
- of output will be better.
- 3. Move the bar to 'Impression' and press [+] until it reads 'low'.
- 4. If a message says 'Waiting for paper' and there is paper in the printer, move
- the bar to this message and press [-].
- 5. Press EXIT.
- 6. After printing the picture, the printer may pause. Press PTR, move to the
- 'Waiting for paper' and press [-] followed by [EXIT] to continue.
-
- Some minor problems with the /D option are:
-
- 1. Speed! It's not so much a case of making a cup of coffee whilst printing, as
- making a four-course meal. Approximate printing time for a picture is 30 mins.
- 2. The lines are thicker than on the screen, so grey areas will become black and
- inverse video text will probably not be rendered too well.
- 3. Unless you print on good strong paper, you may well find it cut to shreds by
- the force of the daisywheel.
-
- The instruction in the text file to include a picture is:
-
- $ @filename$
-
- The picture can be in:
-
- ╝ PCWDRAW .PIC format
- ╝ Newsdesk International format (only top 12 lines will be printed).
- ╝ .PCP or .SPC format (save in inverse video; only the top 12 lines will be
- printed)
- ________________________________________________________________________________
-
- History:
-
- DPRINT v2.01 is modified from DPRINT v2.00 (also by me). The following
- features are new:
-
- 1. /C option (untested).
- 2. Minor changes to /B option, so that the first line of graphics prints
- correctly on a BJ10e.
- 3. Minor changes to /D option; just in case it is used on a bubblejet, it won't
- cause nasty blots. It is also 20% faster.
-
- DPRINT v2.01 has the same name and function (but none of the same code) as
- DPRINT by David Harvey, supplied as part of PCWDRAW (G/103). It has the
- following advantages:
-
- 1. It is written in Z80 assembler rather than HiSoft C, so:
- a. It is smaller - 3k rather than 7k of disc space.
- b. It is faster - 43 secs rather than 1 minute to print the test picture.
- 2. The /B, /C, /D options.
- 3. A helpscreen - type DPRINT /H to access it.
- ________________________________________________________________________________
-
- Technical:
-
- The way a picture is produced with the /D option is:
-
- 1. Line feed is set to 1/72 inch.
- 2. To move right 8 dots, the codes sent are: 18,27,"M",14," ",27,"P",20,8
- [ meaning: (+Pitch12D) (+Pitch10)(BackSpace) ]
- 3. To move right one dot, the codes sent are: 18,27,"M",14," ",27,"P",20,8,15,8
- [ meaning: (+Pitch12D) (+Pitch10)(BackSpace)(+Pitch17)(BackSpace) ]
- 4. For a dot, print ".",8 [ meaning: .(BackSpace) ]
- 5. For a blank, print nothing.
- 6. Repeat until finished.
-
- The /C option works as follows:
-
- 1. VMI is set to 1/48 inch. It should be 1/72 inch but 1/48 inch is the smallest
- possible.
- 2. HMI is set to 1/120 inch.
- 3. For a dot, print ".".
- 4. For a blank, print " ".
- 5. Repeat until finished. Reset to HMI=12 VMI=8 (Character pitch 10, line
- pitch 6).
-
- Some sample timings for the various options are:
-
- Printer |Option |Time |Comments
- -------------+-------+----------------+-----------------------------------------
- PCW Matrix |none | 43 secs |Recommended.
- PCW Matrix |/B | 43 secs |
- PCW Matrix |/D |33 mins 06 secs |Not recommended. Very slow and noisy.
- | | |
- Canon BJ10sx |none | 18 secs |
- Canon BJ10sx |/B | 20 secs |Recommended.
- Canon BJ10sx |/D | 6 mins 12 secs |Certainly not recommended! In some modes
- | | |this won't work properly. With other
- | | |similar programs (eg DPRINT v2.00) the
- | | |entire line will print as one big blot.
- -------------+-------+----------------+-----------------------------------------
- The BJ10sx printer was set to Epson emulation mode. The "no-options" print
- and the /D print would not have worked in BJ10e mode.
- It was not possible to test on a PCW daisywheel.
- ________________________________________________________________________________
-
- Acknowlegements:
-
- The idea of using the daisywheel as a 1-pin printer was suggested by Andrew
- Healy in the April 1991 edition of Amstrad PCW magazine.
- The extra codes for the /B option were supplied by Geoffrey Childs (and
- misused by me in v2.00).
- ________________________________________________________________________________