[cups.general] cups Digest, Vol 67, Issue 27

Steve Smith steve at gdesigns.co.uk
Fri Aug 28 05:33:20 PDT 2009


Message: 2
Date: Thu, 27 Aug 2009 03:25:51 -0700
From: Alessio Tomelleri <alessio.tomelleri at gmail.com>
Subject: [cups.general] a question about cups and windows
To: cups at easysw.com
Message-ID: <35768-cups.general at news.easysw.com>


For first, in advance, I'm really newbye about cups !

Now the question...   I've setup <in some way...> a cups server on my
Opensuse 11.0, and I really appreciate how from ubuntu client simply editing
client.conf u can share in so easy style the printers of my cups server...

Unluckly, as many others, I live in a "mix" enviroment... so I would like
know if is there some straight way <something like as above> to share to
windows workstation the printers of my server cups, without installing
everytime the windows driver for every printer... ?!?

So I really appreciate any advice you can give me..

thx in advance
Alessio

I've found the best way is to install Print Services for Unix on a Windows
server, create a printer using LPD to the CUPS queue and then share this
printer to the Windows network.

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: 27 August 2009 19:20
To: cups at easysw.com
Subject: cups Digest, Vol 67, Issue 27

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. dscInfo (David C. Moody)
   2. a question about cups and windows (Alessio Tomelleri)
   3. Re: a question about cups and windows (Helge Blischke)
   4. Re: a question about cups and windows (Alessio Tomelleri)
   5. Re: a question about cups and windows (Helge Blischke)
   6. Failover without load balancing (Andrew Miskell)
   7. Re: Failover without load balancing (Michael Sweet)
   8. Re: CUPS looking for "hpcups" in wrong directory
      (Timothy Cartwright)
   9. Re: CUPS looking for "hpcups" in wrong directory (Michael Sweet)
  10. Re: Failover without load balancing (Andrew Miskell)
  11. Re: CUPS looking for "hpcups" in wrong directory
      (Timothy Cartwright)


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

Message: 1
Date: Wed, 26 Aug 2009 12:11:08 -0700
From: David C. Moody <davidm at trustholiday.com>
Subject: [cups.general] dscInfo
To: cups at easysw.com
Message-ID: <35767-cups.general at news.easysw.com>

Several of my CUPS PPDs for different printers say this...

*%===== Print Mode ====================================
*% If the dscInfo dictionary is not set using the printer driver, the
*% userlogin and job name are set to "CUPS User" and "CUPS Application"
*% respectively. If the dscinfo dictionary is set, document name and
*% user name are set as per the CUPS login name and Document name.
*% The default print mode is Normal.
*% The OrderDependency was 47 but this did not work.

Can someone help me with how to set the dscInfo dictionary?

I can edit all the files directly, most are PostScript. So if it's talking
about Postscript commands I can do that I just need to know what I should be
doing.

I've googled, but not been able to figure out what it wants me to do? Any
help would be greatly appreciated.

Thanks for the help!


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

Message: 2
Date: Thu, 27 Aug 2009 03:25:51 -0700
From: Alessio Tomelleri <alessio.tomelleri at gmail.com>
Subject: [cups.general] a question about cups and windows
To: cups at easysw.com
Message-ID: <35768-cups.general at news.easysw.com>


For first, in advance, I'm really newbye about cups !

Now the question...   I've setup <in some way...> a cups server on my
Opensuse 11.0, and I really appreciate how from ubuntu client simply editing
client.conf u can share in so easy style the printers of my cups server...

Unluckly, as many others, I live in a "mix" enviroment... so I would like
know if is there some straight way <something like as above> to share to
windows workstation the printers of my server cups, without installing
everytime the windows driver for every printer... ?!?

So I really appreciate any advice you can give me..

thx in advance
Alessio


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

Message: 3
Date: Thu, 27 Aug 2009 03:31:42 -0700
From: Helge Blischke <h.blischke at acm.org>
Subject: Re: [cups.general] a question about cups and windows
To: cups at easysw.com
Message-ID: <35769-cups.general at news.easysw.com>
Content-Type: text/plain; charset="us-ascii"

Alessio Tomelleri wrote:

> 
> For first, in advance, I'm really newbye about cups !
> 
> Now the question...   I've setup <in some way...> a cups server on my
> Opensuse 11.0, and I really appreciate how from ubuntu client simply
> editing client.conf u can share in so easy style the printers of my cups
> server...
> 
> Unluckly, as many others, I live in a "mix" enviroment... so I would like
> know if is there some straight way <something like as above> to share to
> windows workstation the printers of my server cups, without installing
> everytime the windows driver for every printer... ?!?
> 
> So I really appreciate any advice you can give me..
> 
> thx in advance
> Alessio

The normal way is to use SAMBA on your Linux box(es) as sort of gateway 
application. Then use the cupsaddsmb utility to publisch your printers to
the Windows environment; then you simply import the printers using the
Windows APW (Add Printer Wizard).

See hppt:openprinting.org for a detailed howto.

Helge



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

Message: 4
Date: Thu, 27 Aug 2009 05:53:31 -0700
From: Alessio Tomelleri <alessio.tomelleri at gmail.com>
Subject: Re: [cups.general] a question about cups and windows
To: cups at easysw.com
Message-ID: <35770-cups.general at news.easysw.com>

> Alessio Tomelleri wrote:
>
> >
> > For first, in advance, I'm really newbye about cups !
> >
> > Now the question...   I've setup <in some way...> a cups server on my
> > Opensuse 11.0, and I really appreciate how from ubuntu client simply
> > editing client.conf u can share in so easy style the printers of my cups
> > server...
> >
> > Unluckly, as many others, I live in a "mix" enviroment... so I would
like
> > know if is there some straight way <something like as above> to share to
> > windows workstation the printers of my server cups, without installing
> > everytime the windows driver for every printer... ?!?
> >
> > So I really appreciate any advice you can give me..
> >
> > thx in advance
> > Alessio
>
> The normal way is to use SAMBA on your Linux box(es) as sort of gateway
> application. Then use the cupsaddsmb utility to publisch your printers to
> the Windows environment; then you simply import the printers using the
> Windows APW (Add Printer Wizard).
>
> See hppt:openprinting.org for a detailed howto.
>
> Helge
>


Thx Helge for your quick answer, I'm just looking your links...

Let me know another little detail please..., in this way <samba>, do I get
<something like> my windows ws with the printer just "imported / online" or
I must install one at once ?!
What I would like obtain is something like my ubuntu ws, where I simply
configure ServerName in client.conf and I got my server's printer on line...
is possible do it also in windows, without install everytime the drivers for
every Ws, but simply config "some file" and get my cups printers in the
printer menu of windows control panel ?!? :-)

thx




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

Message: 5
Date: Thu, 27 Aug 2009 06:40:57 -0700
From: Helge Blischke <h.blischke at acm.org>
Subject: Re: [cups.general] a question about cups and windows
To: cups at easysw.com
Message-ID: <35771-cups.general at news.easysw.com>
Content-Type: text/plain; charset="us-ascii"

Alessio Tomelleri wrote:

>> Alessio Tomelleri wrote:
>>
>> >
>> > For first, in advance, I'm really newbye about cups !
>> >
>> > Now the question...   I've setup <in some way...> a cups server on my
>> > Opensuse 11.0, and I really appreciate how from ubuntu client simply
>> > editing client.conf u can share in so easy style the printers of my
>> > cups server...
>> >
>> > Unluckly, as many others, I live in a "mix" enviroment... so I would
>> > like know if is there some straight way <something like as above> to
>> > share to windows workstation the printers of my server cups, without
>> > installing everytime the windows driver for every printer... ?!?
>> >
>> > So I really appreciate any advice you can give me..
>> >
>> > thx in advance
>> > Alessio
>>
>> The normal way is to use SAMBA on your Linux box(es) as sort of gateway
>> application. Then use the cupsaddsmb utility to publisch your printers to
>> the Windows environment; then you simply import the printers using the
>> Windows APW (Add Printer Wizard).
>>
>> See hppt:openprinting.org for a detailed howto.
>>
>> Helge
>>
> 
> 
> Thx Helge for your quick answer, I'm just looking your links...
> 
> Let me know another little detail please..., in this way <samba>, do I get
> <something like> my windows ws with the printer just "imported / online"
> or I must install one at once ?! What I would like obtain is something
> like my ubuntu ws, where I simply configure ServerName in client.conf and
> I got my server's printer on line... is possible do it also in windows,
> without install everytime the drivers for every Ws, but simply config
> "some file" and get my cups printers in the printer menu of windows
> control panel ?!? :-)
> 
> thx

As far as I know, you need to install every printer "by hand", but I'm not a

real Windows expert.

Helge



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

Message: 6
Date: Thu, 27 Aug 2009 08:49:06 -0700
From: Andrew Miskell <andrew.miskell at cummins.com>
Subject: [cups.general] Failover without load balancing
To: cups at easysw.com
Message-ID: <35772-cups.general at news.easysw.com>

Is it possible to have the failover capability without load balancing? Like
an active/passive setup?

We have a fairly large installation of clients that we want to centrally
manage their printing. We would be looking to put in a CUPS server in each
of our major datacenters (2 in the US, one in Europe and another in Asia),
but we only want the clients in each datacenter to print to their local CUPS
servers unless that server where to fail, then print to one of the other
CUPS servers until the local server is active again.

Load balancing would be great for CUPS servers in the same building, but we
would prefer not to be sending print jobs all over the world if there's a
perfectly working CUPS server in the same room.


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

Message: 7
Date: Thu, 27 Aug 2009 09:34:38 -0700
From: Michael Sweet <msweet at apple.com>
Subject: Re: [cups.general] Failover without load balancing
To: "Mirror of cups.general Newsgroup" <cups at easysw.com>
Message-ID: <88110B07-79AD-4449-BE74-CB146B3A95CF at apple.com>
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes

This is an oft-requested feature, but is currently not supported.

On Aug 27, 2009, at 8:49 AM, Andrew Miskell wrote:

> Is it possible to have the failover capability without load  
> balancing? Like an active/passive setup?
>
> We have a fairly large installation of clients that we want to  
> centrally manage their printing. We would be looking to put in a  
> CUPS server in each of our major datacenters (2 in the US, one in  
> Europe and another in Asia), but we only want the clients in each  
> datacenter to print to their local CUPS servers unless that server  
> where to fail, then print to one of the other CUPS servers until the  
> local server is active again.
>
> Load balancing would be great for CUPS servers in the same building,  
> but we would prefer not to be sending print jobs all over the world  
> if there's a perfectly working CUPS server in the same room.
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

___________________________________________________
Michael Sweet, Senior Printing System Engineer





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

Message: 8
Date: Thu, 27 Aug 2009 10:50:09 -0700
From: Timothy Cartwright <timothy.cartwright at gmail.com>
Subject: Re: [cups.general] CUPS looking for "hpcups" in wrong
	directory
To: cups at easysw.com
Message-ID: <35774-cups.general at news.easysw.com>
Content-Type: text/plain; charset=ISO-8859-1

Those two files were in "/usr/lib/cups/filter". But why are they there
instead of "/usr/lib64/cups/filter"? It is a 64 bit machine. Or does it
matter?

Anyway, so i went ahead and created links to hpcups and hpcupsfax in
"/usr/lib/cups/filter" and restarted cups. The filter problem goes away,
but I still can't print. Here's the output from the error_log file when
I try to print a testpage"

D [26/Aug/2009:20:39:22 -0700] Get-Printer-Attributes
ipp://localhost:631/printers/PSC_2200
D [26/Aug/2009:20:39:22 -0700] Returning IPP successful-ok for
Get-Printer-Attributes (ipp://localhost:631/printers/PSC_2200) from
localhost
D [26/Aug/2009:20:39:22 -0700] cupsdSetBusyState: Not busy
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 21 POST
/printers/PSC_2200 HTTP/1.1
D [26/Aug/2009:20:39:22 -0700] cupsdSetBusyState: Active clients
D [26/Aug/2009:20:39:22 -0700] cupsdAuthorize: No authentication data
provided.
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 21 1.1 Create-Job 1
D [26/Aug/2009:20:39:22 -0700] Create-Job
ipp://localhost:631/printers/PSC_2200
D [26/Aug/2009:20:39:22 -0700] cupsdMarkDirty(----J-)
D [26/Aug/2009:20:39:22 -0700] cupsdSetBusyState: Active clients and
dirty files
D [26/Aug/2009:20:39:22 -0700] add_job: requesting-user-name="timothy"
I [26/Aug/2009:20:39:22 -0700] [Job 328] Adding start banner page "none".
D [26/Aug/2009:20:39:22 -0700] Discarding unused job-created event...
I [26/Aug/2009:20:39:22 -0700] [Job 328] Queued on "PSC_2200" by "timothy".
D [26/Aug/2009:20:39:22 -0700] Returning IPP successful-ok for
Create-Job (ipp://localhost:631/printers/PSC_2200) from localhost
D [26/Aug/2009:20:39:22 -0700] cupsdSetBusyState: Dirty files
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 21 POST
/printers/PSC_2200 HTTP/1.1
D [26/Aug/2009:20:39:22 -0700] cupsdSetBusyState: Active clients and
dirty files
D [26/Aug/2009:20:39:22 -0700] cupsdAuthorize: No authentication data
provided.
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 21 1.1 Send-Document 1
D [26/Aug/2009:20:39:22 -0700] Send-Document
ipp://localhost:631/printers/PSC_2200
D [26/Aug/2009:20:39:22 -0700] cupsdIsAuthorized:
requesting-user-name="timothy"
D [26/Aug/2009:20:39:22 -0700] [Job 328] Auto-typing file...
D [26/Aug/2009:20:39:22 -0700] [Job 328] Request file type is
application/postscript.
D [26/Aug/2009:20:39:22 -0700] Send-Document
client-error-document-format-not-supported: Unsupported format
'application/postscript'!
E [26/Aug/2009:20:39:22 -0700] Returning IPP
client-error-document-format-not-supported for Send-Document
(ipp://localhost:631/printers/PSC_2200) from localhost
D [26/Aug/2009:20:39:22 -0700] cupsdSetBusyState: Dirty files
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 21 POST /jobs/ HTTP/1.1
D [26/Aug/2009:20:39:22 -0700] cupsdSetBusyState: Active clients and
dirty files
D [26/Aug/2009:20:39:22 -0700] cupsdAuthorize: No authentication data
provided.
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 21 1.1 Cancel-Job 1
D [26/Aug/2009:20:39:22 -0700] Cancel-Job
ipp://localhost:631/printers/PSC_2200
D [26/Aug/2009:20:39:22 -0700] cupsdIsAuthorized:
requesting-user-name="timothy"
D [26/Aug/2009:20:39:22 -0700] Discarding unused job-completed event...
I [26/Aug/2009:20:39:22 -0700] [Job 328] Job canceled by "timothy"
D [26/Aug/2009:20:39:22 -0700] cupsdMarkDirty(----J-)
I [26/Aug/2009:20:39:22 -0700] [Job 328] Canceled by "timothy".
D [26/Aug/2009:20:39:22 -0700] Returning IPP successful-ok for
Cancel-Job (ipp://localhost:631/printers/PSC_2200) from localhost
D [26/Aug/2009:20:39:22 -0700] cupsdSetBusyState: Dirty files
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 21 WAITING Closing on EOF
D [26/Aug/2009:20:39:22 -0700] cupsdCloseClient: 21
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 14 WAITING Closing on EOF
D [26/Aug/2009:20:39:22 -0700] cupsdCloseClient: 14
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 15 WAITING Closing on EOF
D [26/Aug/2009:20:39:22 -0700] cupsdCloseClient: 15
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 16 WAITING Closing on EOF
D [26/Aug/2009:20:39:22 -0700] cupsdCloseClient: 16
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 17 WAITING Closing on EOF
D [26/Aug/2009:20:39:22 -0700] cupsdCloseClient: 17
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 18 WAITING Closing on EOF
D [26/Aug/2009:20:39:22 -0700] cupsdCloseClient: 18
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 19 WAITING Closing on EOF
D [26/Aug/2009:20:39:22 -0700] cupsdCloseClient: 19
D [26/Aug/2009:20:39:22 -0700] cupsdReadClient: 20 WAITING Closing on EOF
D [26/Aug/2009:20:39:22 -0700] cupsdCloseClient: 20
D [26/Aug/2009:20:39:23 -0700] [Job 328] Unloading...
D [26/Aug/2009:20:39:47 -0700] cupsdReadClient: 11 WAITING Closing on EOF
D [26/Aug/2009:20:39:47 -0700] cupsdCloseClient: 11
D [26/Aug/2009:20:39:47 -0700] cupsdReadClient: 13 WAITING Closing on EOF
D [26/Aug/2009:20:39:47 -0700] cupsdCloseClient: 13
D [26/Aug/2009:20:39:47 -0700] cupsdReadClient: 12 WAITING Closing on EOF
D [26/Aug/2009:20:39:47 -0700] cupsdCloseClient: 12
I [26/Aug/2009:20:39:53 -0700] Saving job cache file
"/etc/cups/yes/job.cache"...


On 08/26/2009 10:55 AM, Michael Sweet was rumored to have said:
> You should find things like pstops and texttops in the directory CUPS  
> is looking at.
> 
> (note that, depending on your Linux distro, you'll find 64-bit stuff  
> in /usr/lib or /usr/lib64 and 32-bit stuff in /usr/lib32 or /usr/lib...)


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

Message: 9
Date: Thu, 27 Aug 2009 11:04:01 -0700
From: Michael Sweet <msweet at apple.com>
Subject: Re: [cups.general] CUPS looking for "hpcups" in wrong
	directory
To: "Mirror of cups.general Newsgroup" <cups at easysw.com>
Message-ID: <F69D0708-7160-4145-AED6-2AD1FF4DC5CA at apple.com>
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes

On Aug 27, 2009, at 10:50 AM, Timothy Cartwright wrote:
> Those two files were in "/usr/lib/cups/filter". But why are they there
> instead of "/usr/lib64/cups/filter"? It is a 64 bit machine. Or does  
> it
> matter?

Like I said, some Linux distributions put 64-bit stuff in /usr/lib  
(Debian-based ones primarily) while others put it in /usr/lib64 (Red  
Hat, SuSE, etc.)

> Anyway, so i went ahead and created links to hpcups and hpcupsfax in
> "/usr/lib/cups/filter" and restarted cups. The filter problem goes  
> away,
> but I still can't print. Here's the output from the error_log file  
> when
> I try to print a testpage"

Do you have Ghostscript installed? There should be a pstoraster filter  
in /usr/lib/cups/filter...

___________________________________________________
Michael Sweet, Senior Printing System Engineer





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

Message: 10
Date: Thu, 27 Aug 2009 11:16:56 -0700
From: Andrew Miskell <andrew.miskell at cummins.com>
Subject: Re: [cups.general] Failover without load balancing
To: cups at easysw.com
Message-ID: <35776-cups.general at news.easysw.com>

Are there any plans to add such a feature into a future release of CUPS?

> This is an oft-requested feature, but is currently not supported.
>
> On Aug 27, 2009, at 8:49 AM, Andrew Miskell wrote:
>
> > Is it possible to have the failover capability without load
> > balancing? Like an active/passive setup?
> >
> > We have a fairly large installation of clients that we want to
> > centrally manage their printing. We would be looking to put in a
> > CUPS server in each of our major datacenters (2 in the US, one in
> > Europe and another in Asia), but we only want the clients in each
> > datacenter to print to their local CUPS servers unless that server
> > where to fail, then print to one of the other CUPS servers until the
> > local server is active again.
> >
> > Load balancing would be great for CUPS servers in the same building,
> > but we would prefer not to be sending print jobs all over the world
> > if there's a perfectly working CUPS server in the same room.
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
>
> ___________________________________________________
> Michael Sweet, Senior Printing System Engineer
>
>
>



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

Message: 11
Date: Thu, 27 Aug 2009 11:17:58 -0700
From: Timothy Cartwright <timothy.cartwright at gmail.com>
Subject: Re: [cups.general] CUPS looking for "hpcups" in wrong
	directory
To: cups at easysw.com
Message-ID: <35777-cups.general at news.easysw.com>
Content-Type: text/plain; charset=ISO-8859-1

Yes, it's installed. FYI, I first thought this was a HPLIP issue so
posted over there. They've also confirmed this problem. Here's a snippet
from the post:

--- snip ---
I have been revisiting your issue as mentioned above and I believe I
have narrowed it down to one variable, CUPS. You are apparently running
version 1.4rc1 and this, from what I can tell, is what has caused the
problem. I have had no problems with printing on my SuSE 10.3 system,
even after wiping the system and reinstalling, as long as I follow the
above instructions (posted by me) and use the provided version of cups
(1.2.12). However, when I updated CUPS to 1.4rc1 all printing stopped.
Unfortunately this issue is outside of my realm but I did spend a little
time, for curiosity's sake, to troubleshoot it. I learned that even
after rolling back to 1.3.9 and/or 1.2.12 I was still getting the
"Restart Cups" message and was unable to correct this problem.

As I mentioned, I will be unable to assist you with this problem but
hopefully it allows you to narrow the focus. Let me know if there is
anything else you come across that directs the issue back to HPLIP.
--- snip ---

The "Restart Cups" message he's referring to comes from HPLIP after
trying to print the testpage. So there is an issue with the new CUPS
version on opensuse 10.3

On 08/27/2009 11:03 AM, Michael Sweet was rumored to have said:
>> Anyway, so i went ahead and created links to hpcups and hpcupsfax in
>> "/usr/lib/cups/filter" and restarted cups. The filter problem goes  
>> away,
>> but I still can't print. Here's the output from the error_log file  
>> when
>> I try to print a testpage"
> 
> Do you have Ghostscript installed? There should be a pstoraster filter  
> in /usr/lib/cups/filter...
> 
> ___________________________________________________
> Michael Sweet, Senior Printing System Engineer
> 
> 
> 


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

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


End of cups Digest, Vol 67, Issue 27
************************************






More information about the cups mailing list