简体   繁体   English

Dymo条码标签打印

[英]Dymo barcode label printing

We have an mvc app that prints labels that includes a barcode. 我们有一个mvc应用程序,可以打印包含条形码的标签。 This uses the XML file to form the barcode: 这使用XML文件形成条形码:

<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>Code128Auto</Type>\
        <Size>Medium</Size>\
        <TextPosition>Bottom</TextPosition>\
        <TextFont Family="Arial" Size="12" Bold="False" Italic="False" Underline="False" Strikeout="False" />\
        <CheckSumFont Family="Arial" Size="12" 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="331" Y="178" Width="4260" Height="420" />\
</ObjectInfo>\

There is a code 39 with checksum. 有一个带有校验和的代码39。 How do I set the Type to that? 如何设置“类型”?

<Type>Code39</Type> or <Type>Code39CS</Type> <Type>Code39</Type><Type>Code39CS</Type>

Tip: Run the DYMO software (DYMO Label v.8) and create a label just how you want it and then save it. 提示:运行DYMO软件(DYMO Label v.8),并根据需要创建标签,然后保存。 You can open the label file in a text editor to see the XML. 您可以在文本编辑器中打开标签文件以查看XML。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM