Hello again,

In Rbase for Windows ver 6.5, I could print a report to a file name, and the copy the file to a printer.
The code that worked in Version 6.5 is....

 erase c:\temp\script.txt
 OUTPUT c:\temp\script.txt
 PRINT ptscripxp WHERE patnumbr = .vpnum AND prntflag = 'Y'
 OUTPUT SCREEN
 zip CMD /C net use lpt3 /delete
 pause for 1
 zip CMD /C net use lpt3 \\sinclair3\scripts
 pause for 1
 copy c:\temp\script.txt lpt3
 pause for 1

(the extra pause for 1 seemed to be required to make it work)

In Version 7.6, the file c:\temp\script.txt gets made, but it is only 1 byte in size. When I run the code in Version 7.6, the report actually shows up on the screen.

Is there a way to do this in Ver 7.6?

Thanks for your help!

Mike


Reply via email to