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