ONYX - 9.0 - Utilisation - XPSConfig et conversion ZEBRA/en

Différence entre versions

De MappingDoc
Ligne 49 : Ligne 49 :
  
 
  <cutter config="MMT" cmd="MMC" />
 
  <cutter config="MMT" cmd="MMC" />
Activating the cutter at the end of printing
+
Activates the cutter at the end of printing

Version du 30 octobre 2019 à 15:52

Autres langues :
English • ‎français

Conversion to ZEBRA

Language Tags

To enable the XPS to ZEBRA conversion profile, you first need to create a ZEBRA profile using the <language> tag like this <language>ZEBRA</language>

Custom Barcode Size

  • bcheight: barcode height in points.
  • bcwidth: two comma-separated values, corresponding to, respectively:

- width of a thin bar in points

- ratio between a thin bar and a thick bar


Example:

<barcodes>
        <barcode type="19" height="100" size="46" bcheight="55" bcwidth="3,2.6" />
</barcodes>

Means that a Code39 (type 19) barcode, with font size 46 and vertical deformation 100%, will be printed in Zebra as a resident barcode of 55 points high, with a thin bar of 3 points, and a thin bar/thick bar ratio of 2.6.


Identifying Resident Fonts

<fonts>
                 <font name="Arial" italic="0" bold="0" codeFont="0" />
          </fonts>

Where values decodeFont equal: 0, A, B, C, D, E, F, G or H.


TTF fonts equivalent to Zebra resident fonts can be downloaded from the Mapping extranet and can be used in M-Designer formats. Instead of embarking fonts, the XPS to Zebra conversion profile can use the resident fonts like this:

<fonts>
                 <font name="Zebra 0 (Arial) " italic="0" bold="0" codeFont="0" />
                 <font name="Zebra A" italic="0" bold="0" codeFont="A" />
                 <font name="Zebra B" italic="0" bold="0" codeFont="B" />
                 <font name="Zebra C" italic="0" bold="0" codeFont="C" />
                 <font name="Zebra D" italic="0" bold="0" codeFont="D" />
                 <font name="Zebra E (OCR-B)" italic="0" bold="0" codeFont="E" />
                 <font name="Zebra Fitalic="0" bold="0" codeFont="F" />
                 <font name="Zebra Gitalic="0" bold="0" codeFont="G" />
                 <font name="Zebra H (OCR-A)" italic="0" bold="0" codeFont="H" /> 
 </fonts>

Cutter Management

<cutter config="MMT" cmd="MMC" />

Activates the cutter at the end of printing