FYI, POM chucks up a script error if there are no printers installed when it
initialises. For safety I use:

if baPrinterInfo( "list" ).count() then
    -- initialise POM
else
    --no printer
end if

Chris.

> I make only one exception: POM, which takes some time to initialize
> (I think the time is needed to query for printer settings and such,
> when it initializes). therefore I create an instance of POM only once
> and keep it for further use.
> --

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to