home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / ljsanta.zip / ESCAPE.DOC < prev    next >
Text File  |  1989-12-13  |  12KB  |  288 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>&f0s1y3x1S          print the logo, or
  27.      <ESC>&f0s2y3x1S          print the signature, or
  28.      <ESC>&f0s3y3x1S          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 73 31 79 33 78 31 53               print the logo, or,
  61.      1B 26 66 73 32 79 33 78 31 53               print the signature, or,
  62.      1B 26 66 73 33 79 33 78 31 53               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 &f0s1y3x1S (no space) to print the logo, or,
  84.      ALT-027 &f0s2y3x1S (no space) to print the signature, or,
  85.      ALT-027 &f0s3y3x1S (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 048 115 049 121 051 120 049 083  print the logo, or,
  97.      027 038 102 048 115 050 121 051 120 049 083  print the signature, or,
  98.      027 038 102 048 115 051 121 051 120 049 083  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-048   Hold down ALT key, enter 0 4 8 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 48 115 49 121 51 120 49 83 print the logo, or
  135.      CTRL-S  243 27 38 102 48 115 50 121 51 120 49 83 print the signature, or
  136.      CTRL-M  243 27 38 102 48 115 51 121 51 120 49 83 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,48,115,49,121,51,120,49,83*    print the logo, or,
  150.      *P 27,38,102,48,115,50,121,51,120,49,83*    print the signature, or,
  151.      *P 27,38,102,48,115,51,121,51,120,49,83*    print the letterhead
  152.  
  153.  
  154.  
  155. SAMNA WORD IV
  156.  
  157. Samna Word IV allows the entering of printer control codes within a document by
  158. the use of the MARK function.  You must enter the hexadecimal values of each of
  159. the characters in the escape sequence.  The hexadecimal values of the above
  160. escape sequences are:
  161.      1B 26 66 73 31 79 33 78 31 53               print the logo, or,
  162.      1B 26 66 73 32 79 33 78 31 53               print the signature, or,
  163.      1B 26 66 73 33 79 33 78 31 53               print the letterhead
  164. Do NOT enter the spaces, they are for readability only.
  165.  
  166.      Place the cursor where you would like the image to appear.
  167.      Press MARK
  168.      Press E
  169.      Press ENTER to enter the escape sequence.
  170.      Enter one of the above escape sequences.
  171.  
  172.  
  173. WORDPERFECT 4.2
  174.  
  175. The way that Word Perfect sends data to the printer, requires entering a single
  176. space character immediately before the escape sequence.
  177.  
  178. To enter the escape sequence:
  179.      CTRL-F8         print format menu
  180.      A               enter printer control codes
  181.      <27>&f0s1y3x1S  print the logo, or,
  182.      <27>&f0s2y3x1S  print the signature, or,
  183.      <27>&f0s3y3x1S  print the letterhead
  184.      F7              exit back to your document
  185.  
  186.  
  187.  
  188. WORDPERFECT 5.0
  189.  
  190. The way that Word Perfect sends data to the printer, requires entering a single
  191. space character immediately before the escape sequence.
  192.  
  193. To enter the escape sequence:
  194.      SHIFT-F8        format menu
  195.      4               other formats
  196.      6               printer functions
  197.      2               printer commands
  198.      1               enter a command
  199.      <27>&f0s1y3x1S  print the logo, or,
  200.      <27>&f0s2y3x1S  print the signature, or,
  201.      <27>&f0s3y3x1S  print the letterhead
  202.      F7              exit back to your document
  203.  
  204.  
  205.  
  206. WORDSTAR 2000
  207.  
  208. WordStar 2000 allows the use of printer control codes within a document by using
  209. the 'PRINT EXTRA' command.
  210.  
  211. To enter the printer commands, use the following procedure:
  212.      At the printer install menu, choose PRINT EXTRA
  213.      Enter the escape sequence:
  214.           ^[&f0s1y3x1S           print the logo, or,
  215.           ^[&f0s2y3x1S           print the signature, or,
  216.           ^[&f0s3y3x1S           print the letterhead
  217.      Assign a name to the PRINT EXTRA command.
  218.  
  219. When you want to invoke the image in your document, enter CTRL-P X to invoke the
  220. PRINT EXTRA feature.  Select the item you wish to include and press enter.
  221.  
  222.  
  223.  
  224. WORDSTAR 4
  225. WORDSTAR 5
  226.  
  227. WordStar allows custom print commands with the CTRL-P Q, CTRL-P W, CTRL-P E, and
  228. CTRL-P R commands.  To define these codes, enter the following in your document
  229. prior to using one of the commands.
  230.  
  231.      .XQ 1B 26 66 30 73 31 79 33 78 31 53           print the logo, or,
  232.      .XW 1B 26 66 30 73 32 79 33 78 31 53           print the signature, or,
  233.      .XE 1B 26 66 30 73 33 79 33 78 31 53           print the letterhead
  234.  
  235. At the point where you would like the image to appear, simply insert a CTRL-P Q
  236. to print the logo, or a CTRL-P W to print the signature.
  237.  
  238.  
  239.  
  240. XyWrite 3
  241.  
  242. XyWrite allows custom print commands in a document with the use of the
  243. Print Insert Command on the command line.
  244.  
  245. At the point where you would like the image to appear, simply insert the
  246. following on the command line:
  247.  
  248.      PI <ESC>&f0s1y3x1S                print the logo, or,
  249.      PI <ESC>&f0s2y3x1S                print the signature, or,
  250.      PI <ESC>&f0s3y3x1S                print the letterhead
  251.  
  252.  
  253.  
  254. DBASE, FOXBASE, ETC.
  255.  
  256. Once a graphic macro is loaded in the printer's memory, it can be activated from
  257. within dBASE programs by simply "printing" the escape sequence.
  258.  
  259. For example, if you are formatting a report with the "@ xx,yy SAY" you would
  260. simply
  261.      @ xx,yy SAY CHR(27)+"&f0s1y3x1S"      print the logo, or,
  262.      @ xx,yy SAY CHR(27)+"&f0s2y3x1S"      print the signature, or,
  263.      @ xx,yy SAY CHR(27)+"&f0s3y3x1S"      print the letterhead overlay
  264.  
  265.  
  266.  
  267. SPECIAL OFFER
  268.  
  269. Be the first to provide us with a description of how to use a graphic macro
  270. within a word processor not described above, and we will give you a FREE
  271. signature scan ($50.00 value).  To avoid disappointment, please call to check if
  272. we have already received the description for the word processor you wish to
  273. submit.  We will make a reservation for you that will ensure that yours will be
  274. the first.
  275.  
  276. If you send in a description of how to use a graphic macro within a word
  277. processor without making a reservation, you run the risk of duplicating
  278. something that we already have a description of.  We will offer only one free
  279. signature scan per word processor submitted.
  280.  
  281. Orbit Enterprises, Inc.
  282. PO Box 2875-B5
  283. Glen Ellyn, IL  60138
  284. Voice:          (708) 469-3405
  285. LaserStuff BBS: (708) 469-4850
  286. FAX:            (708) 469-4895
  287.  
  288.