我在打印到连接到我的 (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 服务器进行打印。我在业务工作组中,打印机甚至将我的计算机列出在工作组中。
我努力了:
smb://MASTERMAGNETS/SBSSRV/Sharp%20MX-M314N/
smb://jamesmaddison:password@MASTERMAGNETS/SBSSRV/Sharp%20MX-M314N/
socket://192.168.0.50:9100
ipp://192.168.0.50/ipp?version=1.0
lpd://192.168.0.50/lp
以及 CUPS 列出的所有“发现的打印机”。 (它们是 dnssd 协议)
打印机是夏普 MX-M314N。网络上的所有 Windows 计算机都可以正常打印,只有我的 ubuntu 计算机不能。
以下是我尝试的最后一项作业的 CUPS 错误日志的内容。 http://pastebin.com/YL7p1Zsp
我经常收到一条通知,显示“打印机错误:打印机错误打印机名称:connecting-to-device
”
这是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[/CODE]
我只是无法让它工作,问题似乎出在 Cups 和 Windows 服务器之间,就好像我在 Firefox 中访问 192.168.0.50:9100 打印机打印它收到的 GET 标头一样。我还可以访问 192.168.0.50 并将文件直接上传到打印机。最后,我可以通过 ftp 进入打印机并以这种方式上传文件。
这是 smbclient 给我的:
~$ smbclient -U MASTERMAGNETS/JamesMaddison -L //SBSSRV
Sharename Type Comment
--------- ---- -------
Line100 Disk
print$ Disk Printer Drivers
C$ Disk Default share
S$ Disk Default share
Technical Disk
IRS Disk
Designjet 500-24 Printer HP Designjet 500 24 by HP
Accounts Disk
RICOH Printer RICOH Aficio 1027
clients Disk Windows Small Business Server Client Setup
tsclient Disk
IPC$ IPC Remote IPC
Resources$ Disk "Event logging files"
FxsSrvCp$ Disk Common Fax Cover Pages Folder
tsweb Disk
SHARP MX-M314N Printer 192.168.0.50
ADMIN$ Disk Remote Admin
faxclient Disk Microsoft Shared Fax Clients
ClientApps Disk Windows Small Business Server Client Applications
DLOAgent Disk Symantec DLO Share
Magnets-database files Disk
Magnet-database files Disk
D$ Disk Default share
Users Disk Users Shared Folders
Public Disk
actsql Disk
SYSVOL Disk Logon server share
Address Disk "Access to address objects"
Confidential Disk
NETLOGON Disk Logon server share
SBSSRV.LOG Disk Exchange message tracking logs
Server Comment
--------- -------
ANDY
DESIGN1
DESIGN2
DESIGN3
DEVELOPMENT development server (Samba, Linux)
FRANK
JOE
JONATHAN
KIM Kim
ORDERPRINT Purchase Order Printer
PHIL
SBSSRV
TERMSRV
Workgroup Master
--------- -------
MASTERMAGNETS SBSSRV