cupsys can no longer share a printer to windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
High
|
Martin Pitt |
Bug Description
Binary package hint: cupsys
I have a HP DeskJet-970C connected to my Ubuntu Dapper machine. I am trying to share that printer via cups ipp to my network. I have 2 windows machines on the network that cannot print to the printer.
I have added the following lines to the cupsd.conf:
<Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All
</Location>
I am using this URL to add the printer:
http://
I have searched for 3 days on google, launchpad and the forums and have thus far been unable to make this work.
nix4me
Patrice Vetsel (vetsel-patrice) wrote : | #1 |
Changed in cupsys: | |
status: | Unconfirmed → Needs Info |
Mark (nix4me) wrote : | #2 |
I have tried it all. It simply wont work. Ive made debian and fedora do this today. I really want this to work. I will post my configs:
cupsd.conf
#
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel warning
# Administrator user group...
SystemGroup lpadmin
RunAsUser No
# Only listen for connections from the local machine.
# These settings are configured in /etc/cups/
# changing them does not require to change this file.
# Listen localhost:631
# Listen /var/run/
# Show shared printers on the local network.
# The 'Browsing' setting is configured in /etc/cups/
# so that changing it does not require to change this file.
# Browsing Off
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow All
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow localhost
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authentica
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# Include files in /etc/cups/conf.d
#Include /etc/cups/
Include /etc/cups/
<Location /printers/
Order deny,allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow From All
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
BrowseAddress 255.255.255.255
Listen *:631
Port 631
printers.conf
# Printer configuration file for CU...
grendel970 (dn) wrote : | #3 |
I am having the same problem and it's due to:
D [09/May/
I [09/May/
I tried to open a bug report on this, bug #43145, but it got closed, and I have had no response trying to get it reopened.
Can you check your /var/log/
Mark (nix4me) wrote : Re: [Bug 43303] Re: cupsys can no longer share a printer to windows | #4 |
grendel970 wrote:
>I am having the same problem and it's due to:
>
>D [09/May/
>I [09/May/
>
>I tried to open a bug report on this, bug #43145, but it got closed, and I have had no response trying to get it reopened.
>
>Can you check your /var/log/
>
>
>
Yes, i had same problem and fixed that specific problem, but it still
wouldn't print.
To fix that problem you have to uncomment the octet raw lines in the
mime.types and mime.convs files in /etc/cups.
That still didnt fix my problem.
I got tired of being ignored so I switched my server to Debian 'etch'.
Got print server set up in 5 minutes.
nix4me
grendel970 (dn) wrote : | #5 |
nix4me, I tried that, but funny thing is raw printing (octet-stream) is enabled by default in raw.types/
Patrice Vetsel (vetsel-patrice) wrote : | #6 |
Please update to cupsys 1.1.99.rc3-0ubuntu4
Use the default configuration of this version.
Just select the "detect lan printer" in gnome-cups-manager.
This option is mislabeled a bit; it should be 'Detect/Advertise LAN printers'
Martin Pitt (pitti) wrote : | #7 |
Patrice, enabling 'Detect LAN printers' will not change the behavior of Windows clients.
grendel970 (dn) wrote : | #8 |
This clearly looks to me like a problem printing "application/
Mark (nix4me) wrote : | #9 |
grendel970 wrote:
>nix4me, I tried that, but funny thing is raw printing (octet-stream) is
>enabled by default in raw.types/
>debugging enabled and still couldn't figure it out.
>
>
>
I agree. It's broken. Thats why I filed the bug. I spent 3 full days
trying to figure out why and then decided to use another OS.
nix4me
Mark (nix4me) wrote : | #10 |
VETSEL Patrice wrote:
>Please update to cupsys 1.1.99.rc3-0ubuntu4
>Use the default configuration of this version.
>Just select the "detect lan printer" in gnome-cups-manager.
>This option is mislabeled a bit; it should be 'Detect/Advertise LAN printers'
>
>
>
Tried that. Didn;t work.
nix4me
Patrice Vetsel (vetsel-patrice) wrote : | #11 |
I'v forgotten.
edit /etc/cups/
Edit to have 2 lines :
Port 631
Listen /var/run/
restart cupsys
grendel970 (dn) wrote : | #12 |
Yeah I've already got this configured, it can submit jobs, it just won't print
type octet-stream.
VETSEL Patrice wrote:
> I'v forgotten.
> edit /etc/cups/
>
> Edit to have 2 lines :
> Port 631
> Listen /var/run/
>
> restart cupsys
>
Mark (nix4me) wrote : Re: [Bug 43303] Re: [Bug 43303] Re: cupsys can no longer share a printer to windows | #13 |
grendel970 wrote:
>Yeah I've already got this configured, it can submit jobs, it just won't print
>type octet-stream.
>
>VETSEL Patrice wrote:
>
>
>>I'v forgotten.
>>edit /etc/cups/
>>
>>Edit to have 2 lines :
>>Port 631
>>Listen /var/run/
>>
>>restart cupsys
>>
>>
>>
>
>
>
Has this been fixed in Ubuntu yet?
I've noticed on my Debian machine that printing is working but cups is
writing to access_log 2 times every 5 seconds.
Sure would be nice to get a debian based distro with a working cups.
nix4me
Mark (nix4me) wrote : | #14 |
I have tried Ubuntu Dapper again: Installed 40 minutes ago on 5/12/06. Got all updates.
I still cant print from windows machines.
Here are the various configs:
(cupsd.conf)#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel warning
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
# These settings are configured in /etc/cups/
# changing them does not require to change this file.
# Listen localhost:631
# Listen /var/run/
# Show shared printers on the local network.
# The 'Browsing' setting is configured in /etc/cups/
# so that changing it does not require to change this file.
# Browsing Off
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
Allow @LOCAL
</Location>
<Location /printers>
Order allow,deny
Allow localhost
Allow @LOCAL
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow localhost
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authentica
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# Include files in /etc/cups/conf.d
Include /etc/cups/
Include /etc/cups/
(ports.conf)
Listen *:631
Listen /var/run/
(mime.types)
#######
#
# Raw print file support...
#
# Comment the following type to prevent raw file printing.
#
application/
(mime.convs)
#######
#
# Raw...
grendel970 (dn) wrote : Re: [Bug 43303] Re: cupsys can no longer share a printer to windows | #17 |
Per hva, try reverting back to 1.1.99.
on my box yet, but it looks like there's a bug with cups on this.
On Fri, 2006-05-12 at 16:50 +0000, Mark wrote:
> I have tried Ubuntu Dapper again: Installed 40 minutes ago on 5/12/06.
> Got all updates.
>
> I still cant print from windows machines.
>
> Here are the various configs:
>
> (cupsd.conf)#
> # Log general information in error_log - change "info" to "debug" for
> # troubleshooting...
> LogLevel warning
>
> # Administrator user group...
> SystemGroup lpadmin
>
> # Only listen for connections from the local machine.
> # These settings are configured in /etc/cups/
> # changing them does not require to change this file.
> # Listen localhost:631
> # Listen /var/run/
>
> # Show shared printers on the local network.
> # The 'Browsing' setting is configured in /etc/cups/
> # so that changing it does not require to change this file.
> # Browsing Off
> BrowseOrder allow,deny
> BrowseAllow @LOCAL
> BrowseAddress @LOCAL
>
> # Default authentication type, when authentication is required...
> DefaultAuthType Basic
>
> # Restrict access to the server...
> <Location />
> Order allow,deny
> Allow localhost
> Allow @LOCAL
> </Location>
>
> <Location /printers>
> Order allow,deny
> Allow localhost
> Allow @LOCAL
> </Location>
>
> # Restrict access to the admin pages...
> <Location /admin>
> Order allow,deny
> Allow localhost
> </Location>
>
> # Restrict access to configuration files...
> <Location /admin/conf>
> AuthType Basic
> Require user @SYSTEM
> Order allow,deny
> Allow localhost
> </Location>
>
> # Set the default printer/job policies...
> <Policy default>
> # Job-related operations must be done by the owner or an adminstrator...
> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-
> Require user @OWNER @SYSTEM
> Order deny,allow
> </Limit>
>
> # All administration operations require an adminstrator to authenticate...
> <Limit Pause-Printer Resume-Printer Set-Printer-
> AuthType Basic
> Require user @SYSTEM
> Order deny,allow
> </Limit>
>
> # Only the owner or an administrator can cancel or authenticate a job...
> <Limit Cancel-Job CUPS-Authentica
> Require user @OWNER @SYSTEM
> Order deny,allow
> </Limit>
>
> <Limit All>
> Order deny,allow
> </Limit>
> </Policy>
>
> # Include files in /etc/cups/conf.d
> Include /etc/cups/
> Include /etc/cups/
>
> (ports.conf)
> Listen *:631
> Listen /var/run/
>
> (mime.types)
> ###############...
Mark (nix4me) wrote : Re: [Bug 43303] Re: [Bug 43303] Re: cupsys can no longer share a printer to windows | #18 |
grendel970 wrote:
>Per hva, try reverting back to 1.1.99.
>on my box yet, but it looks like there's a bug with cups on this.
>
>On Fri, 2006-05-12 at 16:50 +0000, Mark wrote:
>
>
>>I have tried Ubuntu Dapper again: Installed 40 minutes ago on 5/12/06.
>>Got all updates.
>>
>>I still cant print from windows machines.
>>
>>Here are the various configs:
>>
>>(cupsd.conf)#
>># Log general information in error_log - change "info" to "debug" for
>># troubleshooting...
>>LogLevel warning
>>
>># Administrator user group...
>>SystemGroup lpadmin
>>
>># Only listen for connections from the local machine.
>># These settings are configured in /etc/cups/
>># changing them does not require to change this file.
>># Listen localhost:631
>># Listen /var/run/
>>
>># Show shared printers on the local network.
>># The 'Browsing' setting is configured in /etc/cups/
>># so that changing it does not require to change this file.
>># Browsing Off
>>BrowseOrder allow,deny
>>BrowseAllow @LOCAL
>>BrowseAddress @LOCAL
>>
>># Default authentication type, when authentication is required...
>>DefaultAuthType Basic
>>
>># Restrict access to the server...
>><Location />
>> Order allow,deny
>> Allow localhost
>> Allow @LOCAL
>></Location>
>>
>><Location /printers>
>> Order allow,deny
>> Allow localhost
>> Allow @LOCAL
>></Location>
>>
>># Restrict access to the admin pages...
>><Location /admin>
>> Order allow,deny
>> Allow localhost
>></Location>
>>
>># Restrict access to configuration files...
>><Location /admin/conf>
>> AuthType Basic
>> Require user @SYSTEM
>> Order allow,deny
>> Allow localhost
>></Location>
>>
>># Set the default printer/job policies...
>><Policy default>
>> # Job-related operations must be done by the owner or an adminstrator...
>> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-
>> Require user @OWNER @SYSTEM
>> Order deny,allow
>> </Limit>
>>
>> # All administration operations require an adminstrator to authenticate...
>> <Limit Pause-Printer Resume-Printer Set-Printer-
>> AuthType Basic
>> Require user @SYSTEM
>> Order deny,allow
>> </Limit>
>>
>> # Only the owner or an administrator can cancel or authenticate a job...
>> <Limit Cancel-Job CUPS-Authentica
>> Require user @OWNER @SYSTEM
>> Order deny,allow
>> </Limit>
>>
>> <Limit All>
>> Order deny,allow
>> </Limit>
>></Policy>
>>
>># Include files in /etc/cups/conf.d
>>Include /etc/cups/
>>Include /etc/cups/
>>
>>(ports.conf)
>>Listen *:631
>>Listen /var/run/
>>
>>(...
Mark (nix4me) wrote : | #19 |
1.1.99.
Mark
Changed in cupsys: | |
assignee: | nobody → pitti |
status: | Needs Info → Confirmed |
hva (francesco) wrote : | #21 |
i have that same problem, but downgrading to 1.1.99.rc2-0ubuntu1 fixed it for me. it seems is an upstream problem; there's a similar bug filed at cups's site
Ante Karamatić (ivoks) wrote : | #22 |
This seams to be related to:
http://
"application/
Martin Pitt (pitti) wrote : | #23 |
Closing as duplicate of bug 43145.
Changed in cupsys: | |
status: | Confirmed → Rejected |
Have you checked "detect lan printers" ?
Are the only modification you made ?
What's the version of cupsys ?
Have you already success on sharing printers by ipp from ubuntu to windows ?