谁能告诉我,我需要在UPS xml请求文件的LabelSpecification部分指定什么才能打印英特尔托运标签?以下是我所拥有的:
<LabelSpecification>
<LabelPrintMethod>
<Code>EPL</Code>
</LabelPrintMethod>
<HTTPUserAgent>Mozilla/5.0</HTTPUserAgent>
<LabelImageFormat>
<Code>GIF</Code>
</LabelImageFormat>
</LabelSpecification>但我在响应中不断收到以下错误:
Missing/Invalid Combination of LabelSpecification/LabelStockSize我也尝试过使用'EPL2‘,但是没有效果。而且我不知道在哪里指定LabelStockSize。在这方面,UPS网站不是很有帮助。提前谢谢。
发布于 2012-09-25 11:29:39
Yahooing我找到了像this这样的例子
<LabelSpecification>
<LabelPrintMethod>
<Code>EPL</Code>
</LabelPrintMethod>
<LabelStockSize>
<Height>4</Height>
<Width>6</Width>
</LabelStockSize>
</LabelSpecification>和this
<LabelSpecification>
<LabelStockSize>
<Height>4</Height>
<Width>6</Width>
</LabelStockSize>
<LabelPrintMethod>
<Code>EPL</Code>
<Description>epl file</Description>
</LabelPrintMethod>...换句话说,看起来<LabelStockSize>需要是<LabelSpecification>的子级,但可以在<LabelPrintMethod>之前或之后。
https://stackoverflow.com/questions/12573990
复制相似问题