Delaying print jobs.

Adam Penny adam_penny at hotmail.com
Thu Feb 7 16:19:02 PST 2008


> Adam Penny wrote:
> >> Adam Penny wrote:
> >>> ...
> >>> -Which of these processes occur on the client and which on the server.
> >> The client's scheduler will send the job to the server using the
> >> IPP backend, so that's where you would need to add the WOL stuff.
> >>
> >> That said, the tricky part is knowing the Ethernet MAC address, which
> >> is why the current code does not support it... :(
> >>
> >> You can certainly come up with a wrapper program that sends the WOL
> >> packet to your server's MAC address, waits (sleeps) for a few seconds
> >> for the server to wake up, and then execs the original IPP backend.
> >>
> >> --
> >> ______________________________________________________________________
> >> Michael R Sweet                        Senior Printing System Engineer
> >>
> > Hi Michael,
> >
> > Thanks for the reply. Interested to know that you'd already thought of the idea! :-) I'd been worrying about the MAC addresses as well, and I'd kind of thought it would be okay if the user manually entered the MAC addresses and bound the IPs to the MAC addresses (although I do have vague machinations with regard to arp.)
> >
> > Sorry, I appreciate I'm probably entering into the territory of stupid questions, but could you point me in the right direction as to finding out how to write an IPP wrapper? Regrettably, I'm trying to gain experience from the problem rather than having the experience in hand to confront the problem. :-(
>
> You just need to rename the existing IPP backend and provide a new
> one that sends the packet and then exec's the old backend.  The wrapper
> can even be a script...
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com

Thanks Michael, I reckon that gives me enough food for though to go on with. I was very impressed when I clicked that it was the systems inventor advising me!

Just found your wiki on the subject so I'll have a serious read before pestering you further. :-D





More information about the cups mailing list