home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / multipr7.lha / MultiPrint.doc < prev   
Text File  |  1993-04-18  |  33KB  |  862 lines

  1. {\Centre}
  2. {\Bold +}
  3.                           MultiPrint V1.7 - Manual
  4.                                 John Matthews
  5.                                 19 April 1993
  6. {\Centre -}{\B -}
  7.  
  8.  NAME
  9.  ----
  10.  
  11. MultiPrint
  12.  
  13.  SYNOPSIS
  14.  --------
  15. {\Reformat -}
  16. {\Justify -}
  17.     MultiPrint <args>
  18.  
  19.       Files/A/M
  20.          :  Text file(s), to print and scripts of files to print.
  21.             Can also include layout commands. See Later.
  22.  
  23.       TabSize/N/K
  24.          :  Number of positions to expand tabs to, default is 8.
  25.             This is only used when there is no justification, and
  26.             paragraph reformatting is off.
  27.  
  28.       FF/S
  29.          :  Pay attention to FormFeed characters. Starts new pages on a
  30.             new column.
  31.  
  32.       Sides/S
  33.          :  Print to both sides of a sheet. Only useful with cut-sheet
  34.             feeder type printers, laser jets, HP Deskjets etc.
  35.             See note on 'Last Page'.
  36.  
  37.       Font/K
  38.          :  Name of font to use for text, defaults to LetterGothic.font
  39.             See notes later on font usage.
  40.  
  41.       Size/K/N
  42.          :  Point size of font, or pixel size if PxlFontSize specified.
  43.             Defaults to 8 points (1/72nds of an inch, ie 9 lines per inch)
  44.             or 8 pixels (real small, smaller at higher printer resolutions)
  45.             if you use Pxls.
  46.  
  47.       LineSpace/K/N
  48.          :  Point/Pixel size of each line to print. ie Use twice the font size
  49.             for double spacing.
  50.  
  51.       Columns/K/N
  52.          :  Number of columns to print, 1..8. Defaults to 2.
  53.  
  54.       Gutter/K/N
  55.          :  How many 1/10ths of an inch to leave at the left of odd, and
  56.             the right of even pages. Defaults to 5, ie half an inch
  57.  
  58.       OddFooter/K
  59.          :  Footer for odd pages, defaults to file name
  60.  
  61.       EvenFooter/K
  62.          :  Footer for even pages, defaults to file name
  63.  
  64.       FooterFont/K
  65.          :  Name of font for footers, defaults to same as Font
  66.  
  67.       FooterSize/K
  68.          :  Point size of footer font, or pixel size if PxlFontSize
  69.             specified. Specifying 0 causes MultiPrint to not print
  70.             a footer, which includes page numbering.
  71.             Defaults to 14 points (1/72ndsof an inch)
  72.             or 14 pixels (real small) if you use Pxls
  73.  
  74.       Pxls/S
  75.          :  Causes MultiPrint to treat font sizes as absolute pixel height,
  76.             instead of point sizes. This method is dependant on the
  77.             resolution of the printer, but is necessary for use with
  78.             non-scalable fonts. If you specify this flag, you should not
  79.             use the default font sizes.
  80.  
  81.       Priority/K/N
  82.          :  Specifies the priority to run the spooler task at
  83.  
  84.       Ask/S
  85.          :  Prompt for confirmation of each file to print
  86.  
  87.       Quiet/S
  88.          :  No error messages for unfound files.
  89.  
  90.       Margin/K/N
  91.          :  Space in 10ths of an inch to leave between columns.
  92.             Defaults to 1 tenth of an inch.
  93.  
  94.       Line/S
  95.          :  Causes MultiPrint to draw a line between columns
  96.  
  97.       Start/K/N,
  98.       End/K/N
  99.          :  Specifies which page to start/end printing on. Remember that
  100.             many parameters effect page layout, such a font, font size,
  101.             resolution, number of columns, footers etc
  102.  
  103.       Density/K/N
  104.          :  Specifies the preferences density to use when printing,
  105.             range 1..7. If you specify 0, you will be prompted with the
  106.             dots per inch of each density. Not specifying density
  107.             causes MultiPrint to use the current preferences density.
  108.             See note on resolution later.
  109.  
  110.       NoCommands/S
  111.          :  Tells MultiPrint not to interpret '{' followed by '\' as
  112.             commands. For those (infrequent) occassions when you have
  113.             such a sequence in your document. There is currently no
  114.             way in which you can print such a sequence, _and_ use
  115.             controls in the document.
  116.  
  117.       NoISP/S
  118.          :  Tells MultiPrint not to treat an indented line as the start
  119.             of a paragraph. Useful for files with indented paragraphs,
  120.             ie where the whole paragraph is indented. With this switch
  121.             on, only a blank line or the \P switch (see commands) will
  122.             start a new paragraph.
  123.  
  124.       Preview/S
  125.          :  Tells MultiPrint to run in Preview mode, printing a scaled
  126.             version of the output to the screen. While this is not
  127.             readable, it allows you to view the formatting of the output.
  128.             Very useful when printing pre-formatted, or unformattable
  129.             files (source code), to check if they are fitting in the
  130.             columns. Be aware that scaling varies with different display
  131.             sizes/printer resolutions/page sizes. Details such as the
  132.             between columns lines may not always be displayed.
  133.             Replaces the old 'Check' option.
  134.  
  135.       DisplayName/K
  136.          :  Gives the full name of a Screen Mode to use for the preview,
  137.             such as "PAL:High Res Laced" (you must include the PAL:, or
  138.             NTSC: as available).
  139.             The default display is High Res Laced, on PAL/NTSC depending
  140.             on your system.
  141.             Use "DisplayName=?" to bring up a requester.
  142.  
  143.  See Also the notes on 
  144.    Page/Printer Setup
  145.    Environment Arguments
  146.  
  147. {\Reformat =}
  148. {\Justify =}
  149.  
  150.  DESCRIPTION
  151.  -----------
  152.  
  153. MultiPrint is a program for printing text files to both sides of a page,
  154. in  multiple columns, and very small, or very large, high quality fonts.
  155.  
  156. As an example of the efficiency of MultiPrint, I have printed a file
  157. which was designed to be 127 pages long. I printed it at 7 points, which
  158. is small, but is readable at 300dpi, and it took only 8 sheets of paper.
  159. Having been reformatted with the +R switch, 346 lines of the original
  160. document were printed on the first side of a sheet alone.
  161.  
  162. MultiPrint makes use of many Amiga OS Release 2.04 features, and so
  163. requires at least this revision of the operating system. These features
  164. include Compugraphic Scalable Font technology, to produce characters to
  165. the correct size at the full resolution of the, printer, and the correct
  166. aspect ratios.
  167.  
  168.  
  169.  
  170.  SOURCE
  171.  ------
  172.  
  173. The source code is not included, but is available from the author.
  174. MultiPrint was writtern in M2Sprint Modula2, but should be easy to port to
  175. other languages if desired.
  176.                                        
  177.  
  178.  COPYRIGHT
  179.  ---------
  180.  
  181. MultiPrint V1.7 is freely distributable. MultiPrint V1.7 is free to be
  182. spread on public-domain and shareware disks especially on Fred Fish's
  183. AmigaLibDisks, as long as they are sold for a reasonable charge that is
  184. less than US $6 or equivalents. For use in commercial products the
  185. permission of the author is required. MultiPrint V1.7 may be copied and
  186. distributed via electronic networks such as the Internet, also it may be
  187. held available on anonymous ftp-servers, mail-boxes or BBS's. The
  188. Copyright is still held by the Author.
  189.  
  190. I am offering MultiPrint as shareware. If you use it regularly, let me
  191. know. If you want to show your appreciation, or maybe encourage me to
  192. develop the GUI version, or specific mods, the suggested registration fee
  193. is US$20 (in notes, or something easy like that, NZ$ even better), but this
  194. is just a suggestion. Registered owners with Usenet access will get some
  195. support via email. No obligations, no promises.
  196.  
  197. However, if you want to use it for some commercial project/product, please
  198. make it up to me somehow.
  199.  
  200. If you need some modifications done, offer me some incentive.
  201.  
  202. NO MATTER WHAT -
  203.  Leave the program as is, and documentation intact.
  204.  
  205.  AUTHOR & SUPPORT
  206.  ----------------
  207.  
  208. {\Centre +}
  209.     John Matthews
  210.     4 Wadham Grove,
  211.     Tawa, 6203
  212.     Wellington,
  213.     New Zealand.
  214.     INTERNET: tribble@gphs.vuw.ac.nz
  215.     (Irregular monitoring)
  216. {\Justify =}
  217.  
  218. Support may be limited to an attempt to fix any bugs which may be found,
  219. no promises. The author takes no liability for any damage caused by
  220. the program, but then, neither does he expect any.
  221.  
  222. Try the program out a few times before leaving it to print a large
  223. document unattended.
  224.  
  225. Leave me a message if you have any suggestions
  226.  
  227.  CHANGES
  228.  -------
  229.  
  230. 1.0 First Release, sort of. Was never really released
  231.     (29-Jan-93)
  232. 1.1 Second (attempt at a) Release.
  233.     Added support for multiple files and scripts.
  234.     (4-Feb-93)
  235. 1.2 Third ( attempt at a ) Release.
  236.     Added :
  237.       1. Right Justification.
  238.       2. Paragraph reformating.
  239.       3. Margins and Lines between columns.
  240.       4. Start/End page printing (for aborted print jobs)
  241.       5. Density setting.
  242. 1.3 Fourth ( (and successful) attempt at a ) Release.
  243.     February 24 1993
  244.     Added
  245.       1. Environment variable
  246.       2. LE and RE, to align columns on both sides of page.
  247.       3. Break commands
  248. 1.4 March 9 1993
  249.     Bug Fix :
  250.       fixed bugs in
  251.       1. handling of script files (it wouldn't)
  252.       2. printing of more than one file at a time (end of last line)
  253.       3. crashing on abort
  254.       4. centering of lines
  255.     Added
  256.       Inter-file title option (See Arguments below)
  257.  
  258. 1.5 March 20 1993
  259.     Bugs fixed :
  260.       1. printing of multiple files, other than starting a new sheet per
  261.          document.
  262.       2. fixed error with lines containing only spaces
  263.     Added
  264.       1. direct support for HP printers. See documentation.
  265.       2. NoCommands option (for Rob Poole)
  266.     Changed
  267.       1. Moved printer specific options into MultiPrint.printer
  268.          environment variable
  269.       2. Lengthened some command line option names
  270.  
  271. 1.6 April 5, 1993
  272.     Bugs fixed :
  273.       1. Re-occurring centering bug (Rob Poole).
  274.       2. Error with .otag files specifying non-present fonts.
  275.          Caused MultiPrint to not change styles (Italics etc)
  276.          if your CGTimes .otag file specified CGTimesItalic and
  277.          you didn't have it.
  278.       3. Possibly other formatting problems.
  279.       4. (Hopefully) fixed problem with Network printers found
  280.          by Dale Larson. Waiting to hear on this one.
  281.       5. Now starts new files on a new sheet when it's supposed
  282.          to, (the default) instead of always just on a new line.
  283.          (Rob Poole again! Watch it you guys or I might start
  284.          putting bugs in intentionally to give other guys a
  285.          chance!)
  286.       6. Enforcer hit on last page (it came and went).
  287.     Added
  288.       1. NoISP switch on command line.
  289.       2. \Paragraph command, to go with 1.
  290.  
  291.     Tested with Enforcer, Mungwall etc. I didn't find any hits.
  292.     Let's hope Dale doesn't either.
  293.  
  294. 1.7 April 19, 1993
  295.     Bugs fixed :
  296.       1. Printing of inter-file headers (via the +T flag) corrected
  297.          to print before the new file, instead of after the old.
  298.          This means it prints on the same sheet/page/column as the
  299.          new file (dependant in the L/C/P/S flags).
  300.       2. Corrected allignment of even pages when not printing to
  301.          both sides of a sheet.
  302.       3. Check option didn't work anymore :-(
  303.          Has now been removed, as it is superceded by the Preview
  304.          option, which is much simpler and more flexible (ie works
  305.          with reformating and justifying).
  306.       4. Now frees memory from page-in-progress when aborted.
  307.     Features Added:
  308.       1. Preview function. Allows a look at how the document will
  309.          appear, without printing.
  310.          Very useful when printing pre-formatted, or unformattable
  311.          files (source code), to check if they are fitting in the
  312.          columns.
  313.       2. HPShingle added to printer setup environment variable,
  314.          MultiPrint.Printer. See the note on Shingling in the
  315.          HPPrinter options below. Basically, it sacrifices speed
  316.          to improve quality on DeskJet printers from HP500C up.
  317.  
  318. 2.0 (Planned) Workbench interface. Drop and go operation and more.
  319.     This version may never eventuate. It depends on how much feedback
  320.     I get, as well as how much time I have to spend.
  321.     The amount of work required to do this properly grows on me
  322.     whenever I contemplate it. Some settings must be available only
  323.     on startup, and should be savable as defaults. Some should
  324.     be able to be modified on a per file basis, and some, mostly
  325.     those related to page size and printer resolution choices,
  326.     are limited by the implementation to startup-time only.
  327.     Let's face it - GUIs are _nice_ but unnecessary.
  328.  
  329.     However, having said all this, unless something else comes along,
  330.     I probabably will slowly work on increasing the GUI elements,
  331.     in a piece-by-piece basis.
  332.  
  333.  
  334.  
  335.  PURPOSE & THEORY
  336.  ----------------
  337.  
  338. MultiPrint was designed to print text files to as few pages as possible.
  339. You know how sometimes having a .doc file is not good enough, you need to
  340. be able to see it on paper, because you are always referring to it. Or you
  341. have a really neat StarTrek© parody you want to show someone.
  342.  
  343. MultiPrint can print using multiple columns, both sides of a page, with
  344. really small, but still high resolution fonts to fit many times the usual
  345. amount on a page.
  346.  
  347. For example, an A4 page can usually hold about 60 lines of text. With
  348. MultiPrint and an 7 point font (about 30 pixels high on a 300dpi laser or
  349. deskjet) giving 100 lines of text, with 2 columns of output to both sides
  350. of the page gives 100 * 2 * 2 = 400 lines per page.
  351.  
  352. MultiPrint uses whichever font you specify, and can handle narrow and
  353. proportional fonts to increase the number of columns you can print. Lines
  354. can be wrapped around and right justified for improved use of space and
  355. readability, producing newspaper like output.
  356.  
  357. MultiPrint allows a gutter for stapling sheets together. The default of
  358. 5/10ths of an inch is quite adequate.
  359.  
  360. MultiPrint determines page size, and resolution from the system. Page
  361. oriented printers such as laser printers and Hewlett Packard DeskJets
  362. specify their resolutions directly. Tractor feed etc printers must have
  363. their lines/inch and number-of-lines set correctly to reflect page length,
  364. but they don't work so well for both sides printing anyway.
  365.  
  366. MultiPrint queues the pages, and uses a child process to print the even
  367. pages first in ascending order, then the odd pages in descending order on
  368. the reverse sides.
  369.  
  370. Due to the queueing of pages, MultiPrint can use a certain amount of
  371. memory. All pages are stored in memory as they are processed, also the
  372. program requires a buffer for processing the pages. Text files don't
  373. usually get large enough for this to be a problem on most systems these
  374. days, and this is faster and easier than spooling off to disk again.
  375.  
  376.  
  377.  VERSION
  378.  -------
  379.  
  380. This is version 1.7 of MultiPrint. It does everything I need, but I would
  381. like to give it a nice Workbench interface. This may, however, take time.
  382.  
  383. If anyone has any need for features other than those present, let me know,
  384. and maybe offer suitable inducements :-)
  385.  
  386. I'd like, at least, to make enough money to offset the cost of the ink
  387. cartridge I've almost used all of in testing this program.
  388.  
  389.  
  390.  STARTING
  391.  --------
  392.  
  393. MultiPrint is a Shell/CLI only program, and requires at least version 2.04
  394. of the Amiga OS. All parameters, as described above, except for the file
  395. name, have defaults and require keyword specifications to override them.
  396.  
  397. MultiPrint runs at a default priority of -1, as a good printing utility
  398. should, though this can be changed with the priority keyword. Priority is
  399. not overly important in some respects, however, as MultiPrint does not
  400. busy-wait. If your computer is fast enough, and/or so is your printer
  401. driver, you could well be waiting on your printer. Laser printers however
  402. will more likely be waiting on the computer, and so MultiPrint will be
  403. grabbing every available cycle, so leave at a low priority for background
  404. printing.
  405.  
  406. Before printing a file, it may be a good idea to use the "Check" option to
  407. determine how much line wrapping is occuring. Modern fonts are variously
  408. weighted. A good, light proportional font can fit many more characters on
  409. average than a heavy non-proportional font, so check if the current number
  410. of columns and font size will avoid line wrapping. Too much line-wrapping
  411. and you may end up wasting space with mostly blank lines.
  412.  
  413. MultiPrint can be stopped at any time with a <CTRL>-C, or the break
  414. command. It runs unattended until the midway point, if you have specified
  415. the "Sides" option. In this case, when it finishes printing the even pages,
  416. a prompt will appear. Wait for the printer's buffer to empty, take the pages
  417. in the order they fill up your tray (reversed) and place them back in the
  418. paper bin, face up (for DeskJets, I'm not sure for other printers), and hit
  419. 'Continue'. When the program finishes, the pages will be up the right way,
  420. and in the correct order.
  421.  
  422.  
  423.  ARGUMENTS
  424.  ---------
  425.  
  426. As described at the start of this document, plus
  427.  
  428. Layout Commands:
  429. You can precede file names with flags to control layout. These are
  430. specified as a plus (on) or minus (off) followed by the one of the
  431. following characters preceding file names they are to operate on, and
  432. stay in effect till specified again:
  433.  
  434.    C : new files begin on a new column
  435.    P : new files begin on a new page
  436.    S : new files begin on a new sheet (the default)
  437.    L : new files begin on a new line
  438.    N : restart page numbering after each file
  439.  * J : following files start in Right Justify mode
  440.  * R : following files will start in paragraph reformatting mode
  441.  * T : following files will be preceded by their name in the form
  442.   -------------------------------text.doc---------------------------------- 
  443.  
  444. Codes marked as * are effected by the plus/minus. A minus to J or C
  445. results in no justification, a minus to R turns off paragraph reformating.
  446.  
  447. eg. MultiPrint +J +R DocumentFile -J -R SourceCode.c
  448.  
  449. The +S option, for start document on a new sheet, resets page numbers,
  450. and in the case of both sides printing, finishes the printing of all queued
  451. odd and even pages before continuing.
  452.  
  453. Script files:
  454. You can print a list of files by passing a file starting with a first
  455. line consisting of ";SCRIPT" (no quotes). Subsequent lines are controls
  456. as above, and file names. If a file name starts or ends with spaces, it
  457. should be quoted.
  458.  
  459. You can specify wildcards, but remember - MultiPrint does no analysis of
  460. whether a file is plain text or not. Printing binary code can eat your
  461. paper!
  462.  
  463. If FF is specified, FF characters start a new column.
  464.  
  465. The maximum number of columns is eight. Four is usually more than adequate.
  466. If you have a need for more, let me know
  467.  
  468. Font sizes should be specified in points, which are 1/72nds of an inch.
  469. This will result in the same size font on paper, no matter what resolution
  470. your printer handles/is set at. See note on resolution.
  471.  
  472. However, if you don't have any scalable fonts, you may have to specify the
  473. sizes of fonts directly. In this case use the "PxlFontSize" switch.
  474.  
  475. The "Height" argument is used to increase/decrease inter-line spacing. Use
  476. a point size greater than the font size for a larger spacing, smaller for
  477. less (at the risk of chopping the bottom off the characters).
  478.  
  479. "OddFooter"/"EvenFooter" override the default of using the filename in the
  480. footers.
  481.  
  482.  LAYOUT WITHIN A DOCUMENT
  483.  ------------------------
  484.  
  485. MultiPrint is designed in such a way that you shouldn't need to modify
  486. a document before printing it.
  487.  
  488. Sometimes, however, you might want to.
  489.  
  490. For example, there may be parts of a document where you don't want
  491. paragraph reformatting to occur. Or you might want to centre just a
  492. heading. Or you might want to use bold or italics for added emphasis.
  493.  
  494. MultiPrint recognises ANSI sequences for bold/italics such as are
  495. recoginised by Amiga printer drivers, and by the console device, and
  496. are sometimes used in documents.
  497.  
  498. MultiPrint also recognises some sequences of its own.
  499.  
  500. These sequences begin with a '{' followed by a '\' and end with either '}'
  501. or the end of line.
  502.  
  503. They are of the format:
  504.  \Xy a
  505. where 'X' is the first letter of the command, 'y' is the rest of the
  506. command, and doesn't need to be present, {\B +}the space is required{\B -}
  507. if 'a' is present, and 'a' is the argument.
  508.  
  509. {\BOLD +}All these commands should be surrounded by '{' and '}', but if
  510. I did that here, they would not appear if you printed this document with
  511. MultiPrint. {\BOLD -}
  512. -- Thanks to Rob Poole
  513.  
  514. Please remember, you don't have to use any of these in your document to
  515. get good output. Just precede the document name on the command line with
  516. '+J +R'.
  517.  
  518. They currently include:
  519.  
  520. \Bold [+|-]
  521.  {\B +}Turns bold on/off. Default is on. DOES NOT TOGGLE.{\B -}
  522.  
  523. \Italic [+|-]
  524.  {\I +}As with bold.{\I -}
  525.  
  526. \Underline [+|-]
  527.  {\U +}As with bold.{\U -}
  528.  
  529. \Normal
  530.  {\N }Turns off all styles.
  531.  
  532. \Justify [+|-|=]
  533.  Turns on/off. '=' means reset to this document's initial state.
  534.  
  535. \Centre [+|-]
  536.  Turns line centering on/off. Turning centering off is the same as
  537. switching to non-justified. If you want to return to justified use
  538. \Justify + instead. If you want to return to the previous justification
  539. use \Justify =.
  540.  
  541. \Reformat [+|-|=]
  542.  As with Justify, but for paragraph reformatting. Turn it on/off/back to
  543. the original setting for this document.
  544.  
  545. \Font [fontname]
  546.  Change font. Will attempt to change to the new font. The font will be
  547. in the current style, so if you want it un-styled, use \N first.
  548.  
  549. If 'fontname' is not specified, returns to the default font as specified
  550. on the command line.
  551.  
  552. \Section <Column|Page|Sheet>
  553.  Cause a break in the document. One of C,P or S must be specified and
  554. causes printing to continue on a new column, page (side of a sheet)
  555. or sheet.
  556.  
  557. \Paragraph
  558.  Force paragraph break. Only really necessary if you want paragraphs which
  559. start at the left margin, with no empty lines between them.
  560.  
  561. NOTE: - for Justify and Reformat only.
  562. Justify and Reformat only take effect at the start of a line.
  563.  
  564. If they are specified elsewhere, they are IGNORED.
  565.  
  566. If they are followed by the end of a line (no spaces), that line is
  567. ignored, no blank line is output. This can be assured by leaving out
  568. the closing '}'.
  569.  
  570.  
  571.  SPEED
  572.  -----
  573.  
  574. MultiPrint is not the fastest way of printing. It does, after all, print
  575. everything as graphics. This however is the most flexible way, and allows
  576. for the maximum amount on a page (if you can read small, high density
  577. text). Let it run in the background, however, and you only need to do
  578. anything when all the even pages are finished (when doing both-sides
  579. printing).
  580.  
  581. I admit, some printers are so slow at graphics (for example old DeskJets)
  582. that you may feel this method is pointless. Still, it gives you the
  583. option.
  584.  
  585. Still, in some cases you are able to fit so many pages onto the one sheet,
  586. it is actually faster than printing that many sheets.
  587.  
  588. For higher speed use a lower density, but don't use too small a font.
  589.  
  590.  NOTES
  591.  -----
  592.  
  593.  Resolution
  594.  ----------
  595.  
  596. The lower the resolution you use for printing, the less readable a font
  597. at the same point size will be. A point size of 7 at 300dpi uses a system
  598. font size of 29 pixels high, at 150 dpi the same font is only 14 pixels
  599. high.
  600.  
  601.  Font Quality
  602.  ------------
  603.  
  604. This ties in directly with resolution. Fonts are designed for different
  605. purposes, and because of this can be of different qualities.
  606.  
  607. For instance, many fonts on the Amiga are designed as screen fonts.
  608. As such they are limited often to small point sizes, and even the larger
  609. ones may not look good when printed.
  610.  
  611. MultiPrint is designed primarily with high resolution printers, and
  612. scalable fonts in mind. Most scalable fonts are designed to be used at
  613. high resolutions, and have a lot of detail in them. They look very good
  614. printed at 300dpi with point sizes as low as 7pt. This makes them 29 dots
  615. high. If you have tried using these scalable fonts as screen fonts,
  616. however, you will know that below a certain size, they no longer look so
  617. good. Fonts that are to be used with low dot sizes, must be designed for
  618. them.
  619.  
  620. The bottom line is this:
  621. If you intend to print at resolutions lower than 300dpi, either keep
  622. to a reasonable point size (at least 10 to 12) or find a font that
  623. looks okay at whatever size you require.
  624.  
  625. You might have to rely on system (non scalable fonts) using the 'Pxls'
  626. argument.
  627.  
  628.  Scalable Fonts
  629.  --------------
  630.  
  631. MultiPrint tries to be smart with Scalable fonts. If you specify
  632. italics, or bold, or both together, it will attempt to load the correct
  633. font for that style, rather than letting the system generate one. This
  634. results in far superior italics and bold etc at the expense of whatever
  635. time is required to open these fonts. MultiPrint will of course fall
  636. back to system generated versions if necessary. However, do try to
  637. specify the base name for a family of a fonts if possible. For example,
  638. use CSTimes where you also have CSTimesBold, CSTimesItalic, and
  639. CSTimesBoldItalic.
  640.  
  641.  Fonts in general
  642.  ----------------
  643.  
  644. Should always be on your FONTS: assign path, and don't need to be
  645. specified with the '.font' extension. If you specify a scalable font
  646. by its full path, bold/italic versions will not be found. Instead use
  647. 'assign Fonts: "path" add' to add the path to your fonts assign.
  648.  
  649. MultiPrint keeps all fonts used in memory until it finishes, so you may
  650. run out of Chip memory for fonts if you use too many. If MultiPrint
  651. cannot open a font for any reason, it will continue using the previous
  652. font.
  653. NOTE: when I say Font, I also mean style of Font (bold, italic etc).
  654.  
  655.  Paragraph Reformatting
  656.  ----------------------
  657.  
  658. Paragraph Reformatting is very useful for fitting text files into narrow
  659. columns, where they would either frequently wrap, or seldom come close to
  660. filling the line.
  661.  
  662. In conjunction with right justification, or flushing, you get a very nice,
  663. newspaper style output.
  664.  
  665. The problem with paragraphs is determining where they end.
  666.  
  667. In MultiPrint, paragraphs are broken up in two ways:
  668. 1. A line which begins with a space begins a new paragraph.
  669. 2. A blank line marks the end of a paragraph.
  670.  
  671. The only common method this misses out, is paragraphs which start at the
  672. beginning of a line, with no empty line before them.
  673.  
  674. With such paragraphs, you can only tell if there is a break by the fluke
  675. of how much blank space there is at the end of the last line.
  676.  
  677. Documents with paragraph breaks of this kind will need to have their
  678. paragraph breaks manually modified before printing.
  679.  
  680. {\BOLD +}Please be aware that this document has had special attention to work
  681. properly with paragraph reformatting on. Many files produced as
  682. documentation for a program have headings, and formatting in them that
  683. MultiPrint's reformatting will destroy.
  684.  
  685. With such files, where the formatting is important, use Justification
  686. if you like, but leave reformatting off. Or, you can modify the document
  687. to manually control the use of paragraph reformatting throughout.{\BOLD -}
  688.  
  689.  Page/Printer Setup
  690.  ------------------
  691.  
  692. MultiPrint gets most of the information it needs from Preferences,
  693. and so you should make certain your preferences are set correctly,
  694. including printer driver, page size and density, even if you use the
  695. HPPrinter option (see below).
  696.  
  697. However some information is not available in this manner.
  698.  
  699. In particular:
  700.  
  701. Printers seldom print to the whole page. In particular, DeskJet 500
  702. printers cannot print to the top 5 millimetres of a page, the last
  703. two centimetres, the left 3 millimetres, or the right 10 millimetres.
  704.  
  705. In order to get the columns of either side of a sheet of paper to
  706. line up, you need to specify the left and right edges of printing as
  707. the LeftEdge and RightEdge parameters in the environment variable
  708. "MultiPrint.printer". See also the section on HP printers below.
  709.  
  710. The best way to find the correct LeftEdge and RightEdge values is
  711. to print a test page with Gutter=0 as an option, and LeftEdge and
  712. RightEdge unset, or set to 0 in MultiPrint.printer, and with +R and +J
  713. before the file name, and End=1 to limit the printing to one page.
  714. Then measure (in millimeters) the left and right edges of the printing.
  715.  
  716.  Hewlett Packard Printers
  717.  ------------------------
  718.  
  719. Starting with version 1.5, MultiPrint can print directly to Hewlett
  720. Packard printers. This is not so always faster, that depends on the
  721. speed of your computer and printer - on my system, using the printer
  722. device to do the printing keeps up with the printer - but will always
  723. use less processor overhead. It also allows for printing to more of
  724. the page than the printer device can.
  725.  
  726. As with the Left and Right edges as explained above, printers have
  727. top and bottom margins. These vary with printer models also, and are
  728. not provided for by preferences, which takes the lowest-common-multiple
  729. approach.
  730.  
  731. Setting the HPPrinter flag in the MultiPrint.printer environment
  732. variable tells MultiPrint to print directly to an HP printer.
  733.  
  734. Use the HPNoCompression flag if your printer does not support compression,
  735. such as early DeskJet models.
  736.  
  737. HPShingle is a value to use to effect quality of printing on DeskJet
  738. printers, and is only effective on HP500C (note the C) and up.
  739. So far, this is only the HP500C and HP550C.
  740.  
  741. Shingling causes the printer to print graphics in multiple passes, to
  742. avoid laying down too much ink at once, causing "blooming".
  743. Using HPShingle=0 (the default) results in no shingling. The printer
  744. prints at full speed. HPShingle=1 results in each pass of printing only
  745. 50% of the data, and so requires two passes when HPShingle=0 would require
  746. only one. HPShingle=2 prints only 25% per pass, and so requires four
  747. passes, and so four times the amount of time, than HPShingle=0.
  748.  
  749. If you are willing to sacrifice speed for quality, HPShingle=1 is the
  750. way to go.
  751.  
  752.  
  753. The PageLength setting in the MultiPrint.printer variable tells MultiPrint
  754. just how long a _printable_ page your printer supports, for a given page
  755. size. To set this variable, follow this procedure:
  756.  
  757.  1. Set the correct page size in Preferences for the paper you use.
  758.  2. Set the MultiPrint.printer environment variable, with the LeftEdge
  759.     and RightEdge values as determined above, and with HPPrinter set.
  760.  3. Set PageSize=500 (or higher) in the MultiPrint.printer environment
  761.     variable.
  762.  4. Print a page as described above, ie with +J +R and End=1
  763.  5. Take the measurement, top of the text to last line printed, in
  764.     millimeters.
  765.  6. Use this value for PageSize in the MultiPrint.printer environment
  766.     variable in future.
  767.  
  768. For example, the correct settings for a DeskJet 500 printer with A4 paper
  769.  are :
  770.  
  771.  SetEnv MultiPrint.printer "LeftEdge=3 RightEdge=10 PageLength=283 HPPrinter"
  772.  
  773. and then, for permanent effect,
  774.  
  775.  copy env:MultiPrint#? envarc:
  776.  
  777. Via the printer.device, you get about 5 millimeters, or 1/2 an inch margin
  778. at the top, and 21 millimeters, or just under 7 8ths of an inch at the bottom.
  779. Using HPPrinter and PageSize=283, you get 2 and 9 millimeters, respectively.
  780.  
  781.  
  782.  Environment Variables
  783.  ---------------------
  784.  
  785. MultiPrint uses two environment variables, MultiPrint.opts and
  786. MultiPrint.printer, to control often used options, and optimise your
  787. printer usage. Neither of these variables can be termed necessary,
  788. but they improve either usage, quality of output, or speed. If you don't
  789. use them, you're stuck with my defaults, or with specifying all arguments
  790. always. If you don't set them, the columns on either side won't allign,
  791. and you won't get optimal speed or page usage on HP printers.
  792.  
  793. MultiPrint.opts:
  794.  
  795. This environment variable has exactly the same format as the command line,
  796. so make sure you try anything you intend to put in it on the command line
  797. first. Also, avoid putting anything that will be interpretted as a file
  798. name in the environment variable.
  799.  
  800. Switches which are specified in the environment variable, such as
  801. 'Line' or 'Sides' cannot be turned off in the command line. Do not use
  802. them in your environment variable unless you intend to always use
  803. them.
  804.  
  805. An example environment variable would be
  806.  
  807. setenv MultiPrint.opts "+R +J font=CSTimes line LE=3 RE=10"
  808.  
  809. This sets MultiPrint to default to Reformating, Justification, using
  810. CSTimes as the text body font, drawing a line between columns, and
  811. expecting the offsets Desjet 500s print to.
  812.  
  813. You should uses "Setenv EnvArc:MultiPrint.opts" to set a permanent
  814. default.
  815.  
  816. MultiPrint.Printer:
  817.  
  818. This variable sets page offsets to allow the allignment of columns on
  819. either side of a sheet, as well as options for optimal use of an
  820. Hewlett Packard printer. It works similar to command lines, and has
  821. the format :
  822.  
  823.  LeftEdge/K/N,RightEdge/K/N,PageLength/K/N,HPPrinter/S,HPShingle/K/N,
  824.  HPNoCompression/S
  825.  
  826. and functions as follows:
  827.  
  828.  LeftEdge/K/N,RightEdge/K/N
  829.    :  measurements made as explained in Page/Printer Setup
  830.  
  831.  PageLength/K/N
  832.    :  measurement made as explained in Hewlett Packard Printers
  833.  
  834.  HPPrinter/S,HPNoCompression/S
  835.    :  switches as explained in Hewlett Packard Printers
  836.  
  837.  HPShingle/K/N
  838.    :  as explained in Hewlett Packard Printers
  839.  
  840.  Last Page
  841.  ---------
  842.  
  843. When printing to both sides of a sheet, the last even page is printed,
  844. even if it is empty. This is so the sheet is ready for the odd page.
  845.  
  846. Printing empty lines can be slow, depending on your printer and printer
  847. driver. The printer may appear to be doing nothing for a while after
  848. printing a small amount on the last even page, and the last odd page,
  849. which is printed immediately after. This should not happen if you use
  850. the HPPrinter option.
  851.  
  852.  Both Sides Printing
  853.  -------------------
  854.  
  855. After all the even pages are printed, you will be prompted to re-insert
  856. the pages, once the printer has finished printing (emptied its internal
  857. buffers).
  858.  
  859. On a deskjet printer, the pages should be inserted as they came out of
  860. the printer, face up, top of page closest to the print mechanism.
  861.  
  862.