[cups.general] list of cups servers and queues

Steve Smith steve at gdesigns.co.uk
Thu Dec 10 08:41:08 PST 2009


Hi

I have a CUPS environment with multiple servers.  Can someone tell the
command I can use to get a list of the server names and their queues.  I can
see the different servers in the Web interface but need a list of
servers/queues in a terminal window so the info can be used in another
application we are working on.

Steve Smith


-----Original Message-----
From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of
cups-request at easysw.com
Sent: 10 December 2009 16:37
To: cups at easysw.com
Subject: cups Digest, Vol 71, Issue 12

Send cups mailing list submissions to
	cups at easysw.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.easysw.com/mailman/listinfo/cups
or, via email, send a message with subject or body 'help' to
	cups-request at easysw.com

You can reach the person managing the list at
	cups-owner at easysw.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of cups digest..."


Today's Topics:

   1. Re: landscape printing problem (Helge Blischke)
   2. lpstat: Unable to connect to server (Raj)
   3. ir3300 (raena)
   4. Re: landscape printing problem (Christoph Litauer)
   5. Re: Login to cups on localhost:631 password failure
      (David Southwell)
   6. Re: cups Digest, Vol 71, Issue 11 (Steve Smith)


----------------------------------------------------------------------

Message: 1
Date: Wed, 09 Dec 2009 14:43:33 -0800
From: Helge Blischke <h.blischke at acm.org>
Subject: Re: [cups.general] landscape printing problem
To: cups at easysw.com
Message-ID: <36407-cups.general at news.easysw.com>
Content-Type: text/plain; charset="us-ascii"

Christoph Litauer wrote:

> Helge Blischke schrieb:
>> Christoph Litauer wrote:
>> 
>>> Environment:
>>> Server: cups-1.1.23
>>> Client: MacOS 10.6.2
>>>
>>> Hi,
>>>
>>> I try to print firefox pages landscape. I configured landscape printing
>>> in page setup. The spooled output looks like
>>> http://userpages.uni-koblenz.de/~litauer/cups/test.pdf
>>>
>>> The printing environment contains '-o orientation-requested=4', filters
>>> are I [08/Dec/2009:14:01:23 +0100] Started filter
>>> /usr/lib/cups/filter/pdftops-1.20 (PID 30411) for job 1.
>>> I [08/Dec/2009:14:01:23 +0100] Started filter
>>> /usr/lib/cups/filter/pstops.alt (PID 30412) for job 1.
>>>
>>> The result is like:
>>> http://userpages.uni-koblenz.de/~litauer/cups/test.ps
>>>
>>> Any ideas?
>> 
>> As the PDF page in the PDF file is already defined as a landscape page
>> ("... /MediaBox [0 0 842 595] ...") your setup forces an additional
>> rotation of the coordinate system by 90 degrees. If you do not request
>> landscape printing, the output will be ok.
> 
> Helge,
> 
> I didn't request anything explicitly while printing. I want to do a
> simple thing: Print a firefox page in landscape format. So I made a
> landscape page setup in firefox. I did not change anything in the
> printing dialog, but the preview already shows a landscape page. I
> cannot find any possibility to change the printing format to portrait.
> The "orientation-requested"-option seems to be sent by the printing
> dialog. Doing the same thing with linux works as expected.
> 

Christoph,

as I do not have a MacOS X 10.6 nor a firefox on my Mac (10.5.x), I'm not 
able to reproduce your issue. But from what I know about Mac OS X printing, 
when printing from Mozilla (as from any application running in Quartz 
environment), a PDF is generated in the first step. This PDF is ok, as well 
with respect to the page orientation (see the MediaBox I mentioned in my 
previous post). Thus, when printing this PDF, there must not any orientation

change be specified - just printing with the default portrait orientation 
gives the desired result.

What I'm wondering about is that the job attributes submitted to your CUPS 
contain a "orientation-requested=5", which means "seascape" - the correct 
option should be "orientation-requested=3" (portrait).

You should set the log level to debug on both your Mac and the print server 
box (some Linux I suppose) and post the respective portions of the error 
logs of both machines (or send them to me directly to h dot blischke at acm 
dot org).

BTW, I tested landscape printing vrom firefox (3.x) on SuSE Linux 11.1 and 
got a correct PostScript file. But that certainly is not representative as 
the PS is generated by cairo in my case.

Helge





------------------------------

Message: 2
Date: Wed, 09 Dec 2009 15:08:41 -0800
From: Raj <drvr at hotmail.com>
Subject: [cups.general] lpstat: Unable to connect to server
To: cups at easysw.com
Message-ID: <36408-cups.general at news.easysw.com>

Trying to use server with 1.4.2 and client 1.1.x. From client I am unable to
print or check the status. Client.conf is configured with server ipaddress
and cupsd.conf on server is configured to allow from <client ip>.

Appreciate any help.




------------------------------

Message: 3
Date: Wed, 09 Dec 2009 19:11:45 -0800
From: raena <raena at frankellawyers.com.au>
Subject: [cups.general] ir3300
To: cups at easysw.com
Message-ID: <36409-cups.general at news.easysw.com>

Hi,

Runnin cups 1.4.1 on Linux Kubuntu 2.6.31-16-generic on AMD64 quadcore.
Trying to configure ir3300 on network.

I can find the Printer OK and IP address and install driver but I have tried
all the optional ppd/drivers and cannot get it to print. The test Print
sends to Print but does not print.

It is on a mixed network and other PC are all windows and the Printer is set
to require a code. I have tried authentication on and off but never get a
request to enter a code.

Can you suggest what troubleshooting I need to do?

Thanks



------------------------------

Message: 4
Date: Thu, 10 Dec 2009 01:18:30 -0800
From: Christoph Litauer <litauer at uni-koblenz.de>
Subject: Re: [cups.general] landscape printing problem
To: cups at easysw.com
Message-ID: <36410-cups.general at news.easysw.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Am 09.12.09 23:43, schrieb Helge Blischke:
> Christoph Litauer wrote:
>
>> Helge Blischke schrieb:
>>> Christoph Litauer wrote:
>>>
>>>> Environment:
>>>> Server: cups-1.1.23
>>>> Client: MacOS 10.6.2
>>>>
>>>> Hi,
>>>>
>>>> I try to print firefox pages landscape. I configured landscape printing
>>>> in page setup. The spooled output looks like
>>>> http://userpages.uni-koblenz.de/~litauer/cups/test.pdf
>>>>
>>>> The printing environment contains '-o orientation-requested=4', filters
>>>> are I [08/Dec/2009:14:01:23 +0100] Started filter
>>>> /usr/lib/cups/filter/pdftops-1.20 (PID 30411) for job 1.
>>>> I [08/Dec/2009:14:01:23 +0100] Started filter
>>>> /usr/lib/cups/filter/pstops.alt (PID 30412) for job 1.
>>>>
>>>> The result is like:
>>>> http://userpages.uni-koblenz.de/~litauer/cups/test.ps
>>>>
>>>> Any ideas?
>>>
>>> As the PDF page in the PDF file is already defined as a landscape page
>>> ("... /MediaBox [0 0 842 595] ...") your setup forces an additional
>>> rotation of the coordinate system by 90 degrees. If you do not request
>>> landscape printing, the output will be ok.
>>
>> Helge,
>>
>> I didn't request anything explicitly while printing. I want to do a
>> simple thing: Print a firefox page in landscape format. So I made a
>> landscape page setup in firefox. I did not change anything in the
>> printing dialog, but the preview already shows a landscape page. I
>> cannot find any possibility to change the printing format to portrait.
>> The "orientation-requested"-option seems to be sent by the printing
>> dialog. Doing the same thing with linux works as expected.
>>
>
> Christoph,
>
> as I do not have a MacOS X 10.6 nor a firefox on my Mac (10.5.x), I'm not
> able to reproduce your issue. But from what I know about Mac OS X
printing,
> when printing from Mozilla (as from any application running in Quartz
> environment), a PDF is generated in the first step. This PDF is ok, as
well
> with respect to the page orientation (see the MediaBox I mentioned in my
> previous post). Thus, when printing this PDF, there must not any
orientation
> change be specified - just printing with the default portrait orientation
> gives the desired result.
>
> What I'm wondering about is that the job attributes submitted to your CUPS
> contain a "orientation-requested=5", which means "seascape" - the correct
> option should be "orientation-requested=3" (portrait).
>
> You should set the log level to debug on both your Mac and the print
server
> box (some Linux I suppose) and post the respective portions of the error
> logs of both machines (or send them to me directly to h dot blischke at
acm
> dot org).

Helge,

I'm sorry to say that the reason seems to be your pdftops filter ... I 
changed my config to use the original cups pdftops and got the correct 
output. I am using version 1.20.

>
> BTW, I tested landscape printing vrom firefox (3.x) on SuSE Linux 11.1 and
> got a correct PostScript file. But that certainly is not representative as
> the PS is generated by cairo in my case.

Same here.

-- 
Kind regards
Christoph
________________________________________________________________________
Christoph Litauer                  litauer at uni-koblenz.de
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2



------------------------------

Message: 5
Date: Thu, 10 Dec 2009 13:34:21 +0000
From: David Southwell <david at vizion2000.net>
Subject: Re: [cups.general] Login to cups on localhost:631 password
	failure
To: cups at easysw.com
Message-ID: <200912101334.21218.david at vizion2000.net>
Content-Type: Text/Plain;  charset="us-ascii"

Thanks to some help from people on one of the freebsd lists  I have 
finally succeeded in getting cups the server to communicate with the printer

and print. 
HOWEVER!!

One minor niggling problem remains. I still cannot communicate with the cups

management interface on http://localhost:631 due to password authentication 
failure. So the title of this thread is still very relevant.

Thanks in advance for any help with the problem.

To bring readers up to date:

I try logging in as 'root' with correct root password in the login 
dialogue.

I altered the loglevel to debug and the output is at the end of this post.

It seems as though the cupsd is not receiving the input (probably due to
some 
config error on my part!). I have tried using a number of different browsers

but get the same result.

Prior to testing I did:

dns1# lppasswd -g wheel -a root
The standard cups error log showed
cupsdAuthorize: pam_start() returned 4 (system error)!

So I raised the loglevel to debug and got the results shown further down.

All the configuration has been done manually.
I restarted cupsd with:

dns1# /usr/local/etc/rc.d/cupsd restart
Stopping cupsd.
Starting cupsd.

 The HP JetDirect Configuration report includes the following info:
_______________________________
Model Number: J4169A
Firmware Version: L.20.24

Under TCP/IP we have:
Hostname: [mydevice]
Domain Name: [my_domain].[my_tld]
# The following all show correct entries:
Ip Address:
Subnet Mask:
Default Gateway:
DNS Server:
__________________________________
End of jetDirect config info:
____________________________________

 The beast is printing.
____________________________________________
Cups is running:

dns1# ps -aux |grep cupsd
root       40253  0.0  0.1 27956  5332  ??  Is    1:01PM   0:00.02 
/usr/local/sbin/cupsd -C /usr/local/etc/cups/cupsd.conf

dns1# cat /usr/local/etc/cups/cupsd.conf

#

# "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $"

#

# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf"
for 
a                                                
# complete description of this file.

#


# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...                                         
LogLevel warn                                                    

# Administrator user group...
SystemGroup wheel            


# Only listen for connections from the local machine.
Listen localhost:631                                 
Listen /var/run/cups.sock                            

# Show shared printers on the local network.
Browsing On                                 
BrowseOrder allow,deny                      
BrowseAllow all                             
BrowseLocalProtocols CUPS                   

# Default authentication type, when authentication is required...
DefaultAuthType Basic                                            

# Restrict access to the server...
<Location />                      

Order Deny, Allow
Deny from All    
Allow from 127.0.0.1
Allow from  62.49.197.50
</Location>             

# Restrict access to the admin pages...
<Location /admin>                      
AuthType Default                       
Require user @SYSTEM                   
  Order Deny, Allow                    
Deny from All                          
Allow from 127.0.0.1                   
Allow from  62.49.197.50               
</Location>                            

# Restrict access to configuration files...
<Location /admin/conf>                     
  AuthType Default                         
  Require user @SYSTEM                     
Order Deny, Allow                          
Deny from All                              
Allow from 127.0.0.1                       
Allow from  62.49.197.50                   
  Order allow,deny                         
</Location>                                

# Set the default printer/job policies...
<Policy default>                         
  # Job-related operations must be done by the owner or an administrator...
  <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 CUPS-Get-Document>      
    Require user @OWNER @SYSTEM

    Order deny,allow

  </Limit>


  # All administration operations require an administrator to
authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class 
CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default

    Require user @SYSTEM

    Order deny,allow

  </Limit>


  # All printer operations require a printer operator to authenticate...
  <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>


  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>                                
    Require user @OWNER @SYSTEM                                           
    Order deny,allow                                                      
  </Limit>                                                                

  <Limit All>
    Order deny,allow
  </Limit>          
</Policy>           

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI>
    AuthType Default
    Order deny,allow
  </Limit>

  <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 CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to
authenticate...
  <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>

  # All printer operations require a printer operator to authenticate...
  <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>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $".
#
dns1#

Here is the output from /cups/error_log with loglevel changed to debug

# RESTART CUPS HERE:I [10/Dec/2009:11:06:07 +0000] Scheduler shutting down 
normally.
D [10/Dec/2009:11:06:07 +0000] Discarding unused server-stopped event...
D [10/Dec/2009:11:06:07 +0000] 
cupsdDeregisterPrinter(p=0x801f78800(LaserJet-2200), removeit=1)
X [10/Dec/2009:11:06:07 +0000] kevent() returned Bad file descriptor
I [10/Dec/2009:11:06:07 +0000] Saving job cache file 
"/var/cache/cups/job.cache"...
I [10/Dec/2009:11:06:07 +0000] Listening to ::1:631 (IPv6)
I [10/Dec/2009:11:06:07 +0000] Listening to 127.0.0.1:631 (IPv4)
I [10/Dec/2009:11:06:07 +0000] Listening to /var/run/cups.sock (Domain)
D [10/Dec/2009:11:06:07 +0000] cupsdDenyIP(loc=0x801f800a0(/), 
address=0:0:0:0, netmask=0:0:0:0)
D [10/Dec/2009:11:06:07 +0000] cupsdDenyIP(loc=0x801f80100(/admin), 
address=0:0:0:0, netmask=0:0:0:0)
D [10/Dec/2009:11:06:07 +0000] cupsdDenyIP(loc=0x801f80160(/admin/conf), 
address=0:0:0:0, netmask=0:0:0:0)
I [10/Dec/2009:11:06:07 +0000] Remote access is disabled.
D [10/Dec/2009:11:06:07 +0000] Added auto ServerAlias dns1.vizion2000.net
D [10/Dec/2009:11:06:07 +0000] Added auto ServerAlias dns1
I [10/Dec/2009:11:06:07 +0000] Loaded configuration file 
"/usr/local/etc/cups/cupsd.conf"
I [10/Dec/2009:11:06:07 +0000] Using default TempDir of
/var/spool/cups/tmp...
I [10/Dec/2009:11:06:07 +0000] Configured for up to 100 clients.
I [10/Dec/2009:11:06:07 +0000] Allowing up to 100 client connections per
host.
I [10/Dec/2009:11:06:07 +0000] Using policy "default" as the default!
I [10/Dec/2009:11:06:07 +0000] Full reload is required.
I [10/Dec/2009:11:06:07 +0000] Loaded MIME database from 
"/usr/local/share/cups/mime" and "/usr/local/etc/cups": 35 types, 40 
filters...
D [10/Dec/2009:11:06:07 +0000] Loading printer LaserJet-2200...
D [10/Dec/2009:11:06:07 +0000] load_ppd: Loading 
/var/cache/cups/LaserJet-2200.ipp...
D [10/Dec/2009:11:06:07 +0000] 
cupsdRegisterPrinter(p=0x801f78800(LaserJet-2200))
D [10/Dec/2009:11:06:07 +0000] load_ppd: Loading 
/var/cache/cups/LaserJet-2200.ipp...
D [10/Dec/2009:11:06:07 +0000] 
cupsdRegisterPrinter(p=0x801f78800(LaserJet-2200))
I [10/Dec/2009:11:06:07 +0000] Loading job cache file 
"/var/cache/cups/job.cache"...
D [10/Dec/2009:11:06:07 +0000] [Job 5] Loading from cache...
D [10/Dec/2009:11:06:07 +0000] [Job 6] Loading from cache...
D [10/Dec/2009:11:06:07 +0000] [Job 7] Loading from cache...
I [10/Dec/2009:11:06:07 +0000] Full reload complete.
I [10/Dec/2009:11:06:07 +0000] Cleaning out old temporary files in 
"/var/spool/cups/tmp"...
I [10/Dec/2009:11:06:07 +0000] Listening to ::1:631 on fd 6...
I [10/Dec/2009:11:06:07 +0000] Listening to 127.0.0.1:631 on fd 7...
I [10/Dec/2009:11:06:07 +0000] Listening to /var/run/cups.sock on fd 8...
I [10/Dec/2009:11:06:07 +0000] Resuming new connection processing...
D [10/Dec/2009:11:06:07 +0000] 
cupsdRegisterPrinter(p=0x801f78800(LaserJet-2200))
D [10/Dec/2009:11:06:07 +0000] Discarding unused server-started event...
D [10/Dec/2009:11:06:08 +0000] Report: clients=0
D [10/Dec/2009:11:06:08 +0000] Report: jobs=3
D [10/Dec/2009:11:06:08 +0000] Report: jobs-active=0
D [10/Dec/2009:11:06:08 +0000] Report: printers=1
D [10/Dec/2009:11:06:08 +0000] Report: printers-implicit=0
D [10/Dec/2009:11:06:08 +0000] Report: stringpool-string-count=266
D [10/Dec/2009:11:06:08 +0000] Report: stringpool-alloc-bytes=6352
D [10/Dec/2009:11:06:08 +0000] Report: stringpool-total-bytes=6088
D [10/Dec/2009:11:08:40 +0000] cupsdAcceptClient: 12 from localhost:631
(IPv4)
D [10/Dec/2009:11:08:40 +0000] Report: clients=1
D [10/Dec/2009:11:08:40 +0000] Report: jobs=3
D [10/Dec/2009:11:08:40 +0000] Report: jobs-active=0
D [10/Dec/2009:11:08:40 +0000] Report: printers=1
D [10/Dec/2009:11:08:40 +0000] Report: printers-implicit=0
D [10/Dec/2009:11:08:40 +0000] Report: stringpool-string-count=266
D [10/Dec/2009:11:08:40 +0000] Report: stringpool-alloc-bytes=6352
D [10/Dec/2009:11:08:40 +0000] Report: stringpool-total-bytes=6088
D [10/Dec/2009:11:08:40 +0000] cupsdReadClient: 12 GET / HTTP/1.1
D [10/Dec/2009:11:08:40 +0000] cupsdSetBusyState: Active clients
D [10/Dec/2009:11:08:40 +0000] cupsdAuthorize: No authentication data 
provided.
D [10/Dec/2009:11:08:40 +0000] cupsdSetBusyState: Not busy
D [10/Dec/2009:11:08:40 +0000] cupsdReadClient: 12 GET /cups.css HTTP/1.1
D [10/Dec/2009:11:08:40 +0000] cupsdSetBusyState: Active clients
D [10/Dec/2009:11:08:40 +0000] cupsdAuthorize: No authentication data 
provided.
D [10/Dec/2009:11:08:40 +0000] cupsdSetBusyState: Not busy
D [10/Dec/2009:11:08:40 +0000] cupsdReadClient: 12 GET /images/left.gif 
HTTP/1.1
D [10/Dec/2009:11:08:40 +0000] cupsdSetBusyState: Active clients
D [10/Dec/2009:11:08:40 +0000] cupsdAuthorize: No authentication data 
provided.
D [10/Dec/2009:11:08:40 +0000] cupsdAcceptClient: 14 from localhost:631
(IPv4)
D [10/Dec/2009:11:08:40 +0000] cupsdSetBusyState: Not busy
D [10/Dec/2009:11:08:40 +0000] cupsdAcceptClient: 13 from localhost:631
(IPv4)
D [10/Dec/2009:11:08:40 +0000] cupsdReadClient: 14 GET /images/sel.gif 
HTTP/1.1
D [10/Dec/2009:11:08:40 +0000] cupsdSetBusyState: Active clients
D [10/Dec/2009:11:08:40 +0000] cupsdAuthorize: No authentication data 
provided.
D [10/Dec/2009:11:08:40 +0000] cupsdAcceptClient: 16 from localhost:631
(IPv4)
D [10/Dec/2009:11:08:40 +0000] cupsdReadClient: 13 GET /images/cups-icon.png

HTTP/1.1
D [10/Dec/2009:11:08:40 +0000] cupsdAuthorize: No authentication data 
provided.
D [10/Dec/2009:11:08:40 +0000] cupsdAcceptClient: 15 from localhost:631
(IPv4)
D [10/Dec/2009:11:08:40 +0000] cupsdReadClient: 16 GET /images/right.gif 
HTTP/1.1
D [10/Dec/2009:11:08:40 +0000] cupsdAuthorize: No authentication data 
provided.
D [10/Dec/2009:11:08:40 +0000] cupsdReadClient: 15 GET /images/unsel.gif 
HTTP/1.1
D [10/Dec/2009:11:08:40 +0000] cupsdAuthorize: No authentication data 
provided.
D [10/Dec/2009:11:08:40 +0000] cupsdSetBusyState: Not busy
D [10/Dec/2009:11:08:46 +0000] cupsdReadClient: 15 GET /admin HTTP/1.1
D [10/Dec/2009:11:08:46 +0000] cupsdSetBusyState: Active clients
D [10/Dec/2009:11:08:46 +0000] cupsdAuthorize: No authentication data 
provided.
D [10/Dec/2009:11:08:46 +0000] cupsdIsAuthorized: username=""
D [10/Dec/2009:11:08:46 +0000] cupsdSendHeader: 15 WWW-Authenticate: Basic 
realm="CUPS", trc="y"
D [10/Dec/2009:11:08:46 +0000] cupsdCloseClient: 15
D [10/Dec/2009:11:08:46 +0000] cupsdSetBusyState: Not busy
D [10/Dec/2009:11:08:59 +0000] cupsdReadClient: 16 GET /admin HTTP/1.1
D [10/Dec/2009:11:08:59 +0000] cupsdSetBusyState: Active clients
E [10/Dec/2009:11:08:59 +0000] cupsdAuthorize: pam_start() returned 4
(system 
error)!
D [10/Dec/2009:11:08:59 +0000] cupsdIsAuthorized: username=""
D [10/Dec/2009:11:08:59 +0000] cupsdSendHeader: 16 WWW-Authenticate: Basic 
realm="CUPS", trc="y"
D [10/Dec/2009:11:08:59 +0000] cupsdCloseClient: 16
D [10/Dec/2009:11:08:59 +0000] cupsdSetBusyState: Not busy
D [10/Dec/2009:11:13:44 +0000] Closing client 12 after 300 seconds of 
inactivity...
D [10/Dec/2009:11:13:44 +0000] cupsdCloseClient: 12
D [10/Dec/2009:11:13:44 +0000] Closing client 14 after 300 seconds of 
inactivity...
D [10/Dec/2009:11:13:44 +0000] cupsdCloseClient: 14
D [10/Dec/2009:11:13:44 +0000] Closing client 13 after 300 seconds of 
inactivity...
D [10/Dec/2009:11:13:44 +0000] cupsdCloseClient: 13
D [10/Dec/2009:11:13:44 +0000] Report: clients=0
D [10/Dec/2009:11:13:44 +0000] Report: jobs=3
D [10/Dec/2009:11:13:44 +0000] Report: jobs-active=0
D [10/Dec/2009:11:13:44 +0000] Report: printers=1
D [10/Dec/2009:11:13:44 +0000] Report: printers-implicit=0
D [10/Dec/2009:11:13:44 +0000] Report: stringpool-string-count=266
D [10/Dec/2009:11:13:44 +0000] Report: stringpool-alloc-bytes=6352
D [10/Dec/2009:11:13:44 +0000] Report: stringpool-total-bytes=6088
_______________________________________________



------------------------------

Message: 6
Date: Thu, 10 Dec 2009 16:37:14 -0000
From: "Steve Smith" <steve at gdesigns.co.uk>
Subject: Re: [cups.general] cups Digest, Vol 71, Issue 11
To: <cups at easysw.com>
Message-ID: <42E5471322AB443F92242AD6D6132CCC at lon730>
Content-Type: text/plain;	charset="us-ascii"

Hi

I have a CUPS environment with multiple servers.  Can someone tell the
command I can use to get a list of the server names and their queues.  I can
see the different servers in the Web interface but need a list of
servers/queues in a terminal window so the info can be used in another
application we are working on.

Steve Smith

-----Original Message-----
From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of
cups-request at easysw.com
Sent: 09 December 2009 20:00
To: cups at easysw.com
Subject: cups Digest, Vol 71, Issue 11

Send cups mailing list submissions to
	cups at easysw.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.easysw.com/mailman/listinfo/cups
or, via email, send a message with subject or body 'help' to
	cups-request at easysw.com

You can reach the person managing the list at
	cups-owner at easysw.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of cups digest..."


Today's Topics:

   1. Re: landscape printing problem (Christoph Litauer)
   2. How to use http_t data structure. (Mangesh Kute)
   3. Login to cups on localhost:631 password failure (David Southwell)


----------------------------------------------------------------------

Message: 1
Date: Tue, 08 Dec 2009 23:58:15 -0800
From: Christoph Litauer <litauer at uni-koblenz.de>
Subject: Re: [cups.general] landscape printing problem
To: cups at easysw.com
Message-ID: <36404-cups.general at news.easysw.com>
Content-Type: text/plain; charset=ISO-8859-15

Helge Blischke schrieb:
> Christoph Litauer wrote:
> 
>> Environment:
>> Server: cups-1.1.23
>> Client: MacOS 10.6.2
>>
>> Hi,
>>
>> I try to print firefox pages landscape. I configured landscape printing
>> in page setup. The spooled output looks like
>> http://userpages.uni-koblenz.de/~litauer/cups/test.pdf
>>
>> The printing environment contains '-o orientation-requested=4', filters
>> are I [08/Dec/2009:14:01:23 +0100] Started filter
>> /usr/lib/cups/filter/pdftops-1.20 (PID 30411) for job 1.
>> I [08/Dec/2009:14:01:23 +0100] Started filter
>> /usr/lib/cups/filter/pstops.alt (PID 30412) for job 1.
>>
>> The result is like: http://userpages.uni-koblenz.de/~litauer/cups/test.ps
>>
>> Any ideas?
> 
> As the PDF page in the PDF file is already defined as a landscape page
> ("... /MediaBox [0 0 842 595] ...") your setup forces an additional
rotation 
> of the coordinate system by 90 degrees. If you do not request landscape 
> printing, the output will be ok.

Helge,

I didn't request anything explicitly while printing. I want to do a
simple thing: Print a firefox page in landscape format. So I made a
landscape page setup in firefox. I did not change anything in the
printing dialog, but the preview already shows a landscape page. I
cannot find any possibility to change the printing format to portrait.
The "orientation-requested"-option seems to be sent by the printing dialog.
Doing the same thing with linux works as expected.

-- 
Kind regards
Christoph
________________________________________________________________________
Christoph Litauer                  litauer at uni-koblenz.de
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2


------------------------------

Message: 2
Date: Wed, 9 Dec 2009 17:04:56 +0530
From: Mangesh Kute <kutemangesh at gmail.com>
Subject: [cups.general] How to use http_t data structure.
To: cups-dev at easysw.com, cups at easysw.com
Message-ID:
	<f1629dc30912090334p226d5b93nf7d4386403a41f62 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

http_t data structure is now private.

1. How can one create object of this structure ?
2. In CUPS api, very few functions are there to set/get member fo this
structure. What is the right way to access member of this structure ?

Regards,
Mangesh



------------------------------

Message: 3
Date: Wed, 9 Dec 2009 15:44:24 +0000
From: David Southwell <david at vizion2000.net>
Subject: [cups.general] Login to cups on localhost:631 password
	failure
To: cups at easysw.com
Message-ID: <200912091544.24296.david at vizion2000.net>
Content-Type: text/plain;  charset="us-ascii"

Hi
After installing cups I get a password authentication failure trying to log 
into to http://localhost:631 on freebsd 7.2 p3 amd 64.

trying to log on as 'root' with correct root password.

I am trying to set up cups to print from
an hp laserjet 2200dn equipped with a built in 10/100 jetdirect 610N. The 
printer is also used by a number of MS$ systems on the same subnet as the 
server so I know the printer is working and configured to print both text
and 
graphics and to use the double sided facility. I need to use similar 
facilities from the server.

On the windows XP systems the printer is identified by a port entry in the 
form "[my_device].[my_domain].[my_tld]:HP LaserJet 2200" in the printer 
properties. The HP JetDirect Configuration report includes the following
info:
_______________________________
Model Number: J4169A
Firmware Version: L.20.24

Under TCP/IP we have:
Hostname: [mydevice]
Domain Name: [my_domain].[my_tld]
# The following all show correct entries:
Ip Address:
Subnet Mask:
Default Gateway:
DNS Server:
__________________________________
End of jetDirect config info:
____________________________________

Despite reading the documentation I seem to be having difficulty setting up 
the printer running with cups although it works fine on the network from the

MS$ machines. So far I have not been able to get the beast to 
print.
____________________________________________
Cups is running:

dns1# ps -aux |grep cupsd
root       40253  0.0  0.1 27956  5332  ??  Is    1:01PM   0:00.02 
/usr/local/sbin/cupsd -C /usr/local/etc/cups/cupsd.conf

dns1# cat /usr/local/etc/cups/cupsd.conf

#

# "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $"

#

# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf"
for 
a                                                
# complete description of this file.

#


# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...                                         
LogLevel warn                                                    

# Administrator user group...
SystemGroup wheel            


# Only listen for connections from the local machine.
Listen localhost:631                                 
Listen /var/run/cups.sock                            

# Show shared printers on the local network.
Browsing On                                 
BrowseOrder allow,deny                      
BrowseAllow all                             
BrowseLocalProtocols CUPS                   

# Default authentication type, when authentication is required...
DefaultAuthType Basic                                            

# Restrict access to the server...
<Location />                      

Order Deny, Allow
Deny from All    
Allow from 127.0.0.1
Allow from  62.49.197.50
</Location>             

# Restrict access to the admin pages...
<Location /admin>                      
AuthType Default                       
Require user @SYSTEM                   
  Order Deny, Allow                    
Deny from All                          
Allow from 127.0.0.1                   
Allow from  62.49.197.50               
</Location>                            

# Restrict access to configuration files...
<Location /admin/conf>                     
  AuthType Default                         
  Require user @SYSTEM                     
Order Deny, Allow                          
Deny from All                              
Allow from 127.0.0.1                       
Allow from  62.49.197.50                   
  Order allow,deny                         
</Location>                                

# Set the default printer/job policies...
<Policy default>                         
  # Job-related operations must be done by the owner or an administrator...
  <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 CUPS-Get-Document>      
    Require user @OWNER @SYSTEM

    Order deny,allow

  </Limit>


  # All administration operations require an administrator to
authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class 
CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default

    Require user @SYSTEM

    Order deny,allow

  </Limit>


  # All printer operations require a printer operator to authenticate...
  <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>


  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>                                
    Require user @OWNER @SYSTEM                                           
    Order deny,allow                                                      
  </Limit>                                                                

  <Limit All>
    Order deny,allow
  </Limit>          
</Policy>           

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI>
    AuthType Default
    Order deny,allow
  </Limit>

  <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 CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to
authenticate...
  <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>

  # All printer operations require a printer operator to authenticate...
  <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>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $".
#
dns1#





------------------------------

_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups


End of cups Digest, Vol 71, Issue 11
************************************




------------------------------

_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups


End of cups Digest, Vol 71, Issue 12
************************************






More information about the cups mailing list