Intermec PX4i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 80
Introduction, 6.3 Reading Date and Time, 6.4 Testing the Printhead
View all Intermec PX4i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 80 highlights
Chapter 6-Reading the Printer's Status 6.1 Introduction Provided there is a working two-way serial communication between the printer and the host computer, the printer's status in regard of various functions can be read back to the host. Thus, the serial channel connected to the host must be selected standard IN/OUT channel (default, see SETSTDIO instruction in Chapter 5.2). 6.2 Returning Information to the Host The PRINT instruction reads the printer's status as specified by a complementary instruction and returns the result on the standard OUT channel to the host, where it usually will be printed on the screen. The shorthand version of PRINT is a question mark (?). PRINT | ? 6.3 Reading Date and Time The current date and time according to the printer's clock/calendar can be read as follows: ? DATE$ or ? DATE$("F") ? TIME$ or ? TIME$("F") 6.4 Testing the Printhead The thermal printhead can be tested in three ways: ? FUNCTEST$ ("HEAD") The printhead is tested for number of dots and possible faults. There are 3 possible responses: "HEAD OK, SIZE:nnn DOTS" (nnn is the number of dots) "HEAD LIFTED" (lower the printhead and try again) "FAULTY PRINTHEAD" (an error is detected) ? HEAD() ≥ 0: = -1: = -7: returns resistance of the specified dot in ohms checks printhead. Returns -1 of OK, else 0 returns mean resistance of printhead in ohms Refer to the Intermec Fingerprint v.8.60, Programmer's Reference Manual. ? SYSVAR() = 21 = 22 returns printhead density in dots per mm returns the number of dots in the printhead 72 Intermec Direct Protocol v.8.60-Programmer's Reference Manual