home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / LASER / LJSANTA2.ZIP / ESCAPE.DOC next >
Encoding:
Text File  |  1990-12-13  |  10.6 KB  |  284 lines

  1. USING GRAPHIC MACROS ON A HEWLETT PACKARD LASERJET PLUS, SERIES II OR
  2. COMPATIBLE PRINTER.
  3.  
  4.  
  5.  
  6. Before you can use graphic macros, you must load the images to your HP LaserJet
  7. Plus, Series II or compatible printer's memory.  This can be done by using the
  8. DOS command:
  9.           A> COPY *.MAC PRN     this will copy two macros to the printer
  10.           A> COPY *.OVR PRN     this will copy a letterhead overlay macro
  11.  
  12. This will copy the two image files to the printer as well as the sample
  13. letterhead overlay macro.  The logo has a macro id of 1 and the signature a
  14. macro id of 2.  The letterhead macro has a macro id of 3.  These numbers will be
  15. referenced later in this document.
  16.  
  17. To use the Graphic Macros within your word processor or other application
  18. program, you must have the ability to insert a printer command (escape sequence)
  19. at the point where you wish the image to print.
  20.  
  21. The escape sequence remains constant for a given image.  The method of entering
  22. the escape sequence will vary depending upon what software you are using.
  23.  
  24. To print the logo, position your cursor where you want the image to appear.  The
  25. escape sequence is:
  26.      <ESC>&f1y3X          print the logo, or
  27.      <ESC>&f2y3X          print the signature, or
  28.      <ESC>&f3y3X          print the letterhead
  29.  
  30. When printing the letterhead, the position of your cursor is not important.
  31. The overlay macro contains all of the positioning information. It is only
  32. necessary to have the printer command on the same page.
  33.  
  34. Brief instructions for various word processors follow.  Please check your word
  35. processor documentation to clarify any questions you may have.  The following
  36. represent only a single method of inserting an escape sequence in a document for
  37. each application program.  There may be other methods available for
  38. accomplishing the same thing.
  39.  
  40.  
  41.  
  42. DISPLAYWRITE 4
  43.  
  44. Displaywrite 4 will require the modification of your Printer Function Table.  If
  45. you are using a PFT supplied by IBM, the PFT may be too large to edit.  If you
  46. are using a PFT that you created yourself or received from Hewlett Packard, you
  47. will probably have no problems.
  48.  
  49. You should create a User Defined Code for each graphic macro you wish to use.
  50. Start at the Displaywrite 4 Main Menu:
  51.      9              profiles
  52.      6              revise table
  53.      ENTER          next screen
  54.      filename.PFT   name of the LaserJet printer function table
  55.      6              User-Defined Controls
  56.      #              enter a number from 1-999 for the control number/macro
  57.                     number you will use. For this example, use 1 for the logo
  58.                     and 2 for the signature.
  59. Enter the escape sequence in hexadecimal representation:
  60.      1B 26 66 31 79 33 58                print the logo, or,
  61.      1B 26 66 32 79 33 58                print the signature, or,
  62.      1B 26 66 33 79 33 58                print the letterhead
  63.      ENTER          to save the control code
  64.      ESC            exit from control code menu
  65.      ESC            exit from Revise Table
  66.      ENTER          end and save table
  67.      ESC            return to main menu
  68.  
  69. To use the graphic macro within your document, place the cursor where you would
  70. want the image to appear.  Then:
  71.      F8             instructions
  72.      5              User-Defined Controls
  73.      #              the number of the control code you wish to use:
  74.                     1 for the logo, 2 for the signature, or,
  75.                     3 for the letterhead overlay
  76.  
  77.  
  78. MICROSOFT WORD
  79.  
  80. At the point where you would like the image to appear, enter the escape
  81. character by holding down the ALT key and entering 027 from the numeric keypad.
  82. Release the ALT key and enter the balance of the escape sequence.
  83.      ALT-027 &f1y3X (no space) to print the logo, or,
  84.      ALT-027 &f2y3X (no space) to print the signature, or,
  85.      ALT-027 &f3y3X (no space) to print the letterhead overlay
  86.  
  87.  
  88.  
  89. MULTIMATE
  90.  
  91. At the point where you would like the image to appear, you must enter the escape
  92. sequence by entering each character from the numeric keypad.  Each character
  93. must be preceded by an ALT-A.
  94.  
  95. The decimal equivalent of the escape sequence is:
  96.      027 038 102 049 121 051 088  print the logo, or,
  97.      027 038 102 050 121 051 088  print the signature, or,
  98.      027 038 102 051 121 051 088  print the letterhead overlay
  99.  
  100. To print the logo, you would enter the following:
  101.      ALT-A     release the ALT key
  102.      ALT-027   Hold down ALT key, enter 0 2 7 from the numeric key pad, release
  103.                the ALT key
  104.      ALT-A     release the ALT key
  105.      ALT-038   Hold down ALT key, enter 0 3 8 from the numeric key pad, release
  106.                the ALT key
  107.      ALT-A     release the ALT key
  108.      ALT-102   Hold down ALT key, enter 1 0 2 from the numeric key pad, release
  109.                the ALT key
  110.      ALT-A     release the ALT key
  111.      ALT-049   Hold down ALT key, enter 0 4 9 from the numeric key pad, release
  112.                the ALT key
  113.      etc.
  114.  
  115.  
  116.  
  117. OFFICE WRITER 5
  118. OFFICE WRITER 6
  119.  
  120. OfficeWriter allows the definition of special characters or codes to be sent to
  121. the printer which are then accessed similar to a macro.
  122.  
  123. To enter the printer commands, start from the main menu:
  124.      F5     Special Functions
  125.      F3     Special Symbols
  126.  
  127. Choose the CTRL + key combination you wish to assign the macro to. This example
  128. will use CTRL-L for the logo, CTRL-S for the signature, and, CTRL-M for the
  129. letterhead overlay.  You must enter the escape sequence using the decimal
  130. equivalents of the individual characters.  The first character is the decimal
  131. equivalent of the character that will display on the screen.  Enter the control
  132. sequence as follows:
  133.  
  134.      CTRL-L  242 27 38 102 49 121 51 88  print the logo, or
  135.      CTRL-S  243 27 38 102 50 121 51 88  print the signature, or
  136.      CTRL-M  243 27 38 102 51 121 51 88  print the letterhead
  137.  
  138. At the point where you would like the image to appear, simply insert a CTRL-L to
  139. print the logo, or a CTRL-S to print the signature.
  140.  
  141.  
  142. PFS:WRITE
  143. Q & A WORD PROCESSOR
  144.  
  145. At the point where you would like the image to appear, you must enter the escape
  146. sequence by entering each character as numeric digits in the following format:
  147.  
  148. The decimal equivalent of the escape sequence is:
  149.      *P 27,38,102,49,121,51,88*    print the logo, or,
  150.      *P 27,38,102,50,121,51,88*    print the signature, or,
  151.      *P 27,38,102,51,121,51,88*    print the letterhead
  152.  
  153.  
  154. SAMNA WORD IV
  155.  
  156. Samna Word IV allows the entering of printer control codes within a document by
  157. the use of the MARK function.  You must enter the hexadecimal values of each of
  158. the characters in the escape sequence.  The hexadecimal values of the above
  159. escape sequences are:
  160.      1B 26 66 31 79 33 58         print the logo, or,
  161.      1B 26 66 32 79 33 58         print the signature, or,
  162.      1B 26 66 33 79 33 58         print the letterhead
  163. Do NOT enter the spaces, they are for readability only.
  164.  
  165.      Place the cursor where you would like the image to appear.
  166.      Press MARK
  167.      Press E
  168.      Press ENTER to enter the escape sequence.
  169.      Enter one of the above escape sequences.
  170.  
  171.  
  172. WORDPERFECT 4.2
  173.  
  174. The way that WordPerfect sends data to the printer, requires entering a single
  175. space character immediately before the escape sequence.
  176.  
  177. To enter the escape sequence:
  178.      CTRL-F8     print format menu
  179.      A           enter printer control codes
  180.      <27>&f1y3X  print the logo, or,
  181.      <27>&f2y3X  print the signature, or,
  182.      <27>&f3y3X  print the letterhead
  183.      F7          exit back to your document
  184.  
  185.  
  186.  
  187. WORDPERFECT 5.0/5.1
  188.  
  189. The way that WordPerfect sends data to the printer, requires entering a single
  190. space character immediately before the escape sequence.
  191.  
  192. To enter the escape sequence:
  193.      SHIFT-F8        format menu
  194.      4               other formats
  195.      6               printer functions
  196.      2               printer commands
  197.      1               enter a command
  198.      <27>&f1y3X      print the logo, or,
  199.      <27>&f2y3X      print the signature, or,
  200.      <27>&f3y3X      print the letterhead
  201.      F7              exit back to your document
  202.  
  203.  
  204.  
  205. WORDSTAR 2000
  206.  
  207. WordStar 2000 allows the use of printer control codes within a document by using
  208. the 'PRINT EXTRA' command.
  209.  
  210. To enter the printer commands, use the following procedure:
  211.      At the printer install menu, choose PRINT EXTRA
  212.      Enter the escape sequence:
  213.           ^[&f1y3X           print the logo, or,
  214.           ^[&f2y3X           print the signature, or,
  215.           ^[&f3y3X           print the letterhead
  216.      Assign a name to the PRINT EXTRA command.
  217.  
  218. When you want to invoke the image in your document, enter CTRL-P X to invoke the
  219. PRINT EXTRA feature.  Select the item you wish to include and press enter.
  220.  
  221.  
  222.  
  223. WORDSTAR 4
  224. WORDSTAR 5
  225.  
  226. WordStar allows custom print commands with the CTRL-P Q, CTRL-P W, CTRL-P E, and
  227. CTRL-P R commands.  To define these codes, enter the following in your document
  228. prior to using one of the commands.
  229.  
  230.      .XQ 1B 26 66 31 79 33 58           print the logo, or,
  231.      .XW 1B 26 66 32 79 33 58           print the signature, or,
  232.      .XE 1B 26 66 33 79 33 58           print the letterhead
  233.  
  234. At the point where you would like the image to appear, simply insert a CTRL-P Q
  235. to print the logo, or a CTRL-P W to print the signature.
  236.  
  237.  
  238.  
  239. XyWrite 3
  240.  
  241. XyWrite allows custom print commands in a document with the use of the
  242. Print Insert Command on the command line.
  243.  
  244. At the point where you would like the image to appear, simply insert the
  245. following on the command line:
  246.  
  247.      PI <ESC>&f1y3X                print the logo, or,
  248.      PI <ESC>&f2y3X                print the signature, or,
  249.      PI <ESC>&f3y3X                print the letterhead
  250.  
  251.  
  252.  
  253. DBASE, FOXBASE, ETC.
  254.  
  255. Once a graphic macro is loaded in the printer's memory, it can be activated from
  256. within dBASE programs by simply "printing" the escape sequence.
  257.  
  258. For example, if you are formatting a report with the "@ xx,yy SAY" you would
  259. simply
  260.      @ xx,yy SAY CHR(27)+"&f1y3X"      print the logo, or,
  261.      @ xx,yy SAY CHR(27)+"&f2y3X"      print the signature, or,
  262.      @ xx,yy SAY CHR(27)+"&f3y3X"      print the letterhead overlay
  263.  
  264.  
  265.  
  266.  
  267. This sample signature, logo, and letterhead are presented by Orbit
  268. Enterprises, Inc. as a sample of how easy it is to use digitized images
  269. from Orbit Enterprises, Inc.
  270.  
  271. We can digitize your signature, logo or letterhead for use on a
  272. LaserJet or compatible printer. Contact us for more information and
  273. current pricing.
  274.  
  275. Please note that these will not work on the LaserJet classic.
  276.  
  277. Orbit Enterprises, Inc.
  278. PO Box 2875-B6
  279. Glen Ellyn, IL  60138
  280. Voice:          (708) 469-3405
  281. LaserStuff BBS: (708) 469-4850
  282. FAX:            (708) 469-4895
  283.  
  284.