Kyocera TASKalfa 6501i PCL Barcode Flash 3.0 User's Manual Rev 3.2.03.2013 - Page 29

Control with PCL

Page 29 highlights

3.2 Control with PCL PCL Barcode Flash uses PCL font activation sequences to control barcodes. The following instructions assume a basic knowledge of PCL programming. If you are not yet confident with using this, we recommend that you read the manuals mentioned in the previous chapter in which programming in PCL is looked at in more detail in addition to PRESCRIBE programming. In particular, two sequences are important, the first one for controlling fonts: (s#T and the second one for activating Transparent mode: &p#X. Below, when we mention we mean ASCII character 27 decimal or 1B hexadecimal. Number parameters are referred to by # below. The sequence (s#T normally changes the font. In other words, the text which follows the sequence is printed from this point on in the font for which you have stated the number. Each font available in the printer has a number which has to be stated in the T parameter. The selected font remains active until the printer receives another (s#T sequence with another number, then it changes the active font again. The barcodes and matrix codes in PCL Barcode Flash are also controlled in this way, and each barcode and matrix code is allocated a number, just like every font. These numbers come from a reserved range of numbers in which there are no font numbers, from 24580 to 24900. Please see the following list in this chapter for the equivalent "font numbers" of the barcodes supported individually. If you would like to use one of the barcodes or matrix codes made available by PCL Barcode Flash, change the "font" with the sequence (s#T so that further data that follows the sequence is interpreted by the printer from this point on as barcode information and no longer as text. This base data, as it is known, does not have to be clearly legible text: any binary data can also be sent, depending on the barcode. Just like fonts, barcodes remain active until the printer receives another (s#T sequence. In this respect, please see the following chapter as well. Note If you would like to use your own fonts (regardless of whether you are using PCL or PRESCRIBE), please do not use any font numbers in the range of 24580 to 24900 as mentioned, as these numbers are reserved for the barcodes in PCL as soon as PCL Barcode Flash is activated. Otherwise this may lead to unwanted printer behaviour. 3.2.1 Stop characters The base data has to be closed by means of a stop character. In the case of numeric barcodes, this stop character may be: (ASCII 13), (ASCII 10), (ASCII 12), (ASCII 27) , (ASCII 32) In the case of alphanumeric barcodes, this stop character may be: 29

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115

29
3.2 Control with PCL
PCL Barcode Flash uses PCL font activation sequences to control barcodes. The
following instructions assume a basic knowledge of PCL programming. If you are not
yet confident with using this, we recommend that you read the manuals mentioned in
the previous chapter in which programming in PCL is looked at in more detail in
addition to PRESCRIBE programming.
In particular, two sequences are important, the first one for controlling fonts:
<Esc>(s#T
and the second one for activating Transparent mode:
<Esc>&p#X
.
Below, when we mention
<Esc>
we mean ASCII character 27 decimal or 1B
hexadecimal. Number parameters are referred to by # below.
The sequence
<Esc>(s#T
normally changes the font. In other words, the text which
follows the sequence is printed from this point on in the font for which you have
stated the number. Each font available in the printer has a number which has to be
stated in the T parameter. The selected font remains active until the printer receives
another
<Esc>(s#T
sequence with another number, then it changes the active font
again.
The barcodes and matrix codes in PCL Barcode Flash are also controlled in this way,
and each barcode and matrix code is allocated a number, just like every font. These
numbers come from a reserved range of numbers in which there are no font
numbers, from 24580 to 24900. Please see the following list in this chapter for the
equivalent “font numbers” of the barcode
s supported individually. If you would like to
use one of the barcodes or matrix codes made available by PCL Barcode Flash,
change the “font” with the sequence
<Esc>(s#T
so that further data that follows the
sequence is interpreted by the printer from this point on as barcode information and
no longer as text. This base data, as it is known, does not have to be clearly legible
text: any binary data can also be sent, depending on the barcode.
Just like fonts,
barcodes remain active until the printer receives another
<Esc>(s#T
sequence. In
this respect, please see the following chapter as well.
Note
If you would like to use your own fonts (regardless of whether you are using
PCL or PRESCRIBE), please do not use any font numbers in the range of
24580 to 24900 as mentioned, as these numbers are reserved for the
barcodes in PCL as soon as PCL Barcode Flash is activated. Otherwise this
may lead to unwanted printer behaviour.
3.2.1 Stop characters
The base data has to be closed by means of a stop character.
In the case of numeric barcodes, this stop character may be:
<CR>
(ASCII 13),
<LF>
(ASCII 10),
<FF>
(ASCII 12),
<Esc>
(ASCII 27) ,
<Space Character>
(ASCII 32)
In the case of alphanumeric barcodes, this stop character may be: