Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Job complete notification on CUPS+SAMBA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Doudou
Apprentice
Apprentice


Joined: 10 Jan 2003
Posts: 286
Location: Paris, France

PostPosted: Wed Jul 18, 2007 2:29 pm    Post subject: Job complete notification on CUPS+SAMBA Reply with quote

Hi,

I've got a printer server with 3 printers that wort like a charm. Nevertheless, I would like to be notified when the job is printed because printers are on another room.

For the moment, there is only windows client so I thank about linpopup ("smbclient -M MYCOMPUTER" works fine) but I don't know how tell to cups to send a message.

Can you help me?

Thanks in advance, cheers, Doudou.
Back to top
View user's profile Send private message
Rekuc
n00b
n00b


Joined: 14 Sep 2006
Posts: 5

PostPosted: Thu Jul 19, 2007 3:05 pm    Post subject: Reply with quote

# man subscriptions.conf
Back to top
View user's profile Send private message
Doudou
Apprentice
Apprentice


Joined: 10 Jan 2003
Posts: 286
Location: Paris, France

PostPosted: Thu Jul 19, 2007 4:29 pm    Post subject: Reply with quote

I didn't find who to create this file because it is not recommended to edit it with text editor... Can you help me for that?

I think the file should contain :

<Subscription 000>
Events job-completed
PrinterName MyPrinter
Recipient ???:MyComputeur
</Subscription>

Am I right?

Thanks in advance, Doudou.
Back to top
View user's profile Send private message
Rekuc
n00b
n00b


Joined: 14 Sep 2006
Posts: 5

PostPosted: Fri Jul 20, 2007 1:42 pm    Post subject: Reply with quote

examples:
http://materiales.fis.puc.cl/cgi-bin/dwww/usr/share/doc/cupsys/online-docs/help/ref-subscriptions-conf.html

You could download pkipplib from http://www.pykota.com/software/
included command line tools named "pksubscribe" - can create or delete IPP subscriptions
Back to top
View user's profile Send private message
Doudou
Apprentice
Apprentice


Joined: 10 Jan 2003
Posts: 286
Location: Paris, France

PostPosted: Fri Jul 20, 2007 4:21 pm    Post subject: Reply with quote

Rekuc wrote:
examples:
http://materiales.fis.puc.cl/cgi-bin/dwww/usr/share/doc/cupsys/online-docs/help/ref-subscriptions-conf.html

That the same file than http://www.cups.org/documentation.php/ref-subscriptions-conf.html
Rekuc wrote:

You could download pkipplib from http://www.pykota.com/software/
included command line tools named "pksubscribe" - can create or delete IPP subscriptions

I will have a look to that but anyway, there is no smbclient notification include with cups (only mail) so I have to do it before (I didn't find any on the web...strange).

Edouard.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum