Dymo 1761334 Technical Reference - Page 41

GS h Set Barcode Height, GS k Print Barcode, Description, Expression, Parameters

Page 41 highlights

Commands GS h Set Barcode Height Description Defines the height of the bars (in dots) for barcodes. The height is defined in n/203 inch increments. For example, specify 203 as the value for n to print a 1-inch high barcode. The barcode height is always rounded up to the next multiple of 8. Expression ASCII GS h n Decimal 29 104 n Hex 1D 68 n Parameters n the desired height (in dot lines) of the barcode GS k Print Barcode Description Prints a barcode at the current position in the current orientation. The n parameter selects the symbology to be printed. (See the table below.) The m parameter specifies how many characters are to be encoded as part of the barcode. If the number of characters to be encoded is variable, the m parameters can be set to zero. This will cause the printer to read the next character sent as a delimiter character. Further characters will then be encoded into the barcode until a character is found that matches the start character. Expression ASCII GS k n m d1...dm Decimal 29 107 n m d1...dm Hex 1D 6B n m d1...dm Parameters n Selects the barcode symbology to be used Specifies the number of characters to be encoded. Also specifies which m EAN/UPC symbology will be used d1...dm The data characters to be encoded. Character Value n=0 n=1 Barcode Symbology POSTNET reserved 35

  • 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

Commands
GS h Set Barcode Height
Description
Defines the height of the bars (in dots) for barcodes. The height is defined in
n
/203 inch
increments. For example, specify 203 as the value for
n
to print a 1-inch high barcode.
The barcode height is always rounded up to the next multiple of 8.
Expression
ASCII
GS h
n
Decimal
29 104
n
Hex
1D 68
n
Parameters
n
the desired height (in dot lines) of the barcode
GS k Print Barcode
Description
Prints a barcode at the current position in the current orientation. The
n
parameter
selects the symbology to be printed. (See the table below.) The
m
parameter specifies
how many characters are to be encoded as part of the barcode. If the number of
characters to be encoded is variable, the m parameters can be set to zero. This will cause
the printer to read the next character sent as a delimiter character. Further characters will
then be encoded into the barcode until a character is found that matches the start
character.
Expression
ASCII
GS k
n m d1…dm
Decimal
29 107
n m d1…dm
Hex
1D 6B
n m d1…dm
Parameters
n
Selects the barcode symbology to be used
m
Specifies the number of characters to be encoded. Also specifies which
EAN/UPC symbology will be used
d1…dm
The data characters to be encoded.
Character Value
Barcode Symbology
n=0
POSTNET
n=1
reserved
35