[GH-ISSUE #1210] 将内网打印机映射出去,打印机可以被添加,但实际无法打印 #949

Closed
opened 2026-05-05 12:36:32 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @miws on GitHub (Apr 24, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1210

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
从v0.25.2 到 v0.26.0 这几个版本都试过。

What operating system and processor architecture are you using (go env)?
我将打印机的两种协议均映射出去,实际观察走的是631端口,然后使用远程打印机,在dashboard中观察,有数据交换,但打印机并没有打印。
再尝试选择9100协议端口,同样数据发送过去,打印机并没有打印。

Configures you used:
#frpc.ini
[p_9100]
type = tcp
local_ip = 192.168.0.104
local_port = 9100
remote_port = 9100
[p_631]
type = tcp
local_ip = 192.168.0.104
local_port = 631
remote_port = 631

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @miws on GitHub (Apr 24, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1210 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 从v0.25.2 到 v0.26.0 这几个版本都试过。 **What operating system and processor architecture are you using (`go env`)?** 我将打印机的两种协议均映射出去,实际观察走的是631端口,然后使用远程打印机,在dashboard中观察,有数据交换,但打印机并没有打印。 再尝试选择9100协议端口,同样数据发送过去,打印机并没有打印。 **Configures you used:** #frpc.ini [p_9100] type = tcp local_ip = 192.168.0.104 local_port = 9100 remote_port = 9100 [p_631] type = tcp local_ip = 192.168.0.104 local_port = 631 remote_port = 631 **Steps to reproduce the issue:** 1. 2. 3. **Describe the results you received:** **Describe the results you expected:** **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
Author
Owner

@nexw commented on GitHub (Apr 29, 2019):

这个牵涉的问题会不会太广了,打印机型号和协议都很多。

<!-- gh-comment-id:487436975 --> @nexw commented on GitHub (Apr 29, 2019): 这个牵涉的问题会不会太广了,打印机型号和协议都很多。
Author
Owner

@Xeath commented on GitHub (May 9, 2019):

不一定只有 TCP 协议,可能有 UDP 协议。这个不一定好弄

<!-- gh-comment-id:490729546 --> @Xeath commented on GitHub (May 9, 2019): 不一定只有 TCP 协议,可能有 UDP 协议。这个不一定好弄
Author
Owner

@saonian commented on GitHub (Apr 4, 2020):

你在浏览器中访问本地打印机,比如:localhost:631,在管理界面中找到防火墙的页面打开,里面会告诉你应该开放哪些端口

<!-- gh-comment-id:608975844 --> @saonian commented on GitHub (Apr 4, 2020): 你在浏览器中访问本地打印机,比如:localhost:631,在管理界面中找到防火墙的页面打开,里面会告诉你应该开放哪些端口
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#949
No description provided.