Intermec PB50 Fingerprint Developer's Guide (old) - Page 75
Printing Characters by ASCII Values With PRINTONE
View all Intermec PB50 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 75 highlights
Chapter 4 - Managing Input and Output PRINT "Price_"; "$10" The printer returns: Price_$10 • A plus sign (+) places the following string expression immediately adjacent to the preceding string expression. Example: PRINT "Price_"+"$10" The printer returns: Price_$10 Each line is terminated by a carriage return to make the PRINT statement start on a new line. However, if a PRINT statement is appended by a semicolon, the carriage return is suppressed and the next PRINT statement is printed on the same line as the preceding one: 10 PRINT "Price_";"$10"; 20 PRINT "_per_dozen" RUN The printer returns: Price_$10_per_dozen A PRINT statement can also be used to return the result of a calculation or a function: PRINT 25+25:PRINT CHR$ (65) The printer returns: 50 A If the PRINT statement is not followed by any expression, a blank line is produced. Printing Characters by ASCII Values With PRINTONE PRINTONE prints the alphanumeric representation of one or more characters, specified by their respective ASCII values, to the standard OUT channel. The PRINTONE statement is useful, for example when a certain character cannot be produced from the keyboard of the host. PRINTONE is very similar to the PRINT statement and follows the same rules regarding separating characters (commas and semicolons). Example: PRINTONE 80;114;105;99;101,36;32;49;48 The printer returns: Price $ 10 Note: The returned ASCII value depends on the currently selected character set, and on the current keypad mapping. Intermec Fingerprint Developer's Guide 59