Re: How to generate printer list for selection

From: Jonathan Sell <jsell_at_bio.ri.ccf.org>
Date: 1997/04/10
Message-ID: <5ij27d$pd7_at_slider.bme.ri.ccf.org>#1/1


Reports 2.5 (with ToolKit 2.3) shells out whatever command you put in TK2_PRINT_STATUS whenever the user does something which implies a printer selection, e.g. Choose Printer, Print, etc. Normally this would be an lpstat command to make sure the user chooses a valid printer, but it can be anythng you want, e.g. your own printer choosing script, etc. It must return a 0 return code or Forms assumes the user picked a bad printer. When it actuially goes to print something, it shells out the contents of TK2_PRINT -- again you can put anything in there you like as well.

  JCS

-- 

 ___   ___
|   | |   |    
|__#####__|    Jonathan C. Sell                      jsell_at_bio.ri.ccf.org
Received on Thu Apr 10 1997 - 00:00:00 CEST

Original text of this message