home *** CD-ROM | disk | FTP | other *** search
- PCL2ENG reads through HP LaserJet command files and prints an english language
- interpretation of the commands.
-
- This is the first release of PCL2ENG. It may be distributed freely.
-
- Future versions of PCL2ENG may add the following features:
-
- . Page forward and backward when displaying to the screen.
-
- . Additional HP printers.
-
- . Support for PCL5 commands.
-
- . Search and replace for commands and/or data.
-
- . Critical analysis of PCL data streams.
-
- To register for future versions of PCL2ENG, send your name and address
- (and any comments or requests) to:
-
- PCL2ENG Registration
- Box 204
- Mirror Lake, NH 03853
-
- Registration of PCL2ENG is free. When the next release of PCL2ENG is
- available, you will be notified and offered the opportunity to upgrade
- for an as-yet undetermined upgread fee.
-
- ==============================================================================
-
- To use PCL2ENG, you must first create the LaserJet command file. This can be
- done in one of the following ways:
-
- 1. If you have the source code for the program that is printing to the
- HP LaserJet, then you can modify the program to write the LaserJet
- commands and data to a disk file instead of the HP LaserJet.
-
- 2. You can use a capture program (such as VPRINT). This program captures
- all data sent to LPTx and writes it to a disk file.
-
- Once you have the HP LaserJet command file, invoke PCL2ENG with the format:
-
- PCL2ENG FileName -P
-
- where FileName is the name of the LaserJet command file and
- -P is the optional parameter to send the english language report
- to the printer on LPT1.
-
-
- Following is a sample of the output from PCL2ENG.
-
- The HP LaserJet command file contains the following PCL command string
- (Note: the ^ character represents the ESCAPE character)
-
- ^E^*t300R^&f2Y^&f0X^*p1851x2409Y^*c400a1B^&f1X^&f2Y^&f2XThis is the data^E
-
- The output from PCL2ENG would be:
-
- E Reset the printer
- *t300R 300 Set Resolution to 300 Dots/inch
- &f2Y 2 Set Macro ID to 2
- &f0X 2 Start Macro Defintion for 2
- *p1851x 1851 ...Set horizontal(X) position to 1851 dots
- ..2409Y 2409 ...Set vertical(Y) position to 2409 dots
- *c400a 400 ...Set Rectangle Width to 400 Dots
- ..1B 1 ...Set Rectangle Height to 1 Dot
- &f1X 2 Stop Macro Definition for 2
- &f2Y 2 Set Macro ID to 2
- &f2X 2 Execute Macro 2
- This is the data
- E Reset the printer
-
-
- Note that PCL commands within macro definitions are indented.