I have used this instructions :

SLAVE.ON = Your Terminal Esc sequence
SLAVE.OFF = Your Term Esc. Sequence
...........
if (xxxx) Then
  PRINTER ON
END ELSE
  PRINT SLAVE.ON:
END
.............
IF (xxxx) THEN
   PRINTER OFF
END ELSE
   PRINT SLAVE OFF:
END


When (xxxx) contains the condition that you need (Port number, Variable
value.....)

(Where are you ? We are hiding of Bush)

----- Original Message ----- 
From: "Cooper, Rudy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 1:51 AM
Subject: [U2] Slave & Network Printing using Wintegrate


> I have an application that requires a slave printer (Zebra thermal
> printer) and a network printer.
>
> We are using UV 10.0.10
> W2k
> Wintegrate 4.2.1
>
> My problem is my output goes to the last printer that was used even tho
> I may not have directed it to that specific printer.
>
> E.g., When I first enter my app. and direct the output to the slave
> printer, using the escape seq. for the cvt100 emulation, everything
> works fine.  I then direct the output to a network printer using SETPTR,
> etc, that works fine, but when I re-direct output back to the slave
> printer it still prints to the network printer.  That's when everything
> goes astray.
>
> I've changed the printon.wis in wintegrate to use "lpt1:" instead of
> "printer", but that didn't seem to matter.  It seems as tho the output
> goes to whatever the last "default" windows printer is.
>
> Really confusing.
>
> BTW I'm using a pc and not a terminal.
>
> Can anyone give me any recommdations or is there a way to change the
> default windows printer programmatically in UV ?
>
> thx,
>
> rudy
> -------
> 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