Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report to file
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00030128
Message ID:
00030148
Views:
38
>>>I am writing a report to a file.
>>> Ex. REPORT FORM report1 NOCONSOLE TO FILE test.txt
>>>Instead of getting an ASCII text file like is expected, I get some gibberish like this:
>>>
>>>%-12345X@PJL SET PAGEPROTECT=AUTO
>>>@PJL SET RESOLUTION=600
>>>@PJL ENTER LANGUAGE=PCL
>>>
>>>E*t600R&u600D*r0F&l0O&l0S&l0H&l2a8c1E*p0x0Y*c0t5760x7656Y&l1X*b0M.....
>>>
>>>Anyone have an idea of what causes this? I am using Foxpro 2.6. Thanks in advance for your help.
>>>
>>>Andy Ahrndt
>>>Systems Consultant
>>>C.M.S.I.
>>
>>You should
>>REPORT FORM report1 TO FILE filename ASCII
>
>In Foxpro 2.6 ASCII is not a valid option in the report command. By default the file created should be an ASCII file.
>
>Andy Ahrndt
>Systems Consultant
>C.M.S.I.

to file reports hold all printer characters. to get 'ascii', use generic printer (no special print codes)
Previous
Reply
Map
View

Click here to load this message in the networking platform