Palm Computing is a subsidiary of 3Com® Corporation. The application writes a data stream of commands (in the printer's control language) to the printer. It writes these commands either directly or through the Symbol Application Programming Interface (API). For information about the API, refer to Symbol's Web site (www.symbol.com).
Add any commands to the data stream related to how the printer performs. For example, at the data stream's beginning, enter the command to choose the operating mode. See "Configuring the Printer" for more information. Embed the data stream in the application and test what you have written.
C R E A T I N G F O R M A T S A format is the design of a receipt that the application prints with the printer. It consists of fields placed at various places on the format. Fields can contain text, graphics, and bar codes.
Formatting Text For the text on your format, you can choose the font and its size, spacing, and style (normal or bold). Command 1C hex (Extend) 1D hex (Extendoff) ESC-'U'-<mode> <mode> ESC-'k'-<font> <font> ESC-'A'-<space> <space> Example: ESC-A-2 (1B 41 02 hex) Description Prints characters twice as high as normal.
If it is 01, only one dot is on, and the other 7 are off. If you accidentally specify less than 48 bytes, the printer does not print the graphic. If you specify more than 48 bytes, a fatal exception occurs.
C r e a t i n g B a r C o d e F i e l d s The printer can print the following bar codes, with or without human- readable data. Code 39 Codabar Interleaved 2 of 5...
EAN/JAN-8: 8 EAN/JAN-13: 13 These lengths are fixed and all include a check digit. 15 (maximum) plus start and stop characters. The printer adds the stop character automatically. <data> 0-9, A-Z, -, (space), $, /, +, and % Pairs of numeric characters (0-9) Data: 0-9, $, -, :, /, .,...
P o s i t i o n i n g F i e l d s These commands/control characters help you move the supply through the printer to position the fields on the receipt. The application could also write spaces to the printer before it prints text.
S e l e c t i n g O p e r a t i n g M o d e s The printer works in either online or buffer mode. In online mode, the printer prints characters as soon as they are received. In buffer mode, the printer receives and stores characters, and then prints them upon receipt of an EOT control character ( 4 hex).
S e t t i n g t h e P o w e r M o d e The printer can operate in five different power modes, each using a different number of printhead sections. The mode selected also affects the print speed.
C h e c k i n g t h e B a t t e r y V o l t a g e The following commands/control characters involve the printer's battery. Command ESC-'P'-'^' ESC-'P'-'!' 16 hex (Ctrl-V) applications so the user can check Description Prints the battery voltage.
The printer has a power-off timer to conserve battery life. After a specified period of inactivity occurs, the printer goes into sleep mode. You can specify the length of this period. The printer returns to normal mode when it starts receiving commands again.
Command 18 hex (Cancel) 2 hex (Ctrl-B) 8 hex (BS) Description Re-initializes the printer. Requests the print buffer status. The printer responds with: ESC-'B'-<pbchars>-CR-LF <pbchars> The number of characters currently in the print buffer. Removes the last character entered in the...
S A M P L E D A T A S T R E A M How you send the data stream to the printer is dependent on the language your application is written in. For example, the following data...
Need help?
Do you have a question about the Monarch 6015 and is the answer not in the manual?
Questions and answers