
Unicode Input Methods with the Loftware Print Server
Method 3 – Pas file with Unicode UTF-8 Encoding
There is a way to create a test file whereby your Unicode UTF-16 data is converted to UTF-8 for printing
by Loftware.Keep in mind that the following example is not recommended in a production
environment, but is included here to give you an example of how to create a pas file that expresses the
data in an ASCII-compliant format, thereby allowing representation of double-byte fonts as TrueType
bitmaps.
How to create a .pas file with UTF-8 Encoding
1. Open a text editor such as Notepad on your computer.
2. Type in the beginning of a .pas file.
3. Copy data from your database.
4. Paste the data into the file, after FieldName.
Using Notepad to create the sample .pas file
5. Click File | Save As. Enter a File name.
6. Select text from Save as type, and UTF-8 from Encoding
If the characters are not displaying correctly, verify that you are using the correct font in your text editor.
Japanese characters, for example, might display using MS Gothic or MS Mincho.
Method 4 – Pas file with File Source
A .pas file option, DELINKFILESRC, allows the file name for a file data source to be specified in a .pas
file.The default action for a field with a file data source is to use the file name saved with the label, but
this command allows the file name to be overridden in the PAS file, in other words, to be delinked from
the field.
To use DELINKFILESRC
l Include command “*DELINKFILESRC” in the .PAS file (see example).
l Specify the data file for a field by the command: fieldname, dataFileName.
Note: In this case, the Database File Field has a File datasource!
Loftware LabelManager Version 10.1.1 User's Guide
235
Comentários a estes Manuais