home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PRINTING / OVERL301.ZIP / OVERLAY.DOC < prev    next >
Text File  |  1991-04-14  |  12KB  |  257 lines

  1.  
  2.           OverLay v3.0  (c)1988-91 Advance Systems Norwood, PA
  3.  
  4.      OverLay Macro Utility for HP-LaserJet Compatible Laser Printers
  5.  
  6.  
  7.  
  8. OverLay converts HP-LaserJet PRINT files to a HP-LaserJet Macro files. Macros
  9. are great for applications such as letterheads, forms, graphics, logos and
  10. text.  OverLay will ONLY convert "PRINT" files to Macros.  A PRINT file being
  11. one that when sent to the printer with COPY /B or the PRINT Command, the file
  12. (text or graphics) will be output from the printer to paper.  An ASCII file
  13. is a PRINT file.
  14.  
  15. OverLay produces Overlay Macros with the .OVL file extension by default.  An
  16. Overlay Macro places the print image on every page of output until the
  17. printer is reset.  
  18.  
  19. Starting OverLay with the /M switch turns OFF the Overlay function and
  20. produces a Macro file with the .MCR file extension.  A Macro must be Called
  21. or Executed every time the image is printed.
  22.  
  23. To send output directly to the printer and suppress the creation of an output
  24. file, start OverLay using the switch: /1 for LPT1 or /2 for LPT2.
  25.     
  26. To Use OVERLAY.EXE 
  27.     
  28. 1. CREATE A PRINT FILE
  29.     
  30. Use your favorite Word Processor or desk top publisher to produce the image
  31. (text or Graphic or both) you want for an Overlay.  Most programs allow you
  32. to send the output to a file instead of the printer it is this file that will
  33. be converted to an HP-LJ Macro.  If your program does not support PRINT files
  34. then try using a program that will redirect printer output to a file. You can
  35. find one on most electronic bulletin boards.
  36.     
  37. In general, an Overlay Macro will continue to print the image on every page
  38. until the reset command [ESC E] is sent to the printer or the page length,
  39. page size, paper tray select or orientation command is issued.  SoftFont
  40. management commands are not allowed in a macro, that is, fonts may not be
  41. downloaded, deleted or made permanent in a macro.  Downloaded the fonts
  42. separately.  If one of the above events occurs, the document contents will
  43. print first, followed by the Overlay image on the next page.  Avoid these
  44. commands in Macros.
  45.    
  46. 2. CONVERT A PRINT FILE TO AN OVERLAY FILE
  47.     
  48. Run OVERLAY.EXE. You will be prompted for a source file name and ID number. 
  49. The file name will be the PRINT file created in step 1.  The ID number is any
  50. number from 0 to 32767.  OverLay will create a Macro file with the same base
  51. name as the source file and add the .OVL extension or .MCR if the /M switch
  52. was used at start up.  If the /1 or /2 switch was used the output is directed
  53. to parallel print port 1 or 2. 
  54.     
  55. OR, name the file and ID# in the start up command. 
  56.             
  57.     C>OVERLAY MYLOGO.PRN,1         Creates MYLOGO.OVL with an ID of 1  
  58.     C>OVERLAY MYLOGO.PRN,1 /1      Sends output to LPT1: with an ID of 1   
  59.     C>OVERLAY MYLOGO.PRN,1 /M      Creates MYLOGO.MCR with an ID of 1    
  60. 3. TO USE AN OVERLAY FILE
  61.     
  62. COPY /B the Overlay Macro file to the printer.     
  63.               
  64. EXAMPLE:   C>COPY /B  MYLOGO.OVL  PRN
  65.     
  66. Every page printed from this point on will have my logo superimposed on it. 
  67. Some word processors reset the printer prior to sending the document.  This
  68. will deactivate the Overlay but will not delete it from the printers memory. 
  69. In this case the printer reset command must be removed from the printer
  70. driver or set-up string or try using a Macro that is not an Overlay, a .MCR
  71. file created using the /M switch.  
  72.  
  73. When using .MCR Macro files the Macro must be Called or Executed from the
  74. document before the Overlay image will print on the page.  A printer command
  75. sequence must be placed in the document you are printing.  Up to 32 Macros
  76. may be Loaded into the printer at one time depending on the amount of printer
  77. memory available.  The size of the Macro file(s) must not exceed the printers
  78. memory.  
  79.      
  80. Use the following printer commands in the document to control the Macro  
  81. actions.  Replace # with the Macro ID# used to create the Overlay.  Look in
  82. the word processor manual if you need help on placing printer command
  83. sequences into your documents.
  84.  
  85. Execute Macro  ESC&f#y2X      
  86.      
  87. This command will activate the Macro.  Any changes made by the Macro to the
  88. printing features listed below will be retained by the printer.  The cursor
  89. remains where it was at the end of the Macro.   
  90.      
  91.  
  92. Call Macro ESC&f#y3X
  93.  
  94. This command will activate the Macro.  Any changes made by the Macro to the
  95. printing features listed below will NOT be retained by the printer. The
  96. cursor remains where it was at the end of the Macro.
  97.      
  98.      Page Length    Orientation    Input Control       Copy Count          
  99.      Margins        Perf Skip      Line Wrap           Font/Macro Id 
  100.      Rule Size      Underline      Resolution          Graphics Mode       
  101.      Font Attributes               HMI/VMI
  102.  
  103. Note: The Above two commands MUST be used on each page and will not activate
  104. the Overlay feature.  Create the Macro file with OVERLAY /M switch.
  105.  
  106.  
  107. Disable Macro Overlay  ESC&f#y5X
  108.  
  109. This command turns off an Overlay Macro, effective on the current page.  
  110. Executed and Called Macros are disabled when completed.  Use the ESC&f#y4X
  111. command to Enable the Overlay again.
  112.     
  113.  
  114. Delete Macro ESC&f#y7X
  115.  
  116. This command will delete the specified Macro from the printers memory.  Note
  117. the difference from the Disable Macro Overlay command.  
  118. WordPerfect 5.x Notes            
  119.      
  120. If you need to remove the printer reset command from the printer driver for
  121. WordPerfect, use the PTR.EXE program to change the document initialization
  122. string in your printer driver. 
  123.              
  124. Enter PTR and the name of your printer driver file at the DOS command line. 
  125.  
  126. C>PTR DRIVER.PRS
  127.            
  128. Choose Edit from the command menu.  Select Initialize and Reset then select
  129. Initialize at Start of Print Job.  Remove [27]"E" from the command string,
  130. this is the command that deactivates Overlay Macros.  F7 to EXIT and Save
  131. when finished.
  132.             
  133. Next, set-up WordPerfect to select the desired Macro from the ALT F8 Styles
  134. menu.
  135.             
  136.      1.  Use ALT F8 3 to Create a new Style item.
  137.      2.  Enter a Name and Description for the new item
  138.      3.  Set the Type to 2(OPEN)
  139.      4.  Select 4(Codes) and enter the commands.
  140.            
  141.       Shift F8 4 6 2 1 [27]"&f#y4X" F7 F7 F7 F7 6                
  142.       Replace [27]"&f#y4X" with the Proper Macro Command from above.
  143.                     
  144. Repeat this for each Macro you wish to add to the Styles menu. To select a
  145. Macro after they have been loaded into the printer use ALT F8 and select
  146. which Macro to use.
  147.           
  148.  
  149. Troubleshooting Overlay Macros
  150.  
  151. With the release of version 3.0 of OverLay, Debugging utilities have been
  152. added to the package.  If you are having trouble getting the Overlay Macro
  153. to work, follow the steps below and you should be up and running in no time
  154. at all.  
  155.          
  156. The creation of the PRINT file is the most likely place for problems to be
  157. introduced.  Follow the guidelines above and avoid problem commands.  It is
  158. not always possible to eliminate the use of these commands.  OverLay
  159. removes some of these commands when it creates the Overlay Macro file, some
  160. unexpected commands may not be removed.  
  161. Find and remove these unwanted commands from the Overlay Macro and it will
  162. work properly.  This brings us back to the Debugging utilities.
  163.  
  164. PCL2ENG.EXE  :This program written by Helamar B. Herman reads HP-LJ PRINT  
  165.               files and translates the printer commands into English.   
  166.  
  167. READPCL.BAT  :Batch file to redirect the output of PCL2ENG to a file named 
  168.               PCLENG.TXT.  The file IN. is needed by READPCL.BAT. 
  169.  
  170. PCLSTRIP.EXE :This program will remove an unwanted printer command from a
  171.               Macro file.      
  172.  
  173.  
  174. Test the PRINT file for the proper output.     COPY /B MYLOGO.PRN PRN
  175.  
  176. Create a empty PRINT file.  If a desk top publication document is printed to
  177. a file and it is a blank page, the resulting PRINT file will contain only the
  178. printer commands.  This will make it very easy to locate any unwanted printer
  179. commands that are causing problems.  Convert the Print File to an Overlay
  180. file.
  181.  
  182. C>READPCL MYLOGO.OVL entered at the DOS command line will create the
  183. PCL2ENG.TXT file.  Read this file and look for unallowed commands.  The ESC
  184. character is not displayed by PCL2ENG so you can print out the file contents.
  185.  
  186. Commands may vary depending on what options or settings your publication is
  187. using.  Change the settings to eliminate these commands from your PRINT file
  188. if you can.  IF there is still unwanted printer commands in the Overlay Macro
  189. file use PCLSTRIP.EXE to remove them.
  190.  
  191. PCLSTRIP MYLOGO.OVL /ESC&l0O  This will remove the set orientation to
  192. portrait command from the Overlay file.  It is important to note that even
  193. though portrait mode is the default, if a set orientation to portrait mode
  194. is encountered, the Overlay will fail and act as mentioned above.  Remember
  195. PCL2ENG does not display the ESC character, don't forget to use it on the
  196. command line for PCLSTRIP.
  197.  
  198. Repeat these steps until all the unwanted printer commands are removed.
  199.  
  200. COPY /B the Overlay Macro file to the printer then do a few form feeds.  If
  201. your printer won't allow you to do a form feed from the control panel then
  202. copy the FF file to the Printer a few times.  If the Overlay is on every page
  203. and is correct then the Overlay Macro is ok.
  204.  
  205. If you are still having problems, the problem is with the word processor or
  206. other method used to send the document to the printer.  The most common cause
  207. of problems here is the word processor resetting the printer at the start of
  208. the print job or the beginning of the individual document. 
  209.  
  210. If you can send the printer output from your word processor to a print file,
  211. follow the same steps used above to examine this file and look for unwanted
  212. printer commands.  A program that redirects output for the printer to a file
  213. is helpful here.  Converting a document to a DOS or ASCII file won't work. 
  214.  
  215. Once the unwanted commands are located, check the setup options for the word
  216. processor to see if they can be shut off.  The printer driver may need to be
  217. modified to accomplish this.  See WordPerfect Notes above.
  218.  
  219. An alternate approach is to convert a word processor document to a ASCII
  220. file.  All printer commands will be removed during conversion.  Copy the
  221. ASCII file to the printer after the Overlay Macro is loaded.  If it works ok
  222. then the problem is with the word processor.     
  223.  
  224. The most common problems with softfonts not printing correctly is caused by
  225. the word processor Downloading fonts with the same ID# or descriptor as the
  226. fonts used in the Overlay Macro.  Remember, font management commands are  not
  227. allowed.
  228.  
  229. If the program you are using to make the PRINT file has a option that will
  230. suppress the Downloading of fonts, use it.  Download the fonts separately. 
  231. You may need to determine the font id# to assign the softfonts.  LoadFont
  232. 4.51 will create SoftModules from SoftFonts.  PCL2ENG can read SoftFont or
  233. SoftModule files to help you with the font ID# numbers and descriptors. 
  234.  
  235. Copy /B the SoftModule file to the printer followed by the OverLay file. 
  236. Download the fonts or load the SoftModule before the Overlay Macro. 
  237.  
  238. Test the SoftFonts, files do get damaged. 
  239.  
  240. Check the printer memory, chips can fail and go bad.  There must be enough
  241. available memory to hold all the Macros and SoftFonts. 
  242.  
  243. If you are still having problems, send me a copy of the PRINT file, the names
  244. of the programs you are using to create and print the Overlay Macro and a
  245. description of the problem.  Sorry, but I can only offer this level of
  246. support to registered users.  
  247.  
  248. When you send in your $20 to register the OverLay program, you will receive 
  249. the current version of OverLay and 2 Archived disks full of SoftFonts and
  250. Laser-Jet Utilities FREE.
  251.     
  252. Jim Savoia                          
  253.                            
  254.                            Advance Systems
  255.                            215 W Amosland Rd 
  256.                            Norwood, PA 19074
  257.