How to display a Manual Duplex Instruction Dialog in CUPS driver

Michael Sweet mike at easysw.com
Thu Jul 3 12:51:26 PDT 2008


keens312 wrote:
> Hello,
> 
> I am developing a CUPS driver on Mac OSX (rastertomyhplpj).
> 
> There is no hardware button on my printer.
> 
> So for manual duplex, a dialog with a button should show up when first half job are printed.
> 
> The dialog will show the instructions to users about how to rotate the papers.
> 
> When user put the paper back, and press the button on the dialog, the second half job will be printed.
> 
> My question is how can I archive this on Mac OSX Leopard?

You'll need to write a launch agent that runs in the user session,
and then communicate with that agent from your driver.

That said, this will not work for shared printers or when the user
has logged out.  It also means that every user needs to install
some part of your driver to get the dialog to come up.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list