First, make sure the printer on Mint is shared and the CUPS server is running and set to publish that shared printer and that Samba is allowing access to the printer. You stated in your post that you did all this but I'm just trying to rule out the basics:
Run the following command:
- Code: Select all
system-config-printer
** Publish Shared PrintersServer > Settings > Select the following:
Publish Shared Printers connected to this system
Allow printing from the Internet
** Enable Sharing of the Attached PrinterRight Click the attached printer > Properties > Policies
Check Enabled, Accepting Jobs, and Shared
** To allow guest access through Samba:Edit smb.conf as root:
- Code: Select all
gksu gedit /etc/samba/smb.conf
Look for the [printers] share and change the "guest ok" line from no to yes and add another line:
[printers]
comment = All Printers
browseable = No
path = /var/spool/samba
printable = yes
guest ok = yes
printer admin = @lpadmin
read only = yes
create mask = 0700
Save smb.conf and restart samba:
- Code: Select all
sudo service smbd restart
Second, just to make sure the firewall isn't getting in the way disable it on Mint and see if that it is the issue:
- Code: Select all
sudo ufw disable
Third, there is a bug in the latest Ubuntu that follows through to Mint that may or may not affect you. To see if it does open a terminal and run the following command:
- Code: Select all
sudo rpcclient localhost
The prompt changes to "rpcclient $>. At that point enter the following command
- Code: Select all
enumprinters
You may get an output that looks something like this:
flags:[0x800000]
name:[\\LOCALHOST\]
description:[\\LOCALHOST\,,HP970-Photo]
comment:[HP970-Photo]
Note that the description and the comment contain the correct printer name but the "name" field only contains LOCALHOST. . It's the "name" that Windows needs to connect to and it's empty. To exit the terminal type:
- Code: Select all
exit
If the "name" field has the correct printer name then the problem is something else. If it's empty as it is above then see here for how to correct it:
viewtopic.php?f=42&t=28397&p=618065#p618065