CAB A+ Series Programming Manual page 379

Hide thumbs Also See for A+ Series:
Table of Contents

Advertisement

Special Functions
379
[U:x]
Insert Unicode characters
The following example shows a little application which converts US Dollars into Euro ( just to show how
to recall the Euro sign simply using the unicode feature of cab printers.)
Example:
This example starts with a request in the display (attached USB - keyboard recommended), asks for
the amount of US Dollars and the converting factor. You may select your preferred exchange rate...
( we used 1.02 as factor ...)
Appendix C shows all characters including the unicode values of the built in Truetype fonts.
cab Produkttechnik GmbH & Co KG
m m
J
S l1;0,0,68,71,100
OR
T:Amount;20,30,0,3,20;[?:Amount in US$:][I]
T:factor;0,0,0,3,3;[?:1 Euro= ? USD][I]
T 5,15,0,3,10,n; US $ to [U:$20AC] Converter
;T 10,30,0,596,8;[Amount] US$ = [*:Amount,factor] US$
T:dollars; 10,60,0,596,8;1 US$ = [/:1,factor] [U:$20AC]
T 10,45,0,596,8;[Amount] US$ = [/:Amount,factor] [U:$20AC]
A1
379
379

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mach 4PxXd4

Table of Contents