home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / LASER / PCBOOK2.ZIP / PCBOOK2.DOC next >
Encoding:
Text File  |  1990-09-15  |  5.3 KB  |  103 lines

  1. *******************************************************************************
  2.                                    NOTICE
  3. *******************************************************************************
  4. THIS IS A MODIFIED PC MAGAZINE UTILITY. THEREFORE YOU MUST BE AWARE THAT NEITHER
  5. PC MAGAZINE, ITS PUBLISHER, NOR THE MODIFIER MAY BE HELD RESPONSIBLE FOR ANY
  6. DAMAGES CAUSED BY THE USE OR MISUSE OF THIS PROGRAM. ALTHOUGH CURRENTLY IN USE
  7. AT SAVANT TECHNOLOGIES OF DALLAS ON A REGULAR BASIS, WE MAKE NO CLAIMS OR
  8. GUARANTEES AS TO ITS PERFORMANCE. BY USING PCBOOK2 YOU AFFIRM THAT YOU HAVE 
  9. READ THIS AGREEMENT AND AGREE TO HOLD THE PARTIES ABOVE HARMLESS.
  10. *******************************************************************************
  11.  
  12.          Whew! Now that we have that out of the way...
  13.  
  14.          I was very pleased with PCBOOK as provided by PC Magazine in their
  15.          last issue, although we have LaserJet II-D's in our office, and
  16.          I could not understand why I should have to walk back and flip
  17.          the paper over and refeed it!
  18.  
  19.          I therefore took it upon myself to modify the original program
  20.          and create a version which would automatically print in duplex
  21.          mode. The result is PCBOOK2.
  22.  
  23.          In addition to the duplexing changes, I have modified the user 
  24.          interface slightly so as to be more user friendly and less
  25.          scary during long pauses. Here is a summary of changes:
  26.  
  27.                    - Added scan phase idiot lights
  28.                    - Added print phase idiot lights
  29.                    - Added automatic duplexing for HP LaserJet IID/IIID
  30.                    - Used Crescent's PDQ for compilation
  31.                       (this greatly reduced EXE size and sped up program!)
  32.                    - Optimized some areas of code for speed
  33.                    - Modified action of /C option
  34.                    - Added /? option (same as /H option)
  35.                    - Allowed options that immediately followed filename
  36.                       (e.g. PCBOOK2 FILENAME.DOC/P/F, whereas before only
  37.                             PCBOOK  FILENAME.DOC /P/F would work correctly)
  38.                    - Modified so that INPUT and ALTERNATE output filenames
  39.                       could not be the same (could be disastrous!)
  40.  
  41.  
  42.          I hope that someone else obtains value from this, I know I definitely
  43.          have!
  44.  
  45.  
  46.                                                       - Mike Shaffer
  47.                                                         SOS-BBS
  48.                                                         (214) 340-6896
  49.  
  50.  
  51.          P.S. I am not allowed to redistribute my modified source code 
  52.               because of my licensing agreement with Crescent Software on
  53.               their PDQ product. Sorry, but I'm a stickler for the rules!
  54.  
  55. *******************************************************************************
  56.                    ORIGINAL DOCUMENTATION FOR PCBOOK FOLLOWS
  57. *******************************************************************************
  58. PCBOOK
  59.  
  60.  
  61. Jay Munro                                     October 16, 1990 (Utilities)
  62.  
  63. Purpose:       Prints README and similar ASCII files in booklet format on an
  64. HP LaserJet II, IIp, or III printer.  Uses two-sided printing in landscape
  65. mode, with Line Printer font so that  four standard pages of 80
  66. characters/line, 66 lines/page are printed on each sheet without formatting
  67. changes.
  68.  
  69. Format: PCBOOK [path] filename [/F] [/P] [/D] [/C] [/2] [/A] [/W] [/S] [/H]
  70.  
  71. Remarks:       The filename can designate any ASCII text file in which each
  72. line is terminated with a Carriage Return/Line Feed combination.  Page Feed
  73. characters can be added to force breaks in addition to those implicit in the
  74. 60-line (68-line if a header is used) page length.
  75.  
  76.         Any or all of the /F, /P, and /D command-line switches can be used to
  77. create a one-line header that prints the filename, page number, and date,
  78. respectively, on all but blank pages.  The /W switch causes lines exceeding 80
  79. characters to wrap; by default such lines are truncated.  Adding the /2 switch
  80. causes PCBOOK to print to LPT2 rather than the default LPT1.  (Use the DOS
  81. MODE command to implement serial connection, if desired.)  The /A switch can
  82. be used to direct output to a file.
  83.  
  84.         PCBOOK sequences the page printing so that all side-one pages are
  85. printed in one pass.  The sheets are then put back in the LaserJet paper tray
  86. and all side-two pages are printed.  The finished booklet can then be created
  87. with a single fold.  When using the normal (top) LaserJet output bin the pass-
  88. one sheets should be reinserted in the paper tray without any relative change
  89. in orientation.  If rear output from the printer is used, the sheets must be
  90. turned over as a group before reinsertion.  To determine how many sheets will
  91. be required without automatically starting the print operation, use the /C
  92. switch.
  93.  
  94.         The /H switch provides on-screen help for the program, and the /S
  95. switch sounds a beep as each printing pass is successfully completed.
  96.  
  97.         The source code for PCBOOK.EXE is written in QuickBASIC, and
  98. modifications will require Microsoft QuickBASIC 4.0b or 4.5, or the BASIC
  99. compiler, Version 6.0 or 7.0.  Both the executable and the source files for
  100. PCBook can be downloaded from PC MagNet.
  101.  
  102. 
  103.