我在使用连接到我的(SBS2003)企业网络的打印机进行打印时遇到了问题。
我知道打印机的 IP,我可以 ping 它,甚至可以通过在 Firefox 中转到 192.168.0.50 并上传文件来从它打印文件。
如果我nmap
对打印机的 IP 执行此操作,我会得到以下信息:
jamesmaddison@development:~$ nmap 192.168.0.50
Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-11 16:12 BST
Nmap scan report for 192.168.0.50
Host is up (0.46s latency).
Not shown: 991 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp open http
443/tcp open https
515/tcp open printer
631/tcp open ipp
5900/tcp open vnc
9100/tcp open jetdirect
50001/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 4.55 seconds
无论我使用什么协议,我都无法让本地 cups 服务器进行打印。我处于业务工作组中,打印机甚至将我的计算机列在工作组中。
打印机是 Sharp MX-M314N。网络上的所有 Windows 计算机都可以正常打印,只有我的 ubuntu 机器不行。
以下是我尝试执行的最后一项作业的 CUPS 错误日志内容。
E [11/Jul/2013:16:21:28 +0100] [cups-polld MASTERMAGNETS:631] Unable to connect to MASTERMAGNETS on port 631.
以下是nmap
我在 SBS 上运行报告的结果
jamesmaddison@development:~$ nmap mastermagnets
Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-11 16:35 BST
Nmap scan report for mastermagnets (192.168.0.2)
Host is up (0.00055s latency).
rDNS record for 192.168.0.2: mastermagnets.local
Not shown: 957 closed ports
PORT STATE SERVICE
25/tcp open smtp
42/tcp open nameserver
53/tcp open domain
80/tcp open http
88/tcp open kerberos-sec
135/tcp open msrpc
139/tcp open netbios-ssn
389/tcp open ldap
443/tcp open https
444/tcp open snpp
445/tcp open microsoft-ds
464/tcp open kpasswd5
593/tcp open http-rpc-epmap
636/tcp open ldapssl
691/tcp open resvc
1025/tcp open NFS-or-IIS
1027/tcp open IIS
1042/tcp open unknown
1045/tcp open unknown
1046/tcp open unknown
1048/tcp open unknown
1049/tcp open unknown
1054/tcp open unknown
1081/tcp open unknown
1087/tcp open unknown
1094/tcp open unknown
1104/tcp open unknown
2301/tcp open compaqdiag
2381/tcp open unknown
3268/tcp open globalcatLDAP
3269/tcp open globalcatLDAPssl
3389/tcp open ms-term-serv
5633/tcp open unknown
6001/tcp open X11:1
6002/tcp open X11:2
6004/tcp open X11:4
6101/tcp open backupexec
6106/tcp open isdninfo
8080/tcp open http-proxy
8081/tcp open blackice-icecap
8082/tcp open blackice-alerts
8443/tcp open https-alt
10000/tcp open snet-sensor-mgmt
Nmap done: 1 IP address (1 host up) scanned in 1.18 seconds
答案1
您正在尝试打印到 Windows 服务器 (192.168.0.2)。只需直接打印到网络打印机 (192.168.0.50) 即可。