Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer settings at run-time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00189772
Message ID:
00190534
Vues:
16
>>>There isn't a handle that Foxpro uses internally for it. It uses OpenPrinter
>>>just like any other application when it needs it, and closes it afterward.
>>>Any code that you would implement should do the same.
>
>
>but.but.but i'm trying to change the behavior of set device to print because i have these stupid legacy reports that print forms.

OIC. FoxPro *may* be reading from the registry then, but it probably doesn't care. It just directs the output to the device, without formatting, etc. Whatever the default settings are (established in the devmode structure) would probably be used by Windows for the output. Don't forget, Fox just hands the print job off to Windows, basically.

>if foxpro uses open printer how can i change the orientation to landscape of that handle after it's created? or maybe trick it to create what i want??

If I'm right in the above, then setting the orientation in the registry, might be used by Windows when it gets the info from VFP. Don't forget to put things back the way you found them afterwards.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform