HP Printer on Debian server working with Unix client, not XP Client

Delaye sdelaye at at-home.eu
Sun Oct 28 04:23:44 PDT 2007


I'am running a Debian Server v4 with CUPS 1.2.11

I've got a PC with a dual boot Debian/XP and other desktops/laptops with XP Pro.
My network is 192.168.*.*

The CUPS web interface is working pretty well from everywhere as the printing from the UNIX server.

On the clients side:

- I can print from the debian PC using the http://femnet:631/printers/officejet_J5700 connect string

See log:

[28/Oct/2007:16:13:35 +1100] Print-Job http://femnet:631/printers/officejet_J5700
D [28/Oct/2007:16:13:35 +1100] print_job: auto-typing file...
D [28/Oct/2007:16:13:35 +1100] print_job: request file type is application/octet-stream.
D [28/Oct/2007:16:13:35 +1100] add_job: requesting-user-name="steph"
D [28/Oct/2007:16:13:35 +1100] Adding default job-sheets values "none,none"...
I [28/Oct/2007:16:13:35 +1100] Adding start banner page "none" to job 49.
D [28/Oct/2007:16:13:35 +1100] Discarding unused job-created event
...


- I can not print from the XP PCs:
* When I add the printer, it is found and displayed in the windows XP printer manager but the status is always "opening...".
* I can't have the printer properties dialog box.

Here is my cups.conf:


LogLevel debug
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
ServerCertificate /etc/cups/ssl/server.crt
ServerKey /etc/cups/ssl/server.key
SSLPort 632
# Share local printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
  # Allow shared printing...
  Order allow,deny
  Allow @LOCAL
  Allow 192.168.1.*
</Location>
<Location /printers>
     AuthType None
     Order Deny,Allow
     Deny From None
     Allow 192.168.*.*
</Location>
<Location /admin>
  Order allow,deny
  Allow localhost
  Allow 192.168.1.*
</Location>
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
  Allow 192.168.1.*
</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>
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
    Allow 192.168.*.*
  </Limit>
</Policy>
Printcap /var/run/cups/printcap

Please help.





More information about the cups mailing list