[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] CALL SYSTEM COMMAND



please try using this command 
"cmd /c type c:\temp\abs_main.lis > prn"
this will work only if the printer driver for dos has been installed.
regds
kajal 

-----Original Message-----
From: Mezzullo, Paul [mailto:pmezzull@esboces.org]
Sent: Tuesday, July 08, 2003 10:26 PM
To: SQR RUG (E-mail)
Subject: [sqr-users] CALL SYSTEM COMMAND


Hi,

I'm using the following code (below) to print a file from an SQR running on
a Windows2000 machine and it works fine. However, when I run the same SQR
code on a Windows98 machine, it does not work??  I understand there's no
'CMD' on Windows98 and instead 'COMMAND', I tried that modification and it
still does not work, does anyone know how to modify the CALL SYSTEM COMMAND
for Windows98?  Thanks for your help ...

!** printing an SQR lis file from Windows2000 **
let $command_str_3 = 'cmd /c copy c:\temp\abs_main.lis lpt5'
CALL SYSTEM USING $Command_str_3 #return_status NOWAIT




- Paul M. Mezzullo 
Pmezzull@esboces.org



_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users