如何在Dymo条码中不打印校验和

时间:2018-07-30 12:31:04

标签: javascript dymo

我想用Dymo JavaScript SDK在450 Turbo上打印标签,我认为它似乎总是打印校验和。我给的SDK是01/123456789,它始终显示01/1234567890。

这是XML:

var labelXmlNoBarcode = '<?xml version="1.0" encoding="utf-8"?>\
<DieCutLabel Version="8.0" Units="twips">\
<PaperOrientation>Landscape</PaperOrientation>\
<Id>Address</Id>\
<PaperName>30252 Address</PaperName>\
<DrawCommands>\
    <RoundRectangle X="0" Y="0" Width="1581" Height="5040" Rx="270" Ry="270" />\
</DrawCommands>\
<ObjectInfo>\
    <AddressObject>\
        <Name>Address</Name>\
        <ForeColor Alpha="255" Red="0" Green="0" Blue="0" />\
        <BackColor Alpha="0" Red="255" Green="255" Blue="255" />\
        <LinkedObjectName></LinkedObjectName>\
        <Rotation>Rotation0</Rotation>\
        <IsMirrored>False</IsMirrored>\
        <IsVariable>True</IsVariable>\
        <HorizontalAlignment>Left</HorizontalAlignment>\
        <VerticalAlignment>Bottom</VerticalAlignment>\
        <TextFitMode>None</TextFitMode>\
        <UseFullFontHeight>False</UseFullFontHeight>\
        <Verticalized>False</Verticalized>\
        <StyledText />\
        <ShowBarcodeFor9DigitZipOnly>False</ShowBarcodeFor9DigitZipOnly>\
        <BarcodePosition>BelowAddress</BarcodePosition>\
        <LineFonts>\
            <Font Family="Arial" Size="8" Bold="False" Italic="False" Underline="False" Strikeout="False" />\
        </LineFonts>\
    </AddressObject>\
    <Bounds X="331" Y="-400" Width="4470" Height="1215" />\
</ObjectInfo>\
<ObjectInfo>\
    <BarcodeObject>\
        <Name>BARCODE</Name>\
        <ForeColor Alpha="255" Red="0" Green="0" Blue="0" />\
        <BackColor Alpha="0" Red="255" Green="255" Blue="255" />\
        <LinkedObjectName></LinkedObjectName>\
        <Rotation>Rotation0</Rotation>\
        <IsMirrored>False</IsMirrored>\
        <IsVariable>True</IsVariable>\
        <Text></Text>\
        <Type>Code39CS</Type>\
        <Size>Small</Size>\
        <TextPosition>None</TextPosition>\
        <TextFont Family="Arial" Size="6" Bold="False" Italic="False" Underline="False" Strikeout="False" />\
        <CheckSumFont Family="Arial" Size="6" Bold="False" Italic="False" Underline="False" Strikeout="False" />\
        <TextEmbedding>None</TextEmbedding>\
        <ECLevel>0</ECLevel>\
        <HorizontalAlignment>Center</HorizontalAlignment>\
        <QuietZonesPadding Left="0" Top="0" Right="0" Bottom="0" />\
    </BarcodeObject>\
    <Bounds X="231" Y="1200" Width="4560" Height="420" />\
</ObjectInfo>\

'

0 个答案:

没有答案