Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone know how to trick a report to Scale down in size?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00288234
Message ID:
00288245
Vues:
11
>I'm trying to trick a report to scale it down in size because the customer wants to print at 20CPI the way his old DOS program printed. Does anyone know how to trick a VFP REPORT into printing smaller like the buggy version of VFP 5.0 did?
>
>I looked at FOCUS.FLL and tried to use the Scaling property of the printer but it seems that VFP blows away any settings when printing. I'm also looking at writing to a Device Context and then scaling it in Width to get my report to fit width wise.
>

Rich, are you relying on fonts native to the printer, or using Windows fonts? If you're relying on native fonts, consider sending the output to an ASCII file, and wrapping it front and back with control sequences to set the print mode, send the ASCII output, form feed and then reset the printer state, and squirting the file out the print port using CopyFile() as shown in the FAQ.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform