Chapter 4 — ESim Commands
80
ESim for the PC4 and PF8 Printers Programmer’s Reference Manual
.
Remarks:
The GM command saves the graphics in the Flash memory, so it is not
lost at power off. Use it for graphics that are used frequently and do
not change, such as the logo of your company. Compare with GW
command. In a DOS system, the "DATA" portion can be sent to the
printer via the parallel port using the DOS COPY command.
Example:
Assume you have a .pcx file named LOGO.pcx in your current
directory. Use a text editor to create a text file called for example
STOREIT.TXT and store it in the same directory as the .pcx file.
GM“LOGO”1421
To store the image in the default printer, at the the
DOS prompt type:
COPY STOREIT.TXT PRN
COPY LOGO.PCX PRN .b
To store the image in the printer connected to port LPT1, at the DOS
prompt type:
COPY STOREIT.TXT LPT1:
COPY LOGO.PCX LPT1: /b
GM Command Parameter Descriptions
Parameter
Description
“name”
This is the name to use when retrieving the
stored graphic (maximum of 8 characters).
The printer is case sensitive; graphic names are
stored with the exact case as entered on the
GM command line.
p
This is the size of the original .pcx file in bytes.
In DOS, the DIR command can be used to
determine the exact file size.
“DATA”
The graphics data in 1-bit (black and white)
PCX format. The resolution of the graphics
must match resolution of the printer.
Summary of Contents for EasyCoder PC4
Page 1: ...Programmer s Reference Manual ESim for the PC4 and PF8 Printers...
Page 4: ...iv ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 10: ...x ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 14: ...Before You Begin xiv ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 43: ...29 4 ESim Commands This chapter contains a comprehensive list of ESim commands...
Page 144: ...Chapter 4 ESim Commands 130 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 148: ...Chapter 5 ESim Fonts 134 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 168: ...Chapter 6 Code Pages 154 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 178: ...Chapter A Error Handling 164 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 179: ......