28.02.2015 Views

Ithaca 610 Programmer's Guide - TransAct

Ithaca 610 Programmer's Guide - TransAct

Ithaca 610 Programmer's Guide - TransAct

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programming Codes<br />

<strong>Ithaca</strong> ® <strong>610</strong> Programmer’s <strong>Guide</strong><br />

Unicode and Downloaded Fonts<br />

The <strong>Ithaca</strong>® <strong>610</strong> Printer supports Unicode encoding. This Unicode support is exclusive<br />

to the downloaded fonts.<br />

You must have downloaded and selected the downloaded font before you can reference<br />

the font via Unicode encoding. See the following group of commands for how to select<br />

and use a download font.<br />

There is a font downloading utility available from <strong>TransAct</strong>; contact your sales person or<br />

tech support for more information.<br />

WARNING: You must have proper rights to use a font in this manner.<br />

Do not download a font to the printer if you do not have the right to use<br />

the font as a downloaded printer font.<br />

The commands that control access to the downloaded fonts are all in the group that<br />

starts as ―[ESC]+‖ commands. Other commands that manipulate the resident fixed pitch<br />

fonts do not apply to the downloaded fonts described in this section. If commands that<br />

reference internal fonts or change the pitch are selected, the down loaded font will be<br />

deactivated and the last used internal font selected.<br />

To access characters located above 255 you must use a Unicode encoding method.<br />

Unicode Encoding<br />

UTF-16 is the most straightforward way to access characters above 255. UTF-16 is<br />

basically sending two 8-bit bytes that form a 16-bit address to access the desired<br />

character.<br />

UTF-16BE uses the big-endian method of sending the two bytes. This method sends the<br />

high byte first and then the low byte.<br />

UTF-16LE uses the little-endian method of sending the two bytes. This method sends<br />

the low byte first and then the high byte.<br />

UTF-8 uses a Multiple Byte Character Sequence (MBCS) to identify the desired Unicode<br />

character. This encoding method is less straightforward. This method uses unique bit<br />

sequences at the MSBs of a byte to determine its location and meaning within the MBCS<br />

encoding. See the table below for more information.<br />

Scalar Value 1 st Byte 2nd Byte 3rd Byte<br />

000000000xxxxxxx 0xxxxxxx<br />

00000yyyyyxxxxxx 110yyyyy 10xxxxxx<br />

Zzzzyyyyyyxxxxxx 1110zzzz 10yyyyyy 10xxxxxx<br />

28-05897 Rev D Page 141

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!