[BangPypers] BangPypers Digest, Vol 33, Issue 21

Gaurav Kalra gvkalra at gmail.com
Mon May 17 21:12:01 CEST 2010


Thanks Senthil,
I'll work upon that

If am not wrong, are you the same SK as on gre-success ?? ...... Small
World! :-)

On 05/16/2010, bangpypers-request at python.org
<bangpypers-request at python.org> wrote:
> Send BangPypers mailing list submissions to
> 	bangpypers at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.python.org/mailman/listinfo/bangpypers
> or, via email, send a message with subject or body 'help' to
> 	bangpypers-request at python.org
>
> You can reach the person managing the list at
> 	bangpypers-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of BangPypers digest..."
>
>
> Today's Topics:
>
>    1. Re: python - print spooling monitoring (Senthil Kumaran)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 15 May 2010 20:44:13 +0530
> From: Senthil Kumaran <orsenthil at gmail.com>
> To: Bangalore Python Users Group - India <bangpypers at python.org>
> Subject: Re: [BangPypers] python - print spooling monitoring
> Message-ID: <20100515151413.GA4010 at remy>
> Content-Type: text/plain; charset=us-ascii
>
> On Sat, May 15, 2010 at 01:08:17PM +0530, Gaurav Kalra wrote:
>> Hi. I need some help for the following scenario.
>> A process that keeps on monitoring the print spooler ..... when u try to
>> spool something, it asks for ur details like name, number etc., save them
>> along with the number of pages u printed and prints only when u provide
>> the
>> same .... (nice stuff for public pc's where u need to make an entry into
>> the
>> register after printing) ...... how wud i make this abstract view tangible
>> ?? .... plz show a road to start on ...
>
> You might want to split your requirement into more tangible and
> defined items for your programing solution.
>
> - If you need a monitoring service. First try write a small monitoring
>   service. Active state cookbook has some recipes.
> - If you need to wrap a system executable using Python. Write a python
>   function which wraps that system executable. E.g. is if you want to
>   wrap 'ls and its options' you write a function like
>   def listdir(dir, *options) and then inside the function construct
>   the ls command and pass it subprocess module. This is just a crude
>   definition. YMMV.
> - Try to combine these two steps and see if that is your desired
>   result. If not, rinse and repeat.
>
> HTH,
>
> --
> Senthil
>
>   Thank God I'm an atheist.
>
>
> ------------------------------
>
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
>
> End of BangPypers Digest, Vol 33, Issue 21
> ******************************************
>


-- 
--
With Thanks
Gaurav Kalra
gvkalra at googlemail.com


More information about the BangPypers mailing list