zhanga4
|
Generated Barcode image widthX and heightY stays the same though the ratio has been changed
Barcode Value to be encoded:
pagetype=Document,documenttitle=ABC,documenttype=SignatureCard,
documentsubtype=513828,producttypecd=PDA,opendt=2012/03/22,printeddt=2012/03/22,pagetotal=1,pageno=1,locationno=01020,arrangementno=0001868
X to Y = 3
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:barcode="urn://wsc.td.com/barcode/2011/09/09">
<soapenv:Header/>
<soapenv:Body>
<barcode:generateBarcodeRequest xsi:schemaLocation="urn://wsc.td.com/
barcodeindex/2011/09/09 ../generateBarcodeRequest.xsd " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<barcode:barcodes>
<barcode:barcodeValue Id="A2">
<barcode:value>pagetype=Document,documenttitle=ABC,documenttype=
SignatureCard,documentsubtype=513828,producttypecd=PDA,opendt=2012/03/22,
printeddt=201/03/22,pagetotal=1,pageno=1,locationno=01020,arrangementno=0001868
</barcode:value>
</barcode:barcodeValue>
</barcode:barcodes>
<!--Optional:-->
<barcode:options>
<!--1 or more repetitions-->
<barcode:option name="errorCorrectionLevel">5</barcode:option>
<barcode:option name="numRows">25</barcode:option>
<barcode:option name="numColumns">20</barcode:option>
<barcode:option name="widthX">0.03</barcode:option>
<barcode:option name="heightY">0.09</barcode:option>
<barcode:option name="resolutionDPI">100</barcode:option>
</barcode:options>
<barcode:generationUserId>TestUser</barcode:generationUserId>
<barcode:generationTime>2010-10-22T11:26:21-04:00</barcode:generationTime>
<barcode:purgeDate>2010-10-22</barcode:purgeDate>
</barcode:generateBarcodeRequest>
</soapenv:Body>
</soapenv:Envelope>
X to Y = 5
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:barcode="urn://wsc.td.com/barcode/2011/09/09">
<soapenv:Header/>
<soapenv:Body>
<barcode:generateBarcodeRequest xsi:schemaLocation="urn://wsc.td.com/barcodeindex
/2011/09/09 ../generateBarcodeRequest.xsd " xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance">
<barcode:barcodes>
<barcode:barcodeValue Id="A2">
<barcode:value>pagetype=Document,documenttitle=ABC,documenttype=
SignatureCard,documentsubtype=513828,producttypecd=PDA,opendt=2012/03/22,
printeddt=201/03/22,pagetotal=1,pageno=1,locationno=01020,arrangementno=
0001868</barcode:value>
</barcode:barcodeValue>
</barcode:barcodes>
<!--Optional:-->
<barcode:options>
<!--1 or more repetitions-->
<barcode:option name="errorCorrectionLevel">5</barcode:option>
<barcode:option name="numRows">25</barcode:option>
<barcode:option name="numColumns">20</barcode:option>
<barcode:option name="widthX">0.03</barcode:option>
<barcode:option name="heightY">0.15</barcode:option>
<barcode:option name="resolutionDPI">100</barcode:option>
</barcode:options>
<barcode:generationUserId>TestUser</barcode:generationUserId>
<barcode:generationTime>2010-10-22T11:26:21-04:00</barcode:generationTime>
<barcode:purgeDate>2010-10-22</barcode:purgeDate>
</barcode:generateBarcodeRequest>
</soapenv:Body>
</soapenv:Envelope>
whatever value I use for heightY I get the exact barcode
heightY should control the height of the bars in the barcode
Please advise the reason.
04-03-12 12.4 year(s) ago
Report Abuse
|