Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the printable paper size.
Message
De
29/11/2007 17:34:20
 
 
À
29/11/2007 17:29:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01271715
Message ID:
01272259
Vues:
28
>>As you are sending your image directly to the printer, you can rotate the image using GDI+.
>>
>>With PRTINFO() you can know the current printer settings. If needed, just rotate it !
>>
>>For a better sample, please open the file "System.drawing.prg", loof for the method "ToPrinter()". There you'll find all the codes needed to do what you need.
>>
>>The only missing part is the tip received recently from Sergey that allows us to obtain the paper margins.
>
>Hi Cesar,
>
>I found that very peace of code 10 minutes ago and realised that you are actually flipping image :)
>What I could not find is how the heck was that right-click shortcut menu implemented <vbg>
>
>Thks+++ for all you guys/galls help.
>
>Sergio


I implemented that shortcut in the caller program, DEMO.PRG
I use BINDEVENT for this.

Very easy to adequate it to your needs !
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform