Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tray selection
Message
De
08/12/2004 11:22:48
Marcel Roy
South West Direct
Floride, États-Unis
 
 
À
07/12/2004 13:44:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00967459
Message ID:
00967775
Vues:
8
Hi Tore
Thank you for the help I think I found the solution with WIN API

I receive that solution from Rich Sampson Mind's Eye, Inc.

Currently, I don't have a method directly allowing this to be assigned.
However, it does sound like it would be something very useful to do. There
are several ways that it could be done. First, there is the method called
AddNewPage() in the MindsEyeReportEngine which has the code to create the
new page in the MERE OCX. So, after the page is created code could be placed
there or in the OnNewPage() Method/Event that is fired by the AddNewPage()
Method. With BINDEVENTS(), you could hook in on the fly to do this.

If you have any suggestions as to how it might be best let me know. I will
have to put some more thought into it and think of where it would be best to
place the code such as in the PAGE FOOTER ONEXIT() Event of the FRX or in
the PAGE HEADER ONEXIT().

Another thing that might be useful would be to add a new property to the
page which would let you assign it some comment for the page and then you
could quickly scan through all the pages and then check the COMMENT and set
the PAPERBIN based upon that.


Let me know what you think.


Rich Simpson
Mind's Eye, Inc.

I am using all Windows API Calls. Simplistically, the following Psuedo Code
shows how things are done in my Delphi OCX code:

BEGINDOC && A Device Context is created for drawing to for the specific
printer.
FOR I = 1 TO PAGESTOPRINT
SETUP PAGE && Modifies the DEVMODE Structure for the current page which
controls BIN/PAPER SIZE/ORIENTATION etc.
PRINT PAGE && Prints the Pagebased upon the DEVMODE structure for the
current page
ENDFOR
ENDDOC && Document gets released to Printer Driver here for printing

Where were you wanting to place the code in the FRX for the tray switching?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform