如何删除ZPL代码标签顶部的空白



我正在尝试设置FedEx ShipRequest API,并使用图像格式作为ZPLII。

但当我提出请求时,我会收到下面的信息

XlhBXkNGLDAsMwwXlBSMTJeTUQzMF5QVzgwMF5QT0leQ0kxM15MSDAMjAKXkZPMTIsMzAxXkdCNzUzLDIsMl5GUwpeRk8xMiw1NjdeR0I3NzcsMiyXkZTCl5GTzQ2NCwxNzBeR0IyLDEyOSwyXkZTCL5GTzQ3OCwyMDheQWROLDAsMF5GV05eRkheRkRDQUQ6IDExODc5MDI2NC9XU1hJMzQwMF5GUwperk8yOCw5MDlQTBOLDI 0LDI0XkZXTl5GSF5GRFRSSyNeRlMKXkZPMjgsOTY3XkEwTiwyNywzMl5GV05eRkheRkReRlMKX kZPMTM2LDg3O5BME4sMjcsMzZeRldOXkZIX kZEX kZTCl5GTzMyLDE3Ml5bZE4sMCwwXkZXTlSF5GRE9SUdJTiBJRDpTQ0tBIF5GUwpeRk8yMjQsMTcyXkFkTiwwLDBeRldOXkZIXkZEMDAwMDAwXkZTCl5GTzMyLDE5MF5bZE4sMCwwXkZXTl5GSF5GRFU1RJTkcuIFNISVBVQSU5HIERFUFReRlMKXkZPMzIsMjA4XkFk RURVNUIFBBUktXQVleRlMKXkZPMzIsMjQ0XkFkTiwwLDBeRldOXkZIXkZEXkZTCl5GTzMyLDI2Ml5bZE4sMCwwXkZXTl5GSF5GRFRSSSwgQ0EgOTUzdRzdeRlMKKZPMz伊斯MjgwXkFkTiIXkZEVU5JVEVEIFNUQVRFUyBVU15UwpeRk8xNSwzMTNeQTBOLDIxLDIxXkZXTl5GSF5GRFRPXkZTCl5GTzYwLDMxMV5BME4sMzgsMzherldOXkZIXkZEVEVTVF5GUwpeRk 82MCwzNTNeQTBOLDM4LDM4XkZXTl 5GSF5GRF 5GUwperk82MCwz OTVeQTBOLDM4LDM4XkZX5GSF5GRDkyNjAgTUNGQURERU5ERlMKXkZPNjAsNDM3XkEwTizOCw zOF5GV05eRkheRkQqKlRFU1QgT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IXk ZEUkVGOibryST01FLTMtQkxLXkZTCl5gTzM4LDU0MF5BYk4sMTEsN15GV05eRkheRkRJTlY6IE9SRDMNDIwNjVeRlMKXkZPMzgsNTU0XkFiTixMS w3XkZXTl5GSF5GRFBPOiAxMItMDYyNTQ1NS0xOTU4NjQ0XkZTCl5GTzQyOCw1NTReQWJOLDExLDdeRldOXkZIXkZEREVQVDogXkZTCl5gTzI1LDkzMF5HQjU4LDEsMV5GUwpeRk8yNSw5MzBeR0IxLDI2LDFeRlMKXkZPODMsTMwXkdCMSwyNiwxXkZTCl5GTzI1LDk1Nl5HQjU4LDEsMV5GUwpeRk8zMSw5MzZeQWROLDAsMF5GV05eRkheRkQwMjAxXkZTCl 5QUTEKXlhaCg==

如果我用64进制解码,我会使用ZPL语言,

^XA^CF,0,0,0^PR12^MD30^PW800^POI^CI13^LH0,20^fo12301^GB753,22^FS^fo12567^GB777,2^FS^fo464170^gb2129,2^FS^FO478208^AdN,0,0^FWN^FH^FDCAD:118790264/WSXI3400^FS^fo28909^A0N,24,24^FWN^FH^FDTRK#^FS^fo28967^A0N,27,32^FWN^FH^FD^FS^fo136879^A0N,27,36^FWN^FH^FD^FS^FO32172^AdN,0,0^FWN^FH^FDORIGIN ID:SCKA^FS^FO224172^AdN,0,0^FWN^FH^FD000000000^FS^FO32190^AdN,0,0^FWN^FH^FDTESTING。运输部门^FO32208^AdN,0,0^FWN^FH^FDAMAZON。COM^FS^FO32226^AdN,0,0^FWN^FH^FDTEST PARKWAY^FS^FO32244^AdN,0,0^FWN^FH^FD^FS^FO32262^AdN,0,0^FWN^FH^FDTRI,CA 95377^FS^FO32280^AdN,0,0^FWN^FH^FDINITED STATES US^FS^fo15313^A0N,21,21^FWN^FH^FDTO^FS^fo60311^A0N,38,38^FWN^FH^FDTEST^FS^fo60353^A0N,38,38^FWN^FH^FD^FS^fo60395^A0N,38,38^FWN^FH^FD9260 MCFADDEN^FS^FO60437^A0N,38,38^FWN^FH^FD测试标签-请勿装运^FS^fo60479^A0N,43,40^FWN^FH^FDWEST ca92683^FS^fo35521^A0N,21,21^FWN^FH^FD00000000000000^FS^fo677673^GB104,10,10^FS^fo677683^gb10112,10^FS^fo771683^gb10112,10^FS^fo677795^GB104,10,10^FS^FO652611^A0N,43,58^FWN^FH^FDFedEx ^FS^FO708650^A0N,19,26^FWN^FH^FDExpress^FS^fo697691^A0N,128137^FWN^FH^FDE^FS^第21578页,前23页,前25页,后25页,前79260页^FO21611^BY2,2^B7N,10,5,14^FH^FWN^FH^FD[)>1E01_1D0292683_1D840_1D20_1D79446359217400201_1DFDE_1D510087780_1D311_1D_1D1/1D22.00LB_1DN_1D9260 MCFADDEN_1DWEST_1DCA_1DTest_1E06_1D10ZED007_1D12Z00000000000000_1D15Z118790264_1D20Z_1C_1D31Z1001921761100009268300794635921740_1D32Z0210_1D34Z01_1D39ZSCKA_1DK112-062455-1958644_1D_1E 09_1DFDX_1Dz_1D8_1D#_1B_1271_7F@_1E_04^FS^FO478262^AdN,0,0^FWN^FH^FDBILL发件人^FS^fo12856^GB777,2^FS^fo4941052^A0N,43,43^FWN^FH^FD^FS^FO791282^AbN,11,7^FWB^FH^FD552J3/C3B2/DCA5^FS^fo95913^A0N,53,40^FWN^FH^FD7946 3592 1740^FS^fo409862^A0N,51,38^FWN^FH^FB390,,,R,^FD,11月12日星期一下午4:30^FS^fo309914^A0N,51,38^FWN^FH^FB490,,,R,^FD EXPRESS SAVER^FS^fo413966^A0N,40,40^FWN^FH^FB386,,,R,^FD DSR^FS^fo4951008^A0N,44,44^FWN^FH^FB298,,,R,^FD 92683^FS^fo5741068^A0N,24,24^FWN^FH^FB120,,,R,^FD CA-US^FS^fo6951052^A0N,43,43^FWN^FH^FB100,,,R,^FDSNA^FS^fo391094^A0N,27,32^FWN^FH^FD^FS^第751155页,前3.2页,200,N,N,N^FWN^FD>;1001921761100009268300000000000000^FS^fo281004^A0N,107,96^FWN^FH^FDCZ-APVA^FS^FO790685^A0N,13,18^FWB^FH^FDJ182118081501uv^FS^FO478172^AdN,0,0^FWN^FH^FD发货日期:07NOV18^FS^FO478190^AdN,0,0^FWN^FH^FDACTWGT:22.00 LB^FS^FO478226^AdN,0,0^FWN^FH^FDDIMS:10x9x7 IN^FS^FO328526^AbN,11,7^FWN^FH^FDREF:OG-ROME-3-BLK^FS^FO38540^AbN,11,7^FWN^FH^FDINV:ORD3642065^FS^FO38554^AbN,11,7^FWN^FH^FDPO:112-0625455-1958644^FS^FO428554^AbN,11,7^FWN^FH^FDDEPT:^FS^fo25930^GB58,1,1^FS^fo25930^GB1,26,1^FS^图83930^GB1,26,1^FS^fo25956^GB58,1,1^FS^FO31936^AdN,0,0^FWN^FH^FD0201^FS^PQ1^XZ

但是如果我在ZPL查看器中看到这个代码,那么它显示如下,

Fedex标签

看起来顶部有一些空白,底部被切掉了。

有人能帮我解决这个问题吗?

谢谢!

如果您选择使用带有文档标签的热标签格式,这是一种正常的行为,文档标签是一种带有额外运输信息的可移动粘性标签。

查看Thermal Label Element的Fedex Developper Guide文档,选择您想要使用的正确标签尺寸。

相关内容

  • 没有找到相关文章

最新更新