You could try:
OUTPUT TO PRINTER "printername".
PUT UNFORMATTED "m I".
PUT UNFORMATTED "J".
PUT UNFORMATTED "H 5.25,T,Ro".
.
.
.
OUTPUT CLOSE.
If that doesn't work, you might try adding SKIP to the end of each PUT line.
Another option would be to output the text strings to a file and the use OS-COMMAND SILENT COPY filename printername.
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf Of Babette Welch
Sent: Wednesday, April 30, 2008 8:48 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Vantage Basic 6.1 to print label
Using Vantage 6.1
Trying a new way to print labels from a VBForm.
We have numerous buttons on VBForms which:
1) run small Progress programs to collect data
2) then call Report Builder programs to print labels.
For this new application can not use Report Builder.
Now I want to run a Vantage Basic program or Progress program
from a VBForm button
to send strings to a metal tag label printer.
I need to send these strings, with NO formatting :
m I
J
H 5.25,T,R0
S l1,.0,.0,.375,.5,2.5
T: Part;.3,.0,5,24,y;6456
A 1
All suggestions are appreciated.
Babette Welch
IT Director
bwelch@argonics. <mailto:bwelch%40argonics.com> com
(906)226-9747 ext: 235
ARGONICS, INC.
Performance Polyurethanes
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
OUTPUT TO PRINTER "printername".
PUT UNFORMATTED "m I".
PUT UNFORMATTED "J".
PUT UNFORMATTED "H 5.25,T,Ro".
.
.
.
OUTPUT CLOSE.
If that doesn't work, you might try adding SKIP to the end of each PUT line.
Another option would be to output the text strings to a file and the use OS-COMMAND SILENT COPY filename printername.
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf Of Babette Welch
Sent: Wednesday, April 30, 2008 8:48 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Vantage Basic 6.1 to print label
Using Vantage 6.1
Trying a new way to print labels from a VBForm.
We have numerous buttons on VBForms which:
1) run small Progress programs to collect data
2) then call Report Builder programs to print labels.
For this new application can not use Report Builder.
Now I want to run a Vantage Basic program or Progress program
from a VBForm button
to send strings to a metal tag label printer.
I need to send these strings, with NO formatting :
m I
J
H 5.25,T,R0
S l1,.0,.0,.375,.5,2.5
T: Part;.3,.0,5,24,y;6456
A 1
All suggestions are appreciated.
Babette Welch
IT Director
bwelch@argonics. <mailto:bwelch%40argonics.com> com
(906)226-9747 ext: 235
ARGONICS, INC.
Performance Polyurethanes
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]