Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
条形码位置的Dymo JavaScript打印_Javascript_Xml_Barcode_Dymo - Fatal编程技术网

条形码位置的Dymo JavaScript打印

条形码位置的Dymo JavaScript打印,javascript,xml,barcode,dymo,Javascript,Xml,Barcode,Dymo,我有一个在Dymo打印机上打印条形码的应用程序。没问题。我按照说明创建了一个用于打印参数的XML文件。我能想到的是如何将条形码标签放在文本下面。我到处找了,什么也找不到。以下是我的XML: '<?xml version="1.0" encoding="utf-8"?>\ <DieCutLabel Version="8.0" Units="twips">\ <PaperOrientation>Landscape</PaperOrientation&g

我有一个在Dymo打印机上打印条形码的应用程序。没问题。我按照说明创建了一个用于打印参数的XML文件。我能想到的是如何将条形码标签放在文本下面。我到处找了,什么也找不到。以下是我的XML:

 '<?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>Suppress</BarcodePosition>\
        <LineFonts>\
            <Font Family="Arial" Size="8" Bold="False" Italic="False" Underline="False" Strikeout="False" />\
        </LineFonts>\
    </AddressObject>\
    <Bounds X="331" Y="150" 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>False</IsVariable>\
        <Text></Text>\
        <Type>Code39</Type>\
        <Size>Medium</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="331" Y="178" Width="4260" Height="320" />\
</ObjectInfo>\
'\
\
景观\
地址\
30252地址\
\
\
\
\
\
地址\
\
\
\
旋转0\
假的\
真的\
左\
底部\
没有\
假的\
假的\
\
假的\
压制\
\
\
\
\
\
\
\
\
条形码\
\
\
\
旋转0\
假的\
假的\
\
代码39\
中等\
没有\
\
\
没有\
0\
居中\
\
\
\
\
"

有人知道允许我将条形码放在地址对象下方而不是上方的参数吗?

您目前有:

<BarcodePosition>Suppress</BarcodePosition>
抑制
看起来您可能需要:

<BarcodePosition>BelowAddress</BarcodePosition>
BelowAddress
--嗯,在最终ObJectInfo的边界标记中更改Y轴怎么样

<Bounds X="331" Y="178" Width="4260" Height="320" />\
\

\

谢谢您提供的信息,但这似乎不起作用。还有其他参数可以更改吗?好的,就是这样,现在将它移动一点,使其正确!非常感谢。
<Bounds X="331" Y="1365" Width="4260" Height="320" />\