20.03.2013 Views

SAP Printing Customer documentation Volume 2 : [ZA0x] The ... - ELP

SAP Printing Customer documentation Volume 2 : [ZA0x] The ... - ELP

SAP Printing Customer documentation Volume 2 : [ZA0x] The ... - ELP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SAP</strong> <strong>Printing</strong>: <strong>Customer</strong> <strong>documentation</strong>: <strong>Volume</strong> 2: [<strong>ZA0x</strong>] page 25 / 59<br />

<strong>SAP</strong> Presentation Graphics cannot be printed using this device type.<br />

2.11 Barcodes and OCR Text<br />

For OCR text and barcode printing support under <strong>SAP</strong>, please refer to <strong>Volume</strong> 2B.<br />

For solution-specific information such as barcode related Print controls (SBPxx/SBSxx) and Actions (ZBARC, ...), please refer to the User's<br />

Manual of the corresponding product.<br />

2.13 Unicode printing<br />

This section contains all information necessary to print Unicode text from <strong>SAP</strong> on our devices.<br />

For more information or in need of help, please contact Technical support.<br />

For which device models can support Unicode printing, refer to <strong>Volume</strong> 1, Appendix D, tag (Ux) in the "Remarks" column.<br />

2.13.1 [A] Unicode printing<br />

Unicode is a standard defining code-points for most characters used (in languages) almost anywhere in the world.<br />

<strong>The</strong> Unicode code-point of a character is usually specified/denoted as "U+xxxx" (where xxxx stands for up to 6 hex digits; leading 0's may be<br />

omitted).<br />

Unicode text in a file/document or a data stream can be encoded in various ways, by using a more appropriate byte sequence instead of the<br />

mere U+ values. For printing, the most common encoding is UTF-8.<br />

UTF-8 encodes a character as 1, 2, 3, or 4 bytes, depending on the U+ value range it belongs to.<br />

This method uses little storage space and allows for efficient searching and string operations.<br />

<strong>The</strong>re is a simple algorithm to convert between the U+ value and the UTF-8 representation of a character.<br />

For Unicode printing one has to consider the following data flow:<br />

From some Unicode text contained in a file/document, the issuing system generates a print data stream (using some kind of driver) in (e.g.)<br />

UTF-8 format and sends it to the printer. <strong>The</strong> printer (firmware) has to decode the (UTF-8) data back into the U+ values and use an appropriate<br />

(Unicode) font to rasterize the character bitmaps.<br />

As a prerequisite, both the issuing system and the receiving printer device need to be "Unicode-enabled", as explained further below.<br />

For more details, please contact Technical support.<br />

<strong>The</strong> following sections contain information specific to printing from <strong>SAP</strong> systems (R/3, my<strong>SAP</strong> ERP) and to our printer devices.<br />

2.13.2 [B] Unicode printing on our printer devices<br />

This section contains information related to printing Unicode text on our printer devices, independent of the type of issuing system.<br />

As a prerequisite, the receiving printer device has to be "Unicode enabled", i.e. "support Unicode", as follows.<br />

First, the firmware needs to (be able to) decode the incoming (e.g. UTF-8) data stream into a sequence of U+ code-points and possibly process<br />

these further. Eventually each U+ code-point needs to be translated/mapped to the correct code-point of a suitable device font of the<br />

desired/requested typeface and other parameters.<br />

Second, a Unicode font may need to be installed, e.g. on the device's HDD.<br />

Alternatively, an "SBCS re-mapping" mechanism may exist to allow for printing Unicode text with (typefaces of) non-Unicode SBCS/1-byte<br />

fonts. This requires a reverse look-up table which translates Unicode code-points into SBCS code points of suitable SBCS codepages. I.e.<br />

certain characters of a Unicode text may also be printed using a normal SBCS resident font, i.e. without the particular need for a Unicode font.<br />

For such character its Unicode code-point has to be re-mapped to the code-point of an SBCS symbol set which contains that character and<br />

which is supported by the desired typeface. This mechanism has to be supported/implemented by the firmware.<br />

<strong>The</strong> Printer firmware of our devices can process UTF-8 data of up to 3(!) bytes per character, this corresponds to Unicode code-points up to<br />

U+FFFF.<br />

To activate that, initially the PCL command "&t83P" needs to be sent.<br />

Note that upon illegal UTF-8 data, our devices print either no character or a blank space.<br />

Our devices support 2 methods of printing Unicode text:<br />

(1) ... with Unicode fonts<br />

This requires the presence of the optional "Unicode Font Package for <strong>SAP</strong>®", which is explained below.<br />

It may hereafter be also shortly referred to as "Andale printing".<br />

(2) ... with resident fonts (i.e. without Unicode fonts)<br />

This uses the SBCS re-mapping mechanism of the firmware and does not need any Unicode fonts, but relies on and maps to the 1-byte<br />

resident fonts. This is further explained below.

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

Saved successfully!

Ooh no, something went wrong!