Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating reports using fixed-width fonts
Message
 
À
16/09/2001 12:36:33
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00557014
Message ID:
00557049
Vues:
10
I don't know. Maybe I'M missing something - I need compressed output fromt he printer, to fit the report on standard width paper. This, as far as I remember, is the 17cpi fonts on the Epson LX-1050. So, I selected the Draft 17cpi printer font as the default font for the report. I double checked - the font on the text and field controls is indeed that same draft 17cpi. I have to duplicate as near as possible the existing report which is generated from a BASIC program, it looks something like this:
                       1     1 1 1 1 1 1 1 1 1 2 2 
     1 2 3 4 5 6 7 8 9 0     1 2 3 4 5 6 7 8 9 0 1
     ===================     =====================
       (data here)               (data here)
In design mode, the '1' for the vertical 10 column is above the space between the 7 and 8. The '=' signs used as the header extend well past the right edge. This is what it took to look right in Preview. And it's the right number - from the 1 to 10 there are 19 total characters and spaces. 19 '=' chaacters in design mode extend way out. It's definitely displaying using a proportional font, yet in preview it appears to be using the fixed font because it all lines up.

>Randy,
>
>Am I missing something? In VFP7 I set the default font for a _new_ report to the fixed-width font, and then add some report controls, all of the report controls show WISIWIG in that font. This computer has an HP DeskJet as the default printer.
>
>Does this not happen for you?
>
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform