btxml multiple column print and single label reprint 追蹤

0

Hi,

is it possible to reprint a label with an integration.

For examlpe I sent this btxml:

<?xml version="1.0" encoding="utf-8"?>
<XMLScript Version="2.0">
<Command Name="Job1">
    <Print ReturnPrintData='true' ReturnSummary='true' ReturnLabelData='true' ReturnChecksum='true'>
    <Format>c:\KomAufkleber14.btw</Format>    
        <PrintSetup>
            <Printer>1028</Printer>
            <IdenticalCopiesOfLabel>1</IdenticalCopiesOfLabel>
        </PrintSetup>
        <RecordSet Name="textData" Type="btTextFile" AddIfNone="true">
                <Delimitation>btDelimQuoteAndComma</Delimitation>
                <UseFieldNamesFromFirstRecord>true</UseFieldNamesFromFirstRecord>
        <TextData>
     <![CDATA[
     "V01","V02"
     "1","A"
     "2","B"
     "3","C"
     "4","D"
     ]]>
        </TextData> 
        </RecordSet>
    </Print>
</Command>
</XMLScript>

In the response I only get one Guid for all 4 labels.

In the "Reprint Console" I can select the label I'd like to reprint.

 

If I try to run multiple jobs with the example "Printing Items by Using BTXML Script":

<?xml version="1.0" encoding="utf-8"?>

<XMLScript Version="2.0">

<Command Name="Job1">

<Print>

<Format CloseAtEndOfJob="true">Document1.btw</Format>

<PrintSetup>

<IdenticalCopiesOfLabel>5</IdenticalCopiesOfLabel>

</PrintSetup>

</Print>

</Command>

<Command Name="Job2">

<Print>

<Format CloseAtEndOfJob="true">Document2.btw</Format>

<PrintSetup>

<IdenticalCopiesOfLabel>5</IdenticalCopiesOfLabel>

</PrintSetup>

</Print>

</Command>

<Command Name="Job3">

<Print>

<Format CloseAtEndOfJob="true">Document3.btw</Format>

<PrintSetup>

<IdenticalCopiesOfLabel>5</IdenticalCopiesOfLabel>

</PrintSetup>

</Print>

</Command>

</XMLScript>

I get for each job a Guid but the multi column print stops working, only printing on the most left label and retracting after each job.

Best regards 

Simon

登入寫評論。