----- Original Message ----- From: "Barry Brevik" <[EMAIL PROTECTED]>
To: "U2-users (E-mail)" <[email protected]>
Sent: Wednesday, October 05, 2005 4:57 PM
Subject: [U2] [wIntegrate][UV] Changing emulation parameters via script?


We are running wIntegrate 5.1.1 as a front end to Universe 9.6.1.3 running
on W2K.

There are many parameters that can be influenced by client side scripting,
but I find myself wanting to change a parameter that is established in all
of my user's .WIT file that is loaded at startup. I believe the file used
for this is specified in the dialog selected by SETUP | TERMINAL.

The specific thing I want to change is the line:

 TerminalCommand = "\018", "Capture On LocalPrint, 'Printer',,,CAP_DIRECT"

This makes it so that when the host sends a CHAR(18), it routes all
following output to the user's local printer.

For reasons a bit too lengthy to get into, our vendor's application which I
can not get inside of, asks the user for a print destination before
printing. One user option causes a CHAR(18) to be sent.

Several hours of experimentation on my part seem to indicate that it is not
possible to intercept the CHAR(18). Neither can I (apparently) influence
this parameter with client side scripting. If I issue a script command like

 terminalcommand = "\018",""

I do not get a script error, but nothing changes either.

I want to temporarily turn off the ability to spool locally so my app can
set up a fairly complex output stream without capturing the output from some user prompts that happen after the capture starts. And no, it's not possible to get all the user prompts out of the way first because, this is an add-on
to our vendor's app and I cannot control the placement of the vendor's
generic built-in print destination wizmo.

Anybody out there figured how to change things specified in a WIT file from
inside a script?

TIA,

Barry Brevik
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to