I've been using a NAS attached printer so long I've forgotten how to setup networked printers. A friend which I've introduced to Mint 9 can't configure his Windows XP hosted printers. Trying to find a solution I've nearly duplicated his setup and am having the same difficulty.
XP box 192.168.1.104
HP_PSC is connected via USB printer sharing is on
CUPS can't find it. Have tried IPP/HTTP/SMB Everything looks good until I click verify (in the Gnome printer utility) What step(s) might I be missing?
(SOLVED) Easy Windows Printer Setup?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
(SOLVED) Easy Windows Printer Setup?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Mint-21.0 Mate 64 bit / LMDE-5 64 bit
Gigabyte H370M D3H
Intel G3258
Crucial Ballistic Sport 32GB DDR4 2400
8TB HDD Seagate Baracuda 5400rpm
Gigabyte H370M D3H
Intel G3258
Crucial Ballistic Sport 32GB DDR4 2400
8TB HDD Seagate Baracuda 5400rpm
Re: Easy Windows Printer Setup?
Can the Mint machine see the WinXP attached printer?
This should show all the shares on the lan including the WinXP shared printer:
You should also be able to see it from the Add button in the Gnome Printer utility under: Network Printer > Windows Printer via Samba
This should show all the shares on the lan including the WinXP shared printer:
Code: Select all
smbtree
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Easy Windows Printer Setup?
No.altair4 wrote:Can the Mint machine see the WinXP attached printer?
This should show all the shares on the lan including the WinXP shared printer:You should also be able to see it from the Add button in the Gnome Printer utility under: Network Printer > Windows Printer via SambaCode: Select all
smbtree
MSHOME
\\JIM-XP
cli_start_connection: failed to connect to JIM-XP<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL
Sharing status on the XP box was rechecked and rebooted as well.
Mint-21.0 Mate 64 bit / LMDE-5 64 bit
Gigabyte H370M D3H
Intel G3258
Crucial Ballistic Sport 32GB DDR4 2400
8TB HDD Seagate Baracuda 5400rpm
Gigabyte H370M D3H
Intel G3258
Crucial Ballistic Sport 32GB DDR4 2400
8TB HDD Seagate Baracuda 5400rpm
Re: Easy Windows Printer Setup?
Make sure the samba / SMB ports are open on both machines:
Install nmap:
Run this twice:
Once substituting 192.168.0.100 with the ip address of the WinXP machine.
And again with the ip address of the Mint machine.
What you're looking for are the following ports to be open:
Install nmap:
Code: Select all
sudo apt-get install nmap
Code: Select all
sudo nmap -sS -sU -T4 192.168.0.100
And again with the ip address of the Mint machine.
What you're looking for are the following ports to be open:
EDIT: You said you used the smb format to try to connect to the printer. Did you do it by ip address:139/tcp open netbios-ssn
445/tcp open microsoft-ds
137/udp open|filtered netbios-ns
138/udp open|filtered netbios-dgm
Code: Select all
smb://192.168.1.104/WinXP-Printer_name
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Easy Windows Printer Setup?
Install nmap said I had the most current version already installed.
Interesting ports on 192.168.1.101: MINT
Not shown: 1992 closed ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
5900/tcp open vnc
68/udp open|filtered dhcpc
137/udp open|filtered netbios-ns
138/udp open|filtered netbios-dgm
631/udp open|filtered ipp
5353/udp open|filtered zeroconf
Interesting ports on 192.168.1.104: XP
Not shown: 1000 open|filtered ports, 997 filtered ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
2869/tcp open unknown
Tried setting up via IP address but couldn't connect
Interesting ports on 192.168.1.101: MINT
Not shown: 1992 closed ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
5900/tcp open vnc
68/udp open|filtered dhcpc
137/udp open|filtered netbios-ns
138/udp open|filtered netbios-dgm
631/udp open|filtered ipp
5353/udp open|filtered zeroconf
Interesting ports on 192.168.1.104: XP
Not shown: 1000 open|filtered ports, 997 filtered ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
2869/tcp open unknown
Tried setting up via IP address but couldn't connect
Mint-21.0 Mate 64 bit / LMDE-5 64 bit
Gigabyte H370M D3H
Intel G3258
Crucial Ballistic Sport 32GB DDR4 2400
8TB HDD Seagate Baracuda 5400rpm
Gigabyte H370M D3H
Intel G3258
Crucial Ballistic Sport 32GB DDR4 2400
8TB HDD Seagate Baracuda 5400rpm
Re: Easy Windows Printer Setup?
You've got a couple of problems here. One is netbios name resolution which may be due to the udp ports not being open on WinXP but that really doesn't matter if you're trying to access the printer by ip address.
If you go into /etc/cups/printers.conf and look for that printer you should see a line that looks like this:
EDIT: I've got to shut down for the day so let me leave you with some things to check:
[] Play with the capitalization of the WinXP printer name.
[] WinXP sometimes gets confused over what an anonymous remote guest is so you might want to alter the DeviceURI to explicitly state "guest":
If you go into /etc/cups/printers.conf and look for that printer you should see a line that looks like this:
Is that what you see?DeviceURI smb://192.168.1.104/Whatever-yourPrinterIsNamed
EDIT: I've got to shut down for the day so let me leave you with some things to check:
[] Play with the capitalization of the WinXP printer name.
[] WinXP sometimes gets confused over what an anonymous remote guest is so you might want to alter the DeviceURI to explicitly state "guest":
DeviceURI smb://guest@192.168.1.104/Whatever-yourPrinterIsNamed
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Easy Windows Printer Setup?
The "fix" was returning to the XP box, deleting the printer, then reinstalling from scratch with the manufacturer supplied install disc. After that the browse function was able to find the WinXP printer.altair4 wrote:You've got a couple of problems here. One is netbios name resolution which may be due to the udp ports not being open on WinXP but that really doesn't matter if you're trying to access the printer by ip address.
Mint-21.0 Mate 64 bit / LMDE-5 64 bit
Gigabyte H370M D3H
Intel G3258
Crucial Ballistic Sport 32GB DDR4 2400
8TB HDD Seagate Baracuda 5400rpm
Gigabyte H370M D3H
Intel G3258
Crucial Ballistic Sport 32GB DDR4 2400
8TB HDD Seagate Baracuda 5400rpm
- capricornus
- Level 2
- Posts: 59
- Joined: Fri Dec 29, 2006 10:11 am
Re: (SOLVED) Easy Windows Printer Setup?
I use a HP2055d on a Synology 109 NAS.
With Ubuntu of Mint GNOME, I easily get connected thru SAMBA:
smb://NETWORKNAME/DISKSTATION/usbprinter
With Ubuntu of Mint GNOME, I easily get connected thru SAMBA:
smb://NETWORKNAME/DISKSTATION/usbprinter