WMS Prints - Printing Special Characters
Pavana Jyothi 270003MYTQ Visits (1979)
IBM Sterling WMS API printDocumentSet is capable of handling and printing special characters that can be found in languages other than English, for e.g. á, ë, ü etc. This is applicable for printing using Loftware tool. However following points need to be ensured for the same.
1. Database encoding/character set should support Unicode or Multibyte Character Sets. While creating the .pas file WMS application takes data as stored in the database.
Following links are helpful for further understanding.
2. The loftware label file should support the special characters. To achieve this, "Language properties" (consists of field properties like Data Format, Font, Font Character set etc) of the loftware field can be set accordingly to print single or double byte characters. Data format can be set to UTF-8 for printing German characters like á, ë, ü.
3. While calling printDocumentSet API explicitly, the special characters should be appropriately encoded in UTF-8 and passed to API input.
for e.g. á is encoded as á.
However there are some control characters that cannot be printed.
0x1e - Record Separator
0x1c - File Separator
0x1d - Group Separator
0x04 - End of Transmission
The ASCII code of these non printable characters cannot be used in the printDocumentSet API input. If  is passed (ASCII code for file separator) in the input xml, it will result in sax parse exception as given below.
Since this is technical limitation at XML level, it not possible to print these special characters/codes by IBM Sterling WMS. If it is required to print these (for 2D barcodes or any other business use case) one option could be to use base64 conversion to encode and decode these character codes.