[cups.general] cups Digest, Vol 71, Issue 11
Steve Smith
steve at gdesigns.co.uk
Thu Dec 10 08:37:18 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: 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
************************************
More information about the cups
mailing list