Infinite Peripherals PP-55 Supplementary Manual

Category
Print & Scan
Type
Supplementary Manual
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc.
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
PP-55
Resident Command Set
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
Infinite Peripherals, Inc. Page 1
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Revision Information
This document revision refers are related to the PP-55’s firmware changes.
Items in blue through this document refer to changes or additions to the
most resent firmware version listed below.
Date: August 25
th
, 2004 Firmware: v1.17b
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 2
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Communication Modes
1. Communication ports
There are variants of the printer equipped either with a serial interface or both
serial and USB interface. The USB interface works in a host mode (in future
versions it will be possible to switch between host and slave mode) and it is
intended for a connection between the PDA and the printer. The USB interface
works in a protocol (in future versions it will be possible to choose between
protocol and raw mode) mode while the serial interface can work in both protocol
and raw data mode.
As the serial interface by default is deactivated it is activated by a six-byte
sequence. The following sequence activates the serial interface in raw data
mode:
<16>H <4E>H <AA>H <81>H <BC>H <43>H
The following sequence activates the serial interface in protocol mode:
<16>H <4E>H <AA>H <81>H <BC>H <40>H
The sequence for deactivating the serial interface is:
<16>H <4E>H <AA>H <81>H <BC>H <44>H
Note: In protocol mode this sequence should be sent as a packet. The printer
does not answer to this packet.
These sequences will be interpreted even if they are part of a command or
data sent to the printer.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 3
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Communication Modes
2. Protocol description
PACKET FORMAT
-------------------
PORT COMMAND/STATUS LENHI LENLO ...DATA...
PORT:
bit 0..6 port number (device type)
bit 7: response, 0:send data, 1:answer
COMMAND: (if response bit is 0)
0: open port
1: close port
2: send data
3: request data
4..255: application specific
STATUS: (if response bit is 1)
bit 0: error
0: No error
1: error occurred
bit 1: confirm
0: ACK
1: NAK
bit 2: channel or command error
0: channel and command OK
1: channel or command not supported
bit 3..7: application specific
LEN:
length of data
The maximum packet length is 2048 bytes. The answer differs from the
command by bit 7 (MSB) in the port number. If bit 7 is 0 then it is a command,
if it is 1 then it is a response. Bit 0 in the status byte shows if there was an
error accepting or processing the data block. If this bit is 1 the other bits show
the type of the error.
The printer never issues a transmission by itself. It always responds as an
answer to a command. The communication goes like this:
PDA – command, printer – answer; PDA – command, printer – answer; etc.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 4
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Communication Modes
EXAMPLE COMUNICATION
------------------------------
SEND DATA:
>>> 01 02 00 05 11 22 33 44 55
<<< 81 00 00 00
SEND DATA WITH ERROR:
>>> 01 02 00 05 11 22 33 44 55
<<< 81 01 00 00
>>> 01 02 00 05 11 22 33 44 55
<<< 81 01 00 00
>>> 01 02 00 05 11 22 33 44 55
<<< 81 00 00 00
RECEIVE DATA:
>>> 01 03 00 00
<<< 81 00 00 00
>>> 01 03 00 00
<<< 81 00 00 04 11 22 33 44
>>> 01 03 00 00
<<< 81 00 00 00
GET STATUS:
>>> 01 04 00 00
<<< 81 00 00 05 3F F8 01 55 66
DEVICE TYPES
----------------
0: reserved
1: palm printer
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 5
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Communication Modes
DEVICE TYPE: PALM PRINTER
----------------------------------
Commands:
Command 2: Send data
The data is copied into the printer’s print buffer. If there’s
not enough space into the print buffer the packet is
rejected, and a status byte with value 3 is returned in the
answer.
Command 3: Receive data
If there is data to be transmitted from the printer to the
PDA it is transmitted in the data field of the packet,
otherwise an empty packet is received. The application
must take care to get the data fast enough from the output
buffer, or the data may be corrupt.
Command 4: Get Printer Status
status data (in data field)
BUFFERHI BUFFERLO STATUS VOLT TEMP
STATUS:
bit 0: battery low
bit 1: too hot
bit 2: no paper
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 6
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Command List
II. Command List
1 BEL Sounds the beeper 07H
2 HT Horizontal tab command 09H
3 LF Printing and paper feed 0AH
4 CR Print command 0DH
5 ESC RS Sounds the beeper 1BH 1EH
6 ESC SP Setting the right space amount of the character 1BH 20H n
7 ESC ! Collective specifying printing mode 1BH 21H n
8 ESC . Self test / demo
9 ESC * Specifying the bit image mode 1BH 2AH m n1n2[d]k
10 ESC + Turn off the printer 1BH 2BH
11 ESC - Specifying/cancelling underline 1BH 2DH n
12 ESC 2 Specifying 1/6-inch line feed rate 1BH 32H
13 ESC 3 Setting line feed rate of minimum pitch 1BH 33H n
14 ESC 5 Set/clear VBUS output voltage 1BH 35H n
15 ESC = Data input control 1BH 3DH n
16 ESC > Set Factory Defaults 1BH 3EH n
17 ESC ? n Reading a magnetic card 1BH 3FH n
18 ESC @ Initialising the Printer 1BH 40H
19 ESC D Setting horizontal tab position 1BH 44H [n]k 00H
20 ESC E Specifying/cancelling highlighting 1BH 45H n
21 ESC G Specifying/cancelling double printing 1BH 47H n
22 ESC I Specifying/cancelling italic printing 1BH 49H n
23 ESC J Printing and feeding paper n/203 inch 1BH 4AH n
24 ESC M Selecting character font A or B 1BH 4DH n
25 ESC S Selecting serial interface speed 1BH 53H n
26 ESC T Printing diagnostic information 1BH 54H
27 ESC V Specifying/canceling 90° -right- turned characters 1BH 56H n
28 ESC Y n Selecting intensity level 1BH 59H n
29 ESC Z Transmits identification string 1BH 5AH
30 ESC ` Transmits current battery voltage and the print head
temperature 1BH 60H
31 ESC a Aligning the characters 1BH 61H n
32 ESC c5 Enabling/disabling the panel switches 1BH 63H 35H n
33 ESC d Printing and feeding the paper by n lines 1BH 64H n
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 7
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Command List
34 ESC n Transmits the printer’s serial number 1BH 6EH
35 ESC q Request bar code reader parameters 1BH 71H
36 ESC r Reading a bar code 1BH 72H
37 ESC s Setting bar code reader parameters 1BH 73H
38 ESC v Transmitting the printer status 1BH 76H n
39 ESC { Specifying/cancelling the inverted characters 1BH 7BH n
40 ESC $ Specifying the absolute positions 1BH 24H n1 n2
41 ESC \ Specifying the relative positions 1BH 5CH n1 n2
42 ESC & Define user characters 1BH 26H m n1 n2
43 ESC % Selecting user character set 1BH 25H n
44 ESC ^ Save current settings to nonvolatile RAM 1BH 5EH
45 ESC _ Restore factory settings 1BH 5FH
46 GS ) Set/read internal variable 1DH 29H
47 GS a Enabling/disabling automatic status back (ASB) 1DH 61H n
48 GS c Setting the real time clock 1DH 63H
49 GS C Reading the real time clock 1DH 43H
50 GS k Printing the bar code 1DH 6BH n [d]
51 GS w Selecting the horizontal size (scale factor) of bar code 1DH
77H n
52 GS h Selecting the height of the bar code 1DH 68H n
53 GS H Selecting of print position of HRI code 1DH 48H n
54 GS f Selecting the font of HRI code 1DH 66H n
55 GS p Setting bar code PDF-417 parameters 1DH 70H
56 GS * Defining the downloaded bit image 1DH2An1n2[d]n1xn2
57 GS / Printing the downloaded bit image 1DH 2FH m
58 GS : Starting/ending macro definition 1DH 3AH
59 GS ^ Executing the macro 1DH 5EH n1 n2 n3
60 GS L Setting the left margin 1DH 4CH n1 n2
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 8
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Descriptions
BEL
Sounds the beeper
[Code] <07>H
[Outline] Sounds the beeper.
HT
Horizontal Tab Command
[Code] <09>H
[Outline] Shifts the printing position to the next horizontal tab position.
• Ignored when the next horizontal tab position has not been
set.
• The horizontal tab position is set by ESC D.
• Initial setting of the horizontal tab position is each 8
characters in 9th, 17th, 25th, columns.
[See Also] ESC D
LF
Printing and Paper Feed Command
[Code] <0A>H
[Outline] Prints data inside the input buffer and feeds lines based on the
line feed amount having been set.
The head of the line becomes the next print starting position.
[See Also] ESC 2, ESC 3
CR
Print Command
[Code] <0D>H
This command is ignored.
ESC RS
Sounds the beeper
[Code] <1B>H<1E>H
[Outline] Sounds the beeper.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 9
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
ESC SP n
Setting the right space amount of the character
[Code] <1B>H<20>H<n>
[Range] {0 <= n <= 20h}
[Outline] The rightward space amount is set in dot unit (1/203 inch unit).
[Caution] The rightward space amount in double wide mode is made
double of the set volume.
[Default] n = 0
ESC ! n
Collective Specifying Printing Mode
[Code] <1B>H<21>H<n>
[Range] {0 <= n <= FFh}
[Outline] Printing mode is assigned. Each n bit indicates the following:
Bit Function Value 0 Value 1
0 Character Font Font A Font B
1 Undefined
2 Undefined
3 High-lighting Cancelled Specified
4 Double height Cancelled Specified
5 Double width Cancelled Specified
6 Undefined
7 Underline Cancelled Specified
[Caution] • With double height and double width being specified
simultaneously, double wide and double high characters
are consisted.
• An underline is attached to the full character width, which,
however, is not attached to the part having been
skipped by the horizontal tab. Neither is it attached to
9-right-turned characters.
• The underline width is as having been specified by <ESC - >.
(The default setting is 1 dot width)
• In case that double wide character and normal character exist
in same one line, the layout of underline is consistent
one.
[Default] n = 0
[See Also] ESC E, ESC –
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 10
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
ESC & m n1 n2 [ d ] k
Define user characters
[Code] <1B>H<26>H<m><n1><n2>[<d>]k
{Range] { m = 0-3 Subcommand}
{20h <= n1 <= FFh }
{n1 <= n2 <= FFh }
{k = (n2-n1+1)*48 for m=2 and k = (n2-n1+1)*16 for m=3 }
[Outline] Defines a group of user characters.
m=0: Copy internal character set A to user character set A (Parameters n1,
n2 and d are omitted }
m=1: Copy internal character set B to user character set B
(Parameters n1, n2 and d are omitted }
m=2: Define character group with ASCII codes between >=n1 and
<=n2 for character set A (12x24). Every character is 48 bytes, two
bytes for each line. Only the first nibble of the second byte is used.
m=3: Define character group with ASCII codes between >=n1 and
<=n2 for character set B (9x16). Every character is 16 bytes.
n1 is the ASCII code of the first and n2 is the ASCII code of the last of (n2-
n1+1) consecutive symbols. To define a single symbol n1=n2.
d is the data that defines the symbols. Every Font A symbol consists of 48
bytes while every Font B symbol consists of 16 bytes.
A Font A symbol is defined left to right, top to bottom, two bytes for each
horizontal line, as only the four most significant bits of the second byte are used.
Every bit denotes one dot. A bit set to ‘1’ means black dot. The most significant bit is
the starting.
Every horizontal line of Font B symbol consists of one byte, as the ninth point is
always white. The most significant bit is the starting.
The user-defined characters are kept after printer off.
[See Also] ESC %
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 11
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
ESC % n
Select/cancel user defined characters
[Code] <1B>H<25H>n
• Only bit 0 of n is defined
Value 0: Selected
Value 1: Not selected
[See also] ESC &
ESC * m n1 n2 [ d ] k
Specifying the Bit Image Mode
[Code] <1B>H<2A>H<m><n1><n2> [ <d> ] k
[Range] {m= 0, 1, 32, 33 bit image mode (See the table below.)}
{0 <= n1 <= FFh}
{0 <= n2 <= 3}
{0 <=d <=FFh)
{k = n1 + 256 X n2 (m = 0, 1)
{k = (n1+256 X n2) X 3} (m = 32, 33)
[Outline] According to the number of dots specified in n1, n2, specify the bit image
of mode m.
• The total number of dots printed in the bit image is equal to n1 + (256 x
n2).
• When bit image data have been input in excess of dot position of one line
(384 dots) , the excess data are discarded.
• d is bit image data, the bits subject to printing are taken as "1" and those
not as "0".
• The bit image modes specified by m are shown as follows:
Vertical Direction Horizontal Direction
m Mode Dots Dot Density Dot
Density
Max.
Dots
0 8-dot single density 8 67 DPI 101 DPI 192
1 8-dot double
density
8 67 DPI 203 DPI 384
32 24-dot single
density
24 203 DPI 101 DPI 192
33 24-dot double
density
24 203 DPI 203 DPI 384
[Caution] • When the values set in m (bit image mode) are out of the above range,
the data following after n1 is processed as normal printing data.
• After completion of bit image printing, printer returns to normal data
processing mode.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 12
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
ESC * m n[ d ] k
ESC * m n h f [ d ] k
Specifying the Bit Image Mode (Sending graphics data horizontally)
[Code] <1B>H<2A>H<m><n> [ <d> ] k
<1B>H<2A>H<m><n> <h><00>H [ <d> ] k (mode 18 only)
[Range] {m = 16, 17, 18, 20 bit image mode }
{0 <= n <= 40h}
{0 <= d <= FFh}
{k = n * 24 * 48} (m = 16)
{k = n * 24 * 48} (m = 17) { After decompression }
{k = n * h * 48} (m = 18) { After decompression }
{k = n * 24 * 48} (m = 20) { After decompression }
{0 <= h <= 24 (Used only for mode 18.)}
[Outline] In these graphics modes is sent a graphics block with variable width n*8
dots and height 24 dots for modes 16,17 and h dots for mode 18. In mode
17 data is compressed, and the bytes count specified is before the
compression. In mode 16 the same data is without compression. Mode 20
is similar to mode 17, but every byte is mirrored before putting in the print
buffer (bits 0 and 7, 1 and 6, 2 and 5, 3 and 4 change places). All modes
are high resolution (203 x 203 DPI).
• When bit image data have been input in excess of dot position of one line
(384 dots) , the excess data are discarded.
• d is bit image data, the bits subject to printing are taken as "1" and those
not as "0".
[Caution] • When the values set in m (bit image mode) are out of the above range,
the data following after n is processed as normal printing data.
• After completion of bit image printing, printer returns to normal data
processing mode.
[Compression procedure for mode 17 and 18]
A simple RLE encoding like this in PCX files is used. If two most
significant bits of the byte are set, the 6 LSB contain a repeat
counter (1-63), and the next byte contains the data to be repeated.
A single data byte with 2 MSB set must be sent as two bytes.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 13
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
ESC +
Turning off the printer
[Code] <1B>H<2B>H
[Outline] This command switches off the printer.
ESC – n
Specifying/ Canceling Underline
[Code] <1B>H<2D>H<n>
[Range] {0 <= n <= 2}
[Outline] Specifying/canceling an underline.
• Types of underlines by n value are shown below:
0 Canceling an underline.
1 Specifying an underline for 1-dot width.
2 Specifying an underline for 2-dots width.
[Caution] • An underline is attached to the full character width. It is, however,
not attached to the part having been skipped by horizontal tab command.
• An underline is not attached to a 9°- right-turned characters.
[See Also] ESC !
ESC .
Selftest.
[Code] <1B>H<2E>H
[Outline] Prints character table, character samples with different attributes and
diagnostic information.
[See also] ESC T
ESC 2
Specifying 1/6-inch line feed rate
[Code] <1B>H<32>H
[Outline] The line feed rate per line is specified by 1/6 inch.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 14
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
ESC 3 n
Setting line feed rate of minimum pitch
[Code] <1B>H<33>H<n>
[Range] {0 <= n <= FFh}
[Outline] The line feed rate per line is specified by n/203 inch.
[Default] The initial value is n = 34 (1/6 inch) (22H), being 4.23 mm line feed rate.
ESC 5 n
Set/clear VBUS output voltage
[Code] 1BH 35H n
[Range] {0 <= n <= FFh}
[Outline] Only bit 0 of n is defined.
Value 0: Output 0V on pin VBUS.
Value 1: Output 5V on pin VBUS
• The USBB port must be switched off or not installed for the command to
be effective. If the USBB port is configured either as host or slave the
command is discarded and VBUS state is not changed.
[Default] The default value is 0V output on pin VBUS.
ESC = n
Data Input Control
[Code] <1B>H<3D>H<n>
[Range] {0 <= n <= FFh}
[Outline] Selecting equipment in which data input from the host is effective.
• Only bit 0 is defined
Value 0: Selected
Value 1: Not selected
• When the printer has not been selected, this printer abandons all the
received data until it is selected by this command.
[Caution] • Even when the printer has not been selected, it can become BUSY
state through printer operation.
• When the printer is deselected, this printer discards all the data until it is
selected with this command.
[Default] • The initial value of n is "1".
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 15
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
ESC > n
Set Factory Defaults
[Code] <1B>H<3E>H<n>
[Range] {0 <= n <= FFh}
[Outline] This command writes the values of the internal variables into the flash
memory. These values will be retrieved at first power up or after a power
failure.
• Value of n doesn’t matter. It is left for compatibility purpose.
• At first start up the printer will write the default values into the flash
• Values of variables 1 and 2 – downloadable bit image and downloadable
font – are not stored into flash.
[Default] • The initial values are: all beeps enabled, serial port deactivated, USBA
enabled as a host in protocol mode, USBB – off, serial interface’s baudrate
– 115200bps, Intensity – 100%. All other variables are initialized as 0.
ESC ? n
Reading a magnetic card
[Code] <1B>H<3F>H<n>
[Outline] When this command is received the diode lights red and the printer waits
for the card to be passed through the slot. If the card is not supplied within
10 seconds / 2 minutes (selectable by the most significant bit) the
command ends automatically. If a byte is transmitted through the serial
interface while the printer is in card reading mode the operation ends and
the following data (including the byte that interrupted the operation) is
processed as normal data.
The printer transmits the contents of the tracks that are read. Each track
ends with a 00h byte. If nothing has been read, the printer transmits only
a 00h byte.
n is a parameter which determines which tracks must be read. The three
lowest significant bits (LSB) determine which tracks to be read (bit 0, 1 or
2 corresponds to track 1, 2 or 3).
The valid values are:
0: Invalid
1: First track
2: Second track
3: First and second tracks
4: Third track
5: First and third tracks
6: Second and third tracks
7: All three tracks
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 16
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
If bit 3 is set to ‘1’ before the data of each track is put a byte
corresponding to the track number (F1h for first, F2h for second and F3h
for third).
If the most significant bit is set to ‘1’ the timeout for reading a card is 2
minutes, if not set – 10 seconds.
ESC @
Restore saved to nonvolatile RAM settings
[Code] <1B>H<40>H
[Outline] Clears data stored in the print buffer and brings various settings to the
initial state (The last state before execution of ESC ^ command).
[Caution] • Data inside the internal input buffer are not cleared.
[See also] ESC ^ and ESC _
ESC D [ n ] k NUL
Setting Horizontal Tab Position
[Code] <1B>H<44>H [ <n> ] k<00>H
[Range] {0 <= n <= FFh}
{0 <= k <= 20h}.
[Outline] Specifying a horizontal tab position.
• "n" indicates the no. of columns from the beginning to the horizontal tab
position. At this time, n= set position 1 is to be specified. For example, to
set the position at 9th column, n=8 is to be specified.
• k denotes the number of horizontal tab positions you want to set.
• The tab position is set at position where it is "character width x n" from
the line beginning. The character width, at this time, includes the rightward
space amount. In double wide characters, it is made double of the ordinary
case.
• Tab positions can be specified are maximum 32. Specifying exceeding
this is ignored.
• <n> k, which denotes a setting position, is input in the increasing order
and ends at <00>H.
• ESC D NUL clears all the set tab positions. Following clearing, horizontal
tab command is ignored.
[Caution] When the data, <n> k, is equal to or smaller than its preceding data,
<n>k-1, it is assumed that tab setting is finished. If this is the case, the
next data onward will be processed as normal data. When the data, <n> k,
exceeds a 1-line print area, set the horizontal tab position, assuming "Set
digit position = Maximum print digits + 1." The horizontal tab position does
not change even if the character width is altered after setting the
horizontal tab position.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 17
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
[Default] • Initial value is specified for each eight characters(9 th .17 th .25 th
column).
[See Also] HT
ESC E n
Specifying/cancelling highlighting
[Code] <1B>H<45>H<n>
[Range] {0 <= n <= FFh}
[Outline] Specifying/cancelling the highlighting characters.
• "n" is valid only for the lowest bit (n0).
• Control by the lowest bit (n0) is shown as follows:
0 Cancelling highlighting.
1 Specifying highlighting.
• This is effective to all characters of font A.
• Dot configuration of a highlighted character includes one extra dot added
at its side.
[Caution] • The print result of Double printing and highlight character printing is
completely same.
[See Also] ESC !
ESC G n
Specifying/canceling Double Printing (ESC G n)
[Code] <1B>H<47>H<n>
[Range] {0 <= n <= FFh}
[Outline] Specifying/canceling the double printing.
• "n" is valid only for the lowest bit (n0).
• Control by n is shown as follows.
0 Canceling double printing.
1 Specifying double printing.
• This is effective to all characters of font A.
[Caution] • The print result of Double printing and highlight character printing is
completely same.
[See Also] ESC E
ESC I n
Specifying/cancelling italic printing (ESC I n)
[Code] <1B>H<49>H<n>
[Range] {0 <= n <= FFh}
[Outline] Specifying/canceling the double printing.
• "n" is valid only for the lowest bit (n0).
• Control by n is shown as follows.
0 Canceling italic printing.
1 Specifying italic printing.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 18
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
ESC J n
Printing and feeding paper n/203 inch
[Code] <1B>H<4A>H<n>
[Range] {0 <= n <= FFh}
[Outline] Prints data inside the print buffer and feeds paper by n/203 inch. Since an
actual mechanical pitch is 1/203 inch, it is internally converted
approximate to the value specified with this command.
• Specified volume does not remain.
• The beginning of the line is to be considered as the next printing start
position.
• Initial value is not defined.
ESC M n
Specifying/canceling highlighting
[Code] <1B>H<4D>H<n>
[Range] {0 <= n <= FFh}
[Outline] Selects character font.
• "n" is valid only for the lowest bit (n0).
• Control by the lowest bit (n0) is shown as follows:
0 Selection of font A (12x24).
1 Selection of font B (9x16).
[Caution] ESC ! can also select fonts, but the setting made by the command
processed last is valid.
[See also] ESC !
ESC S n
Selecting serial interface speed
[Code] <1B>H<53>H<n>
[Range] {0 <= n <= 6}
{“0” <= n <= ”6”}
[Outline] Sets serial interface speed.
• "n" means the followings.
0 or “0” Sets speed to 1200 bps
1 or “1” Sets speed to 2400 bps
2 or “2” Sets speed to 4800 bps
3 or “3” Sets speed to 9600 bps
4 or “4” Sets speed to 19200 bps
5 or “5” Sets speed to 57600 bps
6 or “6” Sets speed to 115200 bps
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Infinite Peripherals, Inc. Page 19
www.ipcprint.com
PP-55 Resident Command Set Version 1.01
Detailed Description
[Caution] • Once changed the serial port speed can be changed only by another ESC
S command or by detaching the battery.
• The printer and the PDA (or the PC) must be set to the same speed in
order to make the communication possible.
• The current serial interface speed is printed during self-test.
[Default] • The initial value of n is "6" or 115200 bps.
ESC T
Printing diagnostic information
[Code] <1B>H<54>H
[Outline] Printing current intensity level, temperature, voltage, and serial port
speed.
[See also] ESC .
ESC V n
Specifying/Canceling 90º -right- turned Characters
[Code] <1B>H<56>H<n>
[Range] {0 <= n <= 1}.
[Outline] Specifying/canceling characters 90º -right- turned character.
• "n" means the followings.
0 Canceling 90º -right- turned Characters
1 Specifying 90º -right- turned Characters
[Caution • No underlines are attached to 90º -right- turned characters .
[Default] • The initial value of n is "0".
ESC Y n
Selecting the intensity level
[Code] <1B>H<59>H<n>
[Range] {0 <= n <= 5}
[Outline] Set the intensity level.
• "n" means the followings.
0 Set intensity 70 %
1 Set intensity 80 %
2 Set intensity 90 %
3 Set intensity 100 %
4 Set intensity 120 %
5 Set intensity 150 %
[Caution] • Higher intensities can cause a lower speed.
[Default] • The initial value of n is 3.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39

Infinite Peripherals PP-55 Supplementary Manual

Category
Print & Scan
Type
Supplementary Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI