Creating an Arabic PDT file for an Arabic printer

If none of the predefined PDTs are acceptable, you can create a new one. To create a PDT, you must create a printer definition file (PDF) and then compile it to create a PDT.

You should understand a PDF's structure and the types of statements. See Building a Printer Definition Table (PDT) for PC400 for information about building a PDT.

To customize an existing PDF file for Arabic, do the following:
  1. In the macro definition dialog, define a macro containing a printer command that selects the Arabic printer font.
    Define the escape sequences of the fonts that you want to use. For example,
    /*   Naseem (  1  0  V  (  s  0  p  1  5  h  9  v  0  s  0  b  3  T     */
    NSM   EQU 1B 28 31 30 56 1B 28 73 30 70 31 35 68 39 76 30 73 30 62 33 54
    Note: You can get the font escape sequences by printing out the font names from the printer menus.
  2. Add this macro to the START_JOB escape sequence in the Control Code section of the PDF. For example,
    START_JOB=CUL CBP NSM    /* Switch to Arabic Font   */ 
  3. Save your new PDF file and copy it to the pdfpdt directory in the Personal Communications program directory.
  4. In the Printer Setup → Select PDT file dialog, click Convert PDF.
  5. Select the PDF file that you modified, and click Convert.
  6. In the Select PDT file dialog, select the converted PDT file