I am trying to use the REPORT FORM TO FILE with a specific printer
driver but it doesn't appear to be working, does any on now if this is a
known issue?
Every file I get is identical, I thought VFP would use the current
printer driver to write the file.

here is a sample snippet


*LOCAL ARRAY laPrinters[1] as String
LOCAL liPrinterCount as Integer ,;
            xx as Integer 

liPrinterCount = APRINTERS(laPrinters,1)

FOR xx = 1 TO liPrinterCount
    SET PRINTER OFF
    SET PRINTER TO NAME (laPrinters[xx])
    SET PRINTER ON
    REPORT form invoice NOCONSOLE NODIALOG TO FILE ("c:\" +
SET("Printer",3)+ ".test")
    SET PRINTER off
NEXT xx


thanks.
*



_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to