home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
01e
/
lj_batmn.zip
/
ESCAPE.DOC
< prev
next >
Wrap
Text File
|
1989-06-30
|
10KB
|
269 lines
USING GRAPHIC MACROS ON A HEWLETT PACKARD LASERJET PLUS, SERIES II OR
COMPATIBLE PRINTER.
Before you can use graphic macros, you must load the images to your HP LaserJet
Plus, Series II or compatible printer's memory. This can be done by using the
DOS command:
A> COPY *.MAC PRN
This will copy the two image files to the printer. The logo will have a macro
id of 1 and the signature a macro id of 2. These numbers will be referenced
later in this document.
To use the Graphic Macros within your word processor or other application
program, you must have the ability to insert a printer command (escape sequence)
at the point where you wish the image to print.
The escape sequence remains constant for a given image. The method of entering
the escape sequence will vary depending upon what software you are using.
To print the logo, position your cursor where you want the image to appear. The
escape sequence is:
<ESC>&f0s1y3x1S print the logo, or
<ESC>&f0s2y3x1S print the signature
Brief instructions for various word processors follow. Please check your word
processor documentation to clarify any questions you may have. The following
represent only a single method of inserting an escape sequence in a document for
each application program. There may be other methods available for
accomplishing the same thing.
DISPLAYWRITE 4
Displaywrite 4 will require the modification of your Printer Function Table. If
you are using a PFT supplied by IBM, the PFT may be too large to edit. If you
are using a PFT that you created yourself or received from Hewlett Packard, you
will probably have no problems.
You should create a User Defined Code for each graphic macro you wish to use.
Start at the Displaywrite 4 Main Menu:
9 profiles
6 revise table
ENTER next screen
filename.PFT name of the LaserJet printer function table
6 User-Defined Controls
# enter a number from 1-999 for the control number/macro
number you will use. For this example, use 1 for the logo
and 2 for the signature.
Enter the escape sequence in hexadecimal representation:
1B 26 66 73 31 79 33 78 31 53 print the logo, or,
1B 26 66 73 32 79 33 78 31 53 print signature
ENTER to save the control code
ESC exit from control code menu
ESC exit from Revise Table
ENTER end and save table
ESC return to main menu
To use the graphic macro within your document, place the cursor where you would
want the image to appear. Then:
F8 instructions
5 User-Defined Controls
# the number of the control code you wish to use:
1 for the logo, or, 2 for the signature
MICROSOFT WORD
At the point where you would like the image to appear, enter the escape
character by holding down the ALT key and entering 027 from the numeric keypad.
Release the ALT key and enter the balance of the escape sequence.
ALT-027 &f0s1y3x1S (no space) to print the logo, or,
ALT-027 &f0s2y3x1S (no space) to print the signature
MULTIMATE
At the point where you would like the image to appear, you must enter the escape
sequence by entering each character from the numeric keypad. Each character
must be preceded by an ALT-A.
The decimal equivalent of the escape sequence is:
027 038 102 048 115 049 121 051 120 049 083 print the logo, or
027 038 102 048 115 050 121 051 120 049 083 print the signature
To print the logo, you would enter the following:
ALT-A release the ALT key
ALT-027 Hold down ALT key, enter 0 2 7 from the numeric key pad, release
the ALT key
ALT-A release the ALT key
ALT-038 Hold down ALT key, enter 0 3 8 from the numeric key pad, release
the ALT key
ALT-A release the ALT key
ALT-102 Hold down ALT key, enter 1 0 2 from the numeric key pad, release
the ALT key
ALT-A release the ALT key
ALT-048 Hold down ALT key, enter 0 4 8 from the numeric key pad, release
the ALT key
etc.
OFFICE WRITER 5
OFFICE WRITER 6
OfficeWriter allows the definition of special characters or codes to be sent to
the printer which are then accessed similar to a macro.
To enter the printer commands, start from the main menu:
F5 Special Functions
F3 Special Symbols
Choose the CTRL + key combination you wish to assign the macro to. This example
will use CTRL-L for the logo and CTRL-S for the signature. You must enter the
escape sequence using the decimal equivalents of the individual characters. The
first character is the decimal equivalent of the character that will display on
the screen. Enter the control sequence as follows:
CTRL-L 242 27 38 102 48 115 49 121 51 120 49 83 print the logo, or
CTRL-S 243 27 38 102 48 115 50 121 51 120 49 83 print the signature
At the point where you would like the image to appear, simply insert a CTRL-L to
print the logo, or a CTRL-S to print the signature.
PFS:WRITE
Q & A WORD PROCESSOR
At the point where you would like the image to appear, you must enter the escape
sequence by entering each character as numeric digits in the following format:
The decimal equivalent of the escape sequence is:
*P 27,38,102,48,115,49,121,51,120,49,83* print the logo, or,
*P 27,38,102,48,115,50,121,51,120,49,83* print the signature
SAMNA WORD IV
Samna Word IV allows the entering of printer control codes within a document by
the use of the MARK function. You must enter the hexadecimal values of each of
the characters in the escape sequence. The hexadecimal values of the above
escape sequences are:
1B 26 66 73 31 79 33 78 31 53 print the logo, or,
1B 26 66 73 32 79 33 78 31 53 print signature
Do NOT enter the spaces, they are for readability only.
Place the cursor where you would like the image to appear.
Press MARK
Press E
Press ENTER to enter the escape sequence.
Enter one of the above escape sequences.
WORDPERFECT 4.2
The way that Word Perfect sends data to the printer, requires entering a single
space character immediately before the escape sequence.
To enter the escape sequence:
CTRL-F8 print format menu
A enter printer control codes
<27>&f0s1y3x1S print the logo, or,
<27>&f0s2y3x1S print the signature
F7 exit back to your document
WORDPERFECT 5.0
The way that Word Perfect sends data to the printer, requires entering a single
space character immediately before the escape sequence.
To enter the escape sequence:
SHIFT-F8 format menu
4 other formats
6 printer functions
2 printer commands
1 enter a command
<27>&f0s1y3x1S print the logo, or,
<27>&f0s2y3x1S print the signature
F7 exit back to your document
WORDSTAR 2000
WordStar 2000 allows the use of printer control codes within a document by using
the 'PRINT EXTRA' command.
To enter the printer commands, use the following procedure:
At the printer install menu, choose PRINT EXTRA
Enter the escape sequence:
^[&f0s1y3x1S print the logo, or,
^[&f0s2y3x1S print the signature
Assign a name to the PRINT EXTRA command.
When you want to invoke the image in your document, enter CTRL-P X to invoke the
PRINT EXTRA feature. Select the item you wish to include and press enter.
WORDSTAR 4
WORDSTAR 5
WordStar allows custom print commands with the CTRL-P Q, CTRL-P W, CTRL-P E, and
CTRL-P R commands. To define these codes, enter the following in your document
prior to using one of the commands.
.XQ 1B 26 66 30 73 31 79 33 78 31 53 print the logo, or,
.XW 1B 26 66 30 73 32 79 33 78 31 53 print the signature
At the point where you would like the image to appear, simply insert a CTRL-P Q
to print the logo, or a CTRL-P W to print the signature.
XyWrite 3
XyWrite allows custom print commands in a document with the use of the
Print Insert Command on the command line.
At the point where you would like the image to appear, simply insert the
following on the command line:
PI <ESC>&f0s1y3x1S print the logo, or,
PI <ESC>&f0s2y3x1S print the signature
DBASE, FOXBASE, ETC.
Once a graphic macro is loaded in the printer's memory, it can be activated from
within dBASE programs by simply "printing" the escape sequence.
For example, if you are formatting a report with the "@ xx,yy SAY" you would
simply
@ xx,yy SAY CHR(27)+"&f0s1y3x1S" print the logo, or,
@ xx,yy SAY CHR(27)+"&f0s2y3x1S" print the signature
SPECIAL OFFER
Be the first to provide us with a description of how to use a graphic macro
within a word processor not described above, and we will give you a FREE
signature scan ($50.00 value). To avoid disappointment, please call to check if
we have already received the description for the word processor you wish to
submit. We will make a reservation for you that will ensure that yours will be
the first.
If you send in a description of how to use a graphic macro within a word
processor without making a reservation, you run the risk of duplicating
something that we already have a description of. We will offer only one free
signature scan per word processor submitted.
Orbit Enterprises, Inc.
PO Box 2875-B4
Glen Ellyn, IL 60138
Voice: (312) 469-3405
LaserStuff BBS: (312) 469-4850
FAX: (312) 469-4895