Pjl Gpio Write Test; Pjl Config Command - IntelliTech IntelliBar Mi Series Programmer's Manual

Table of Contents

Advertisement

IntelliTech International, Inc.
While the test is running, check the ERRORCOUNT value from the PJL INFO
SYSTEMSTATUS read back command to view the GPIO read status. Use bitwise
operand AND of this value against 0x01 for pin1, 0x02 for pin 2, 0x04 for pin 3, etc. If the
result is true then it is considered a high signal. If the result is false, it is considered a low
signal.
Note:
This is only for input pins. Output pins are a "do not care".

PJL GPIO Write Test

Prior to performing the GPIO write test, the GPIO parameters in the database should be
set using either the front panel, PJL variables or by other means. The signal function for
all pins should be "None". The signal type for all pins should be "High". For pulse mode,
the "High Pulse" value should be used for output pins. The I/O configuration should be
set with an integer representing a bitwise value where first bit is pin 1, the second bit is
pin 2, etc. One is an input pin and zero is an output pin. Bits 8 – 15 are fixed at 1. For
example, if pins 1-4 are input and pins 5-8 are output, then the resulting value would be
65295 (1111111100001111).
Note:
Pins are coupled 1/2, 3/4, 5/6, 7/8.
To start the test, enter the following command:
<ESC>%-12345X@PJL JOB NAME = "JOB_GPIOWRITE_TEST" <LF>
@PJL PERFORM GPIOWRITE = n <LF>
@PJL EOJ <LF>
Where "n" is an integer representing a bitwise value and when the first bit is pin 1, the
second bit will be pin2, etc. One is ON state and zero is OFF state. Only output pins are
used.
For example, if pins 1-4 are output ON and pins 5-8 are input then the resulting value
would be 15 (00001111).
Note:
Pins are coupled 1/2, 3/4, 5/6, 7/8.

PJL CONFIG Command

The custom PJL CONFIG command is used with various functions for printer
configurations. PJL password security in the JOB command protects against
unauthorized use of this command. Please refer to the HP PCL/PJL Technical Reference
Manual for more information on PJL security.
The syntax of the command is as follows:
<ESC>%-12345X@PJL JOB NAME = "JOB_NAME" <LF>
@PJL PERFORM CONFIG [= value] <LF>
@PJL EOJ <LF>
The value is optional as noted below.
27
Thermal Printer Programmer's Guide
Programmer's Guide | 1

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for IntelliTech IntelliBar Mi Series

Table of Contents