Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Text File Reports
Message
From
03/05/2005 10:16:55
 
 
To
03/05/2005 10:04:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01010450
Message ID:
01010453
Views:
20
Tek

May this be a case of having a proportional font, and not a monospaced. proportioanl fonts will use a different width for, say, "i", "n" (en space) and "m" (em space), whereas monospaced fonts use the same width for all chars. With a prop. font you can't guarantee the layout on paper, despite that on screen, especially if there are embedded spaces (in prop. font the minimun, "i" space is used for multiples).

This font is mono (courier new). Observe how even the "w"s and "m"s use the same width as the other chars, and are as if in columns. If your text files use prop. font, replace them with mono. to see how you get on.

HTH

Terry

>Hi all
>
>I have some legacy report programs written using SET ALTERNATE and ?/?? commands. When the reports stored in the ALTERNATE text files are print out, the columns are not aligned even though it's aligned when the text file is viewed in a editor in non document mode. I would appreciate if you could advise how to correctly print the report.
>
>Thanks & Best Regards
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform