Information générale
Catégorie:
Fonctions Windows API
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement