Dear Members
I and Working on FPD 2.6 under XP(pro) Environment.
I have installed Tamedos 5.0 which allows my program to under under XP Env very well.
as There is a USB Samsung Printer Attached to the XP. as reading a Thread in this Form I am using Printfile Freeware program which I like very much as that you can use any USB Printer with a DOS Program (Thanks to Ramani)
My problem is here....
I have a System Paramters DBF file where user can set the No of Copies of a Report like 1 or 2 or 3 or any upto 99.
My Program is Pickup the No of copies from the System Parameter file and then run a loop with report form
my previous program was like this
x=1
do while x < mcopies
Report Form abc to printer noconsole noejct
x=x+1
enddo
when I was using Window 98 or Win ME Environement it works very well. but when now I am using Printfile program I have to spool to a txt file like this
x=1
do while x < mcopies
Report Form abc to c:\spool\prt.txt noconsole noejct
x=x+1
enddo
but when the printer (USB) prints It only prints 1 copy. what I can under stand is as the PC is too fast it overwites the PRT.TXT File twice and way I can over come this issue.
I and Working on FPD 2.6 under XP(pro) Environment.
I have installed Tamedos 5.0 which allows my program to under under XP Env very well.
as There is a USB Samsung Printer Attached to the XP. as reading a Thread in this Form I am using Printfile Freeware program which I like very much as that you can use any USB Printer with a DOS Program (Thanks to Ramani)
My problem is here....
I have a System Paramters DBF file where user can set the No of Copies of a Report like 1 or 2 or 3 or any upto 99.
My Program is Pickup the No of copies from the System Parameter file and then run a loop with report form
my previous program was like this
x=1
do while x < mcopies
Report Form abc to printer noconsole noejct
x=x+1
enddo
when I was using Window 98 or Win ME Environement it works very well. but when now I am using Printfile program I have to spool to a txt file like this
x=1
do while x < mcopies
Report Form abc to c:\spool\prt.txt noconsole noejct
x=x+1
enddo
but when the printer (USB) prints It only prints 1 copy. what I can under stand is as the PC is too fast it overwites the PRT.TXT File twice and way I can over come this issue.