<PCHexNumLogo HexXDim HexYDim HexTBD Id Hexdata>
Printers: KPM300
VeriPrint
, KUBE II
VeriPrint
, KUBE-L
VeriPrint
, TK300II
VeriPrint
[Name]
Save the image received from serial port into fl ash
[Format]
ASCII
<PCHexNumLogo HexXDim HexYDim HexTBD Id Hexdata>
[Range]
[Description]
Save the image received from serial port into printer
fl
ash; if the number used to store
logo is not already present inside the printer, the new logo is appended to stored logos,
otherwise the image is overwritten and moved in the last position of
fl
ash.
•
HexNumLogo
indicates the number of logo, 2 bytes expressed in hexadecimal nota-
tion;
•
HexXDim
indicates the logo horizontal dimension in pixe, 2 bytes expressed in
hexadecimal notation; the value must be multiple of 16;
•
HexYDim
indicates the logo vertical dimension in pixel, 2 bytes expressed in hexa-
decimal notation;
•
HexTBD
2 bytes
fi
xed to $00 (RESERVED);
•
Id
indicates the
fi
le-name of the logo, a sequence of 16 bytes that identify
univocally the logo;
•
Hexdata
are the image data.
The printer returns a sequence of bytes as follows :
<PC0>
if the saving include an incorrect syntax or the available memory in
fl
ash for
logos is
fi
nished (128Kbyte);
<PC1n>
if the syntax command is correct and there’s enough memory in
fl
ash for saving
logos; n returns the status of the
fl
ash programming :
$88 ->
Sector not erased
$77 ->
Error during programming
$AA -> Programming done.
[Notes]
• If
fi
le-name length is shorter than 16 byte, add a terminator (0) and make padding to
16 characters.
• If
fi
le-name extension is absent, it is automatically added to the name.
[Default]
[Reference]
[Example]
The following example shows the bytes sequence received from serial port to store a logo
into the printer
fl
ash :
Offset
Hexadecimal
ASCII
00000000: 1C 94 00-08 01 C0 02-49 00 00 4C-6F 67 6F 32 36
° ° ° ´ + ˆ I L o g o - 2 6
00000010: 2E 42 4D50 00 00 00-00 00 00 00-00 00 00 00 00
.BMP
00000020: 00 00 00-00 00 00 00-00 00 00 00-00 00 00 00 00
....
....
Image data
....
00008000: 00 00 00 00-00 00 00 00-00 00 00 00-00 00 00 00
00008010: 00 00 3E
>
If the programming is successful, the printer’s answer will be:
HEX
$3C
$50 $43 $31
$AA
$3E
ASCII
<
P
C
1
{}
>
SVELTA Emulation
106
Command Reference
Содержание KPM300
Страница 72: ...Blank page ESC POS Emulation 72 Command Reference ...
Страница 127: ......