> Hi Scott,
> I fixed the problem by setting the windows default printer to the one needed, then back to the original printer when done.
> We have not gone to Service Pack 2, so I can not re-try it at this time.
> Beth
Ok, thanks!
I am wondering if this was fixed in SP2 because it seems to work fine for me now. Here is a sample program to test it.
SET SAFETY OFF
CLOSE ALL
CLEAR ALL
CLEAR
lcPrinterToSet = "Acrobat Distiller"
USE "E:\Program Files\Microsoft Visual FoxPro 9\Samples\Tastrade\Data\customer.dbf"
REPORT FORM "E:\Program Files\Microsoft Visual FoxPro 9\Samples\Tastrade\Reports\listcust.frx" TO FILE CUSTLIST1.TXT NOCONSOLE
lcFile = ADIR(afiles,"CUSTLIST1.TXT")
? afiles(1,2)
SET PRINTER TO NAME (lcPrinterToSet)
REPORT FORM "E:\Program Files\Microsoft Visual FoxPro 9\Samples\Tastrade\Reports\listcust.frx" TO FILE CUSTLIST2.TXT NOCONSOLE
lcFile = ADIR(afiles,"CUSTLIST2.TXT")
? afiles(1,2)
When I run this code it gives me two different file sizes for both of these text files.
When I modify both the text files I can see different codes
-Regards!