Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASCII Transparent File
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00529115
Message ID:
00533582
Views:
10
>>Is there a solution to Create an ASCII Transparent File?
>>I tried to get the Printed Lines in an ASCII Text File with the report form .. to file xxx ascii. Or the general only Text printer Driver.
>>
>>The Problem I have is, that the Textboxes on the Report itself are interpreted in a false Size. So that a text wich was Printed like This:
>>
>>EDITBOX A--------E                    TEXT A--------T
>>EDITBOX B--------E                    TEXT B--------T
>>EDITBOX C--------E                    TEXT C--------T>        |                                |
>
>>This is a Text wich This is a Text formated
>>is formated to 3 Lines to 3 Lines wich stands to the right
>> of EDITBOX
>>
>>
>>After Printing this to ASCII or the Generic Text only Printer it looks like this:
>>
>>EDITBOX A-----
>>---E
>>EDITBOX B-----
>>---E           TEXT B--------T
>>EDITBOX C----- TEXT C--------T
>>---E
>>
>>TEXT A--------T
>>
>>
>>I couldnt find any solution for this strange behavior. The thing I know is that interpreting the lenght of the content in EDITBOX is false. Also the Positioning
>>of TEXT standing next to the moreline EDITBOX is false.
>>Has anybody a printer Driver wich creates exactly the same printout into an ASCII transparent file. With .or. without Format codes.
>>I tried Postscript, but it doesnt give me the chance to select specific Areas
>>From one Line in a Program.
>
>Search MS KB for _ASCIIROW _ASCIICOLS problem. You can try to adjust those to achieve a good result. My personal experience with _ASCII clause of report was negative, so I had to create a program of producing text reports.

I don't have my code here, but IIRC, its a matter of using courier new font, and I think either 10 or 12 point (for everything on the report) and then very carefully playing with positioning of items on the report.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Reply
Map
View

Click here to load this message in the networking platform