beautypg.com

Printronix PrintNet Enterprise User Manual

Page 183

background image

Pattern Recognition Example

183

Figure 160. Entering the Input String

25. Press the right arrow key, then the down arrow key and type 0A00

(for LF and NUL). See Figure 160.

NOTE:

The entry in the CST will show “pat” (Pattern) in the attribute field and
a pattern number in the character field. The hex value shown below
the pattern number has no specific meaning.

Since the

aaaa

value is not going to be used, we need to give these

characters the Don’t Care attribute.

26. Select

aaaa

.

27. Right-click the selected aaaa and select

Don’t Care

. The attribute field

changes from “m” (Match) to “dc” (Don’t Care).

28. In the Output field, type ~PAPER;CALIBRATE. This PGL command

replaces the “Daaaa” part of the thermal printer 1 command.

29. Continue by typing ;LENGTH[space].

Figure 161. Entering the Output String

30. Right-click at the insertion point and select

Insert Pattern

2 - Length

.

See Figure 161.

NOTE:

Make sure you right-click to the right of the space.

31. Press the right arrow key and type ;WIDTH[space].

32. Right-click at the insertion point and select

Insert Pattern

1 - Width

.

33. Press the right arrow key, then the down arrow key and type 0D0A

(for CR and LF).