为什么我无法从支持 TCP/IP 的打印机接收响应? [英] Why can I not receive a response from a TCP/IP capable printer?

查看:25
本文介绍了为什么我无法从支持 TCP/IP 的打印机接收响应?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的最终目标是通过 Internet 将打印作业发送到打印机.问题是打印机直接连接到路由器,所以我不能指望计算机处理任何事情.

My ultimate goal is to send a print job to a printer over the internet. The catch is that the printer is connected directly to a router, so I can't count on a computer processing anything.

打印作业的路径是:计算机 -> Internet -> 路由器 -> 打印机

The path a print job takes is: Computer -> Internet -> Router -> Printer

打印机是 Epson TM-T88V,带有 UB-E02 连接模块(它最初带有 25 针模块).

The printer is an Epson TM-T88V with the UB-E02 connect it module (it originally came with the 25-pin module).

路由器是 D-Link DIR-655,端口 9500 重定向到 LAN 端口 9100 和打印机的 LAN IP 地址.通过此设置,我可以在 Web 浏览器中输入路由器的 WAN IP 地址 + 端口 9500,打印机会吐出它收到的 HTTP 请求.

The router is a D-Link DIR-655 with port 9500 redirected to LAN port 9100 and the LAN IP address of the printer. With this setup, I can enter the router's WAN IP address + port 9500 in a web browser and the printer spits out the HTTP request it receives.

从终端,如果我使用 lpr(特别是 lpr -h ip-address:9500 filename.txt),打印机会打印它收到的 HTTP 请求(不是文件),而 lpr 似乎只是在等待响应.根据 UB-E02 技术参考指南,Connect-It 模块支持 lp/lpr.

From the terminal, if I use lpr (specifically lpr -h ip-address:9500 filename.txt), the printer prints the HTTP request it receives (not the file) and lpr appears to just be waiting for a response. According to the UB-E02 Technical Reference Guide, the Connect-It module supports lp/lpr.

为什么打印机打印了 HTTP 请求并且没有返回响应?

Why is it that the printer prints the HTTP request and doesn't send a response back?

推荐答案

您打开的端口可能是打印机的原始数据转储端口.可能有一个单独的端口可以与您的 lpr 通信 RFC1179/code> 客户端.

The port you opened is likely the raw data dump port for the printer. Likely there is a seperate port which speaks RFC1179 that will speak to your lpr client.

您不应向这两个端口中的任何一个发送 HTTP 控制.

You should not be sending HTTP control to either of these ports.

这篇关于为什么我无法从支持 TCP/IP 的打印机接收响应?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆