Intermec PC43d Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 68

Output to the Standard OUT Channel, Printing Expressions With PRINT - price

Page 68 highlights

Chapter 4 - Managing Input and Output Output to the Standard OUT Channel The standard OUT channel returns the printer responses to instructions received from the host. For simplicity, the same device is usually selected for both standard IN and OUT channels. For every instruction received on the standard IN channel, the printer returns "Ok" or an error message (such as "Feature not implemented" or "Syntax Error") on the standard OUT channel. If the standard OUT channel is connected to the host computer, the message appears onscreen. Use VERBOFF/VERBON statements to turn the verbosity off or on. The verbosity level can be selected by SYSVAR(18), and the type of error message can be selected by SYSVAR(19). These Fingerprint commands return data only on the standard OUT channel: • PRINT • PRINTONE • DEVICES • FILES • FONTS • IMAGES • LIST Printing Expressions With PRINT PRINT prints a line on the standard OUT channel (typically, to the screen of the host). The PRINT statement can be followed by one or more string or numeric expressions. If the PRINT statement contains several expressions, these must be separated by either commas (,) semicolons (;), or plus signs (+). Plus signs are used only between string expressions: • A comma (,) places the following expression at the start of the next tabulating zone (each zone is 10 characters long). Example: PRINT "Price","$10" The printer returns: Price $10 • A semicolon (;) places the following expression immediately adjacent to the preceding expression. Example: PRINT "Price_"; "$10" The printer returns: Price_$10 56 Fingerprint Developer's Guide

  • 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
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163

Chapter 4 — Managing Input and Output
56
Fingerprint Developer’s Guide
Output to the Standard OUT Channel
The standard OUT channel returns the printer responses to instructions received
from the host. For simplicity, the same device is usually selected for both standard
IN and OUT channels.
For every instruction received on the standard IN channel, the printer returns “Ok”
or an error message (such as “Feature not implemented” or “Syntax Error”) on the
standard OUT channel. If the standard OUT channel is connected to the host
computer, the message appears onscreen.
Use VERBOFF/VERBON statements to turn the verbosity off or on. The verbosity
level can be selected by SYSVAR(18), and the type of error message can be selected by
SYSVAR(19).
These Fingerprint commands return data only on the standard OUT channel:
PRINT
PRINTONE
DEVICES
FILES
FONTS
IMAGES
LIST
Printing Expressions With PRINT
PRINT prints a line on the standard OUT channel (typically, to the screen of the
host). The PRINT statement can be followed by one or more string or numeric
expressions.
If the PRINT statement contains several expressions, these must be separated by
either commas (,) semicolons (;), or plus signs (+). Plus signs are used only between
string expressions:
A comma (,) places the following expression at the start of the next tabulating
zone (each zone is 10 characters long). Example:
PRINT “Price”,“$10”
The printer returns:
Price
$10
A semicolon (;) places the following expression immediately adjacent to the
preceding expression. Example:
PRINT “Price_”; “$10”
The printer returns:
Price_$10