altair4 wrote:In Debian Mint ( at least the XFCE version ) Samba is pretty much broken by default so you should have done this first:
- Code: Select all
sudo apt-get install libsmbclient
sudo apt-get install smbclient
sudo apt-get install python-smbc
Then edit smb.conf as root:
- Code: Select all
gksu gedit /etc/samba/smb.conf
Add the following line to the [global] section:
- Code: Select all
map to guest = Bad user
Then look for the [printers] share and change the "guest ok" line from no to yes:
[printers]
comment = All Printers
browseable = No
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700
Then restart samba:
- Code: Select all
sudo service samba restart
On the CUPS end:
** Make sure you can print locally to the printer.
** Then run:
- Code: Select all
system-config-printer
And do all this stuff:
Server > Settings > Check "Publish Shared Printers connected to this system"
Right Click the attached printer > Properties > Policies > Check Enabled, Accepting Jobs, and Shared
Had done all that up to running
- Code: Select all
system-config-printer
It launches but I got this on the terminal:
- Code: Select all
coffee@coffee ~ $ system-config-printer
ERROR:dbus.proxies:Introspect error on :1.86:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.85" (uid=1000 pid=3810 comm="/usr/bin/python /usr/bin/system-config-printer ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.86" (uid=0 pid=3815 comm="/usr/lib/cups-pk-helper/cups-pk-helper-mechanism ")
And the window seems to freeze after some time..
Right clicking the printer gives me an error:
- Code: Select all
Option 'printer-resolution' has value '(unknown IPP tag)' and cannot be edited.
but everything is setup the way you instructed

.
The printer is connected to the box through USB, box is connected to router, laptop is on wireless... when I try to print from the laptop I get a "printer is not responding"..
I already switched from coffee to beer by now

.
edit:
I ran your how/to on sharing folders between both machines yesterday and it worked perfectly..