So I have printing working fine in Debian 5 set up with a samba share and even from another computer running Ubuntu Lucid, but when I try to print from Windows 7 nothing happens.

My printer is a Canon MP510, in Ubuntu the MP520 drivers work, but in Debian the Canon BJC-8200 drivers work fine.

Printing locally on the Debian machine works fine. Printing from the Ubuntu machine across the network is fine, but in Windows nothing happens. When I goto add printers it finds it without issue
and I just use the locally installed windows MP510 drivers. However, after that when I try to print a test page or anything else nothing happens. No errors or anything.

Here's my smb.conf:
Code:
[global]
   load printers = yes

   workgroup = WORKGROUP

   server string = %h server

   include = /etc/samba/dhcp.conf

   dns proxy = no

   log file = /var/log/samba/log.%m

   max log size = 1000

   syslog = 0

   panic action = /usr/share/samba/panic-action %d

####### Authentication #######

   security = share

   printing = cups
   printcap name = cups
   security = share

#======================= Share Definitions =======================

wins support = no
[homes]
   comment = Home Directories
   browseable = no
   read only = yes
   create mask = 0775
   directory mask = 0775
   valid users = %S

[printers]
   comment = All Printers
   path = /home/smbprint
   browseable = yes
   printable = yes
   public = yes
   create mode = 0700
   guest only = yes
   guest account = smbprint

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = no
   guest ok = yes
And here's my cupsd.conf
Code:
LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location /printers>
  AuthType None
  Order Deny,Allow
  Deny From None
  Allow From All
</Location>
<Location />
  # Allow shared printing...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin>
  # Restrict access to the admin pages...
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  # Restrict access to the configuration files...
  Order allow,deny
</Location>
<Policy default>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>