Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GDIPlusX and Printing
Message
De
02/04/2007 10:44:16
 
 
À
31/03/2007 09:49:57
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01210581
Message ID:
01211289
Vues:
22
Hi Cesar,
Tried it, and it worked like a charm :)
(Got the same bug as Bernard, but then downloaded newer version which fixed it).

Now questions:

Q1: Can we have multiple canvas printouts sent to printer as a single
printjob in printer que.

Q2: Can I print 'snapshot' of a canvas, then clear the surface
and then again draw/print/clear number of consecutive pages ?

You were talking about memory stream etc; can more then one canvas or 'printshot' (Q2) of it, be somehow cashed into memory (or in a file)
and then sent together to printer ?

Q3: ImgCanvas is based on VFP Image class;
Is it possible to do drawing on it, and also insert number of
of smaller bitmaps nested into specific coordinates of imgcanvas ?
I saw menu examples there playing game with complex
graphic tasks so I believe this should be easily doable ...

Q4: I saw that oBmp object is sort of object reference to ..System.Drawing.image. &DarkWoodsFromHere
so I assume .toPrinter() is probably call or wrapper of some print method from there.

Is there more methods/properties from there that we can access/use this way in order to have more control over spooling/printing processes etc

* * *

Basically Is this possible ?

Steps;

- Instantiate Canvas
- Draw Text, lines, rectangles etc
- store snapshot

- Clear Canvas
- Again Draw Text, lines, rectangles etc
- Insert line of smaller pictures into imgcanvas
- store snapshot

For i = 1 to N
- Clear Canvas
- Again Draw Text, lines, rectangles, nested bitmaps etc
- store snapshot
next

- Sent it alltogether to the printer as single printjob without killing
session, printer que or both <vbg>

TIA
Sergio




>>Ave Cesar :)
>
>Ave Sergio !
>
>>If you don't mind will send you private message about
>>couple of thing I wld like to ask you.
>
>My preference is to answer all questions in public. You may post here in UT or post comments in my blog. Note that at this moment there are several users of GdiplusX library, and posting in public you'll have a chance to have your questions answered more quickly...
>
>The answers I could give you also might help other people from here, and stimulate new people to use the library.
>
>
>So, pls post here whatever Gdi+ questions you have!
>
>Best regards
>
>Cesar
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform