home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / multipr9.lha / MultiPrint.doc < prev   
Text File  |  1993-04-28  |  36KB  |  927 lines

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