0

我在 PC43t 打印机上使用 ZPL 语言进行标签打印。我尝试用语言设置 Autosense 和 Direct 打印机。我正在连接 FTP 并向打印机发送标签打印请求。但是在 PUT 和 SEND 命令之后,出现“425 无法建立连接”之类的错误。

请查找随附的 ZPL 和 FTP 请求日志。

ZPL

^XA 
^BY2,9^FT41,147^B7N,9,2,0,0,N ^FH\^FDABC1123^FS 
^FT17,179^A0N,17,18^FH\^CI28^FDCode :^FS^CI27 
^FT163,197^A0N,17,18^FH\^CI28^FDLot No :^FS^CI27 
^FT16,197^A0N,17,18^FH\^CI28^FDExp :^FS^CI27 
^FT64,179^A0N,17,18^FH\^CI28^FDMC102217^FS^CI27 
^FT17,164^A0N,17,18^FH\^CI28^FDSURGICAL POWDER FREE^FS^CI27 
^FT219,197^A0N,17,18^FH\^CI28^FDABC1123^FS^CI27 
^FT56,197^A0N,17,18^FH\^CI28^FD31052021^FS^CI27 
^PQ1,,,Y 
^XZ

FTP 请求(尝试使用 Put and send)

C:\LABELS>ftp XXX.XXX.XXX.XXX
Connected to XXX.XXX.XXX.XXX.
220 Welcome to Intermec Printer PC43t  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
200 Always in UTF8 mode.
User (XXX.XXX.XXX.XXX:(none)): admin
331 Please specify the password.
Password:
230 Login successful.
ftp> put T.ZPL PR1
200 PORT command successful. Consider using PASV.
425 Failed to establish connection.
ftp>


C:\LABELS>ftp XXX.XXX.XXX.XXX
Connected to XXX.XXX.XXX.XXX.
220 Welcome to Intermec Printer PC43t  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
200 Always in UTF8 mode.
User (XXX.XXX.XXX.XXX:(none)): admin
331 Please specify the password.
Password:
230 Login successful.
ftp> send T.ZPL PR1
200 PORT command successful. Consider using PASV.
425 Failed to establish connection.
ftp>
4

0 回答 0