2017-03-28 11 views
1

나는 Dymo 프린터에 바코드를 인쇄하는 앱을 가지고 있습니다. 문제 없어. 나는 지시를 따르고 인쇄 매개 변수를위한 XML 파일을 만들었다. 내가 알아낼 수있는 것은 텍스트 아래에 바코드 라벨을 배치하는 방법입니다. 나는 사방을 보았고 아무 것도 찾을 수 없다. 여기 내 XML은 다음과 같습니다바코드 위치의 Dymo 자바 스크립트 인쇄

'<?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>\ 

'

사람이 나를 대신 위의 주소 개체 아래 바코드를 넣어 수 있도록하는 매개 변수를 알고 있나요?

답변

1

현재 가지고 : 당신이해야 할 수도 있습니다처럼

<BarcodePosition>Suppress</BarcodePosition> 

가 보이는 :

<BarcodePosition>BelowAddress</BarcodePosition> 

--Hmm를, 무엇을 최종 objectinfo 한의 경계 태그에 Y 축 변경에 대한? [정보]하지만이 작동하지 않았다위한

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

<Bounds X="331" Y="1365" Width="4260" Height="320" />\ 
+0

감사합니다. 변경할 수있는 또 다른 매개 변수가 있습니까? –

+0

좋아, 그랬어, 지금 그것을 제대로하기 위해 조금 움직여 라! 고맙습니다! –