Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 8 of 10

O'Neil Programming Language Reference Manual: Querying the Printer, pages 51 to 59

Pages 51 to 59 of 69, from O'Neil Programming Language Reference Manual

The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the O'Neil MicroFLASH 4T (MF4T) and Datamax MicroFLASH 4T (MF4T)

Page 51

Chapter 4: Querying the Printer

Version Reply Explanation Query

Reply

Definition

F n.nn

Firmware version is n.nn.

B n.nn

Boot code version is n.nn.

D n.n

Download (fonts, graphics, formats) version is n.nn.

Memory Query Memory Query Query Format

ESC{MY?}

Reply Format

{MY!FS:x;FM:x;RS:x;DT:x;DR:x}

Function

Returns the size of all memory available in the printer, including the amounts used and the amount remaining. Available for original MF2/MF3/2t/4t and radio ready 2t/3l/4t.

Reply Example

{MY!FS:1M;FM:AMD;RS:1M;DT:049152;DR:000512}

Reply Example Explanation

MY! - Reply to a memory query. FS:1M; - This printer contains a 1M bit Flash memory FM:AMD; - The Flash manufacturer is AMD. RS:1M; - RAM Size = 1M. DT:049152; - Total Flash area available for download is 49,152 bytes. DR:000512; - Download Flash memory Remaining. Out of 49,152 bytes, 512 bytes are available.

Memory Reply Explanation Query

Reply

Definition

FS

1 Meg, 4 Meg

Flash size = 1 Meg (128K bytes) or 4 Meg (512K bytes)

FM

AMD

Flash manufacturer = AMD

RS

1 Meg

RAM size = 1 Meg (128K bytes)

DT nnnnnn

Download total area = nnnnnn bytes. This is the size after the application program is downloaded to Flash and after the boot code size is deducted.

DR nnnnnn

Download RAM remaining = nnnnnn bytes. Download total and download remaining are the same values only if no fonts or graphics were downloaded.

O’Neil Programming Language Reference Manual

50

Page 52

Chapter 4: Querying the Printer

Printhead Query Printhead Query Query Format

ESC{PH?}

Reply Format

{PH!TD:x;DD:x;T:x;M:x}

Function

Returns the printhead type used and the total number of dots across. Available for original MF2/MF3/2t/4t and radio ready 2t/3l/4t printers.

Reply Example

Thermal: {PH!TD:0384;DD:203;M:LPT3245;T:+25.6C;} Impact: {PH!IMPACT1;PINS:09;W:080}

Reply Example Explanation

Thermal: PH! - Reply to a printhead query. TD:0384; - The printhead in this printer has 384 dots across. DD:203; - The dot density is 203 dots per mm). M:LPT3245 - The printhead model number is LPT3245. T:+25.6C; - The current printhead temperature is +25.6° centigrade. Impact: PH!IMPACT1; - 1920 dots across at maximum density; 960 dots across at middle density; 480 dots across at lowest density. PINS:09; - 9 pin printhead. W:080; - 80 columns wide.

Printhead Reply Explanation Query

Reply

Definition

TD

Nnnn

Total number of dots across the printhead: 384 = two inch printhead on the 2t 832 = four inch printhead on the 4t

DD

Nnn

Dot density of the printhead (dot per mm).

M x...x (variable width)

Printhead model number.

T

+ nn.nC

Printhead temperature.

D

Nnn

File version of downloaded fonts.

IMPACT1 IMPACT1 = 1920 dots across at maximum density; 960 dots across at middle density; 480 dots across at lowest density. PINS

Xx

Numbers of pins on printhead.

W

Xx

Width of columns.

O’Neil Programming Language Reference Manual

51

Page 53

Chapter 4: Querying the Printer

Infrared Query Infrared Query Query Format

ESC{IR?}

Reply Format

{IR!P:x;AV:x;DV:x;IV:x;IN:x;ID:x}

Function

Returns information about the current infrared settings. Also returns a unique name for the printer, communication capabilities, and peripherals. Although not all printers have infrared capabilities, the ESC{IR?} query is present in all printers to allow the user to determine uniquely which printer type is attached.

Reply Example

{IR!P:IrDA;AV:00;DV:00;IV:1.02;IN:microFlash2; ID:1234567890123456789}

Reply Example Explanation

IR! - Reply to an infrared query. P:IrDA; - The IrDA protocol is on. AV:00; - The ASK version is 00. DV:00; - The DIRECT version is 00. IV:1.0-06; - The IrDA version specification supported is 1.0 and the firmware is version 06. IN:microFlash2; - The device nickname is microFlash2. ID: - The device name is 1234567890123456789.

O’Neil Programming Language Reference Manual

52

Page 54

Chapter 4: Querying the Printer

Infrared Reply Explanation Query

Reply

P

OFF,IrDA,AS Original MF2/MF3/2t/4t Printers: Protocol selected is OFF, K, ASC-CRC, IrDA, ASK, ASK with CRC, DIRECT or DIRECT with CRC DIRECT, DIRECT-CRC Radio Ready 2t/3l/4t Printers: Fixed: N (None). Does not support Infrared

AV nn

Original MF2/MF3/2t/4t Printers only: ASK software version = nn (Current 01)

DV nn

Original MF2/MF3/2t/4t Printers: DIRECT software version = nn (Current 01) Radio Ready 2t/3l/4t printers: Fixed:00

IV n.n-mm

Original MF2/MF3/2t/4t Printers: Version of IrDA specifications supported is n.n; firmware version of IrDA loaded into this printer is mm. Radio Ready 2t/3l/4t printers: Fixed:0.00

IN

Definition

IrDA Name (unique across printers): The value returned for this parameter identify the printer type. Original MF2/MF3/2t/4t Printers: microFlash2, microFlash3, microFlash4, microFlash4CR, 2t, 2tCR Radio Ready 2t/3l/4t printers: Printer Type - 2tR, 3LR, 4tr Card Reader: Add S suffix Radio: Add 802 or add BT suffix

ID

IrDA Nickname.

O’Neil Programming Language Reference Manual

53

Page 55

Chapter 4: Querying the Printer

IN x.x

IrDA nickname, up to 19 characters. Uniquely identifies the printer, its communication capabilities and its microFlash2, peripherals. microFlash2, Thermal: 2t, 2i • 2tR - 2t Radio firmware with RS-232 only • 2tRBT - 2t Radio firmware with RS-232 and Bluetooth • 2tR802 - 2t Radio firmware with RS-232 and 802.11b • 2tRS - 2t Radio firmware with RS-232 only with SCard Reader • 2tRSBT - 2t Radio firmware with RS-232 and Bluetooth with SCard Reader • 2tRS802 - 2t Radio firmware with RS-232 and 802.11b with SCard Reader • 4tR - 4t Radio firmware with RS-232 only • 4tRBT - 4t Radio firmware with RS-232 and Bluetooth • 4tR802 - 4t Radio firmware with RS-232 and 802.11b • 4tRS - 4t Radio firmware with RS-232 only with SCard Reader • 4tRSBT - 4t Radio firmware with RS-232 and Bluetooth SCard Reader • 4tRS802 - 4t Radio firmware with RS-232 and 802.11b SCard Reader Impact: • RP2R - RP-2000 Radio firmware with RS-232 only RP2RBT - RP-2000 Radio firmware with RS-232 and Bluetooth • RP2R802 - RP-2000 Radio firmware with RS-232 and 802.11b • VMP2R - VMP-2000 Radio firmware with RS-232 only • VMP2RBT - VMP-2000 Radio firmware with RS232 and Bluetooth • VMP2R802 - VMP-2000 Radio firmware with RS232 and 802.11b

ID x.x

IrDA device name, up to 19 characters.

O’Neil Programming Language Reference Manual

54

Page 56

Chapter 4: Querying the Printer

Font Query Font Query Query Format

ESC{FN?}

Reply Format

{FN!N5:x,N1:x,L:x,UV:x, UD:x,US:x, CPI:x}

Function

Lists fonts, both permanent and downloaded. Within a complete font definition, each query character is separated from the next with a comma (,). A semicolon, carriage return and line feed (;.<CR>, <LF>) separate each font. Available for original MF2/MF3/2t/4t and radio ready 2t/3l/4t printers.

Reply Example

{FN!N5:MF107,N1:&(26),L:R,UV:1,UD:01/02/96, US:96CHARS BLOCKBOLD,CPI:10.7;N5:MF204, N1:!(21),L:D,UV:1,UD:01/02/96,US:224 CHR BLOCK NORMAL,CPI:20.4}

Reply Example Explanation

FN! - Reply to a font query. N5:MF107, - The first font name is MF107. N1:&(26), - The one-character name is &, or 26H. L:R; - The first font is a resident font. UV:1; - The user version is 1. UD:01/02/96; - The user date is 01/02/96. US:96chars blockbold, - The font is a 96 character block bold font. CPI:10.7; - The font has 10.7 characters per inch. N5:MF204, - The next font begins.

Fonts Reply Explanation Query

Reply

Definition

N5 xxxxx

Five character name = xxxxx

N1 x(nn)

One character name - also in HEX

L

R,D

Location - Resident or Downloaded

UV x

User version number = x

US x..x

User descriptive summary of font, 20 characters

CPI nn.n

Characters per inch - nn.nn

O’Neil Programming Language Reference Manual

55

Page 57

Chapter 4: Querying the Printer

Graphics Query Graphics Query Query Format

ESC{GR?}

Reply Format

{GR!N5:x,N1:x,L:D,UV:x,UD:x,US:x}

Function

Lists graphics currently downloaded to the printer. The reply is similar to the fonts query reply but without the font-related information. Each graphic present in the printer will return one complete set of all parameters below. If there are no graphics present, the response will be {GR!}. Available for original MF2/MF3/2t/ 4t and radio ready 2t/3l/4t printers.

Reply Example

{GR!N5:LOGO1,N1:z(7A),L:D,UV:1,UD:05/29/96, US:Big Logo}

Reply Example Explanation

GR! - Reply to a graphics query. N5:LOGO1, - The graphic has a five-character name, LOGO1. N1:z(7A), - The graphic has a one-character name of z, or 7AH. L:D, - This is a downloaded graphic. UV:1, - The user version is 1. UD:05/29/96, - The user date is 5/29/96. US:Big Logo - The user descriptive summary is Big Logo. CPI: 22.1

Graphics Reply Explanation Query

Reply

Definition

N5 xxxxx

Five character name = xxxxx

N1 x(nn)

One character name - also in HEX

L

R,D

Location - Resident or download

UV x

User version number = x

UD xx/xx/xx

User date

US x..x

User descriptive summary of font, 20 characters

CPI nn.n

Characters per inch. 1/CPI is the approximate width of the graphic.

O’Neil Programming Language Reference Manual

56

Page 58

Chapter 4: Querying the Printer

Formats Query Formats Query Query Format

ESC{FM?}

Reply Format

{FM!N5:x,L:x,UV:x,UD:x,US:x}

Function

Lists formats downloaded to the printer. The reply is similar to the fonts query reply, but without the font-related information.

Reply Example

{FM!N5:LABEL,L:D,UV:1,UD:05/29/96,US:PROPERTY ID LABEL-BC}

Reply Example Explanation

FM! - Reply to a formats query. N5:LABEL, - The format has a five-character name of LABEL. L:D, - The format is a downloaded format. UV:1, - The user version is 1. UD:05/29/96, - The user date is 05/29/96. US:PROPERTY - The user descriptive summary is PROPERTY ID LABEL-BC.

Formats Reply Explanation Query

Reply

Definition

N5 xxxxx

Five character name = xxxxx

L

R,D

Location - Resident or download

UV x

User version number = x

UD xx/xx/xx

User date

US x..x

User descriptive summary of font, 20 characters

802.11b/TCP/IP Query 802.11b/TCP/IP Query Query Format

ESC{TC?}

Reply Format

{TC!E:x;N:x;T:x;D:x;I:x;M:x;G:x;P:x;NA:x;S:x;W:x;K:x; K1:x;K2:x;K3:x;K4:x;MAC:x;80211b Info:x;P2:x;PWR:x;Q:x}

Function

Returns current TCP/IP and 802.11b configuration (if applicable). This query is available on radio ready 2t/3l/4t printers only.

O’Neil Programming Language Reference Manual

57

Page 59

Chapter 4: Querying the Printer

802.11b/TCP/IP Reply Explanation Query

Reply

Definition

E xxxxx

Returns a variable length string specifying the ESSID (Extended Service Set Identification) configured in the printer.

N xxxxx

Returns a string name specifying the station name.

T

H,P

Connection - H=AdHoc mode; P=Print point mode.

D

N,Y

Dynamic Host Configuration Protocol (DHCP) status N=DHCP is off; Y=DHCP is on.

I x.x.x.x

IP address - The IP address is returned in the form x.x.x.x where x can be one to three digits. If DHCP is off, the IP address is manually configured. If DHCP is on, the IP address is assigned by the server. If an IP address cannot be found, the address is set to zeroes.

M x.x.x.x

Indicates the mask used on the IP address to determine how much must match.

G x.x.x.x

Gateway to use.

P xxx

Port to use.

NA

0 to 3

Network authentication. 0=None; 1=LEAP (Cisco); 2=WPA-PSK (Symbol); 3=WPA (future-Symbol).

S

0,5,13

Authentication algorithm. 0=No security; 5=40-bit algorithm (5 byte key); 13=128-bit algorithm (13 byte key - last three bytes are filled in by stack)

W

1,2

Enable encryption. 1=WEP encryption; 2=Allow unencrypted.

K xx

Specifies which key is currently in use (keys 1 to 4). This is applicable only if encryption and/or security is on.

K1 K2 K3 K4

0,5,14

Displays the security of keys 1 to 4. 0=No security; 5=40-bit algorithm (5 byte key); 13=128-bit algorithm (13 byte key - the last three bytes are filled in by stack).

MAC nn-nn-nnnn-nn-nn

MAC address on card.

802/ 11B Info

Card type, card firmware version

Information about 802.11b card in the printer.

P2

Y/N

Power saving mode (CAM on or off). Y=CAM off; N=CAM on.

PWR

ON,OFF

ON=PCMCIA power is on, OFF=PCMCIA power is off.

Q

Y/N

Signal quality indicator. Y=On; N=Off.

The default values are as follows: K1:101112131415161718191A1B1C K2: 20212223242526278292A2B2C K3: 303132333435363738393A3B3C K4: 404142434445464748494A4B4C

O’Neil Programming Language Reference Manual

58