Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Brain Teaser for the Experts....
Message
 
À
13/09/1999 20:57:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00264280
Message ID:
00264954
Vues:
19
John,

I do this a few different ways. One way is to do what Ed Pikman suggested. When you know the proper DEFAULTSOURCE number, set it in the EXPR field of the FRX file. I have a little program (called REPORTS_FIX.PRG) that I run everytime I modify reports. There is report-specific code for several of our reports that sets ORIENTATION, DEFAULTSOURCE, PAPERSIZE, DUPLEX, etc. All the users have HP LaserJet 4si's, so I haven't had a problem. A more complex solution might be necessary if you are going to be using different printers.

Some of our other reports are done this way: I make a text print file that contains the proper ESC codes to switch trays. I do a COPY FILE TO LPT1: and the report prints each part to the proper tray. For different printer types: This would require knowing the ESC codes for any printer that would be using the system and keeping some type of configuration file that contained the type of printer used. The program would have to handle the different printers that you support.

I gather that in your case, you will know what printer is being used. I think either solution will work for you.

Joe


>Hey FoxFolx!
>
>I asked this a few months ago, and didn't get much of a response. Is there any chance anyone has a solution to this puzzler:
>
>Have a client who DESPERATELY wants to keep using Colored paper for each different copy of an Invoice. Doesn't want to go the DotMatrix multi-form route. I know there is paper that can be bought interleafed in color, but it's too 'iffy' (in case the paper jams).
>
>Has anyone figured out ANY routine for ANY printer where the different copies can be fired to a different paper tray on the printer? (Would need a multi-trayed printer, obviously). We're ready to require a specific printer-- if the solution can be found.
>
>Any chance? Has anyone tackled this one?
>
>Thanks in advance for all your help -- especially the regulars who have helped me on some other questions in the past! (Feel free to E-Mail me SBT questions -- that's my one field of expertise. I'd like to 'pay back' the help that has been given to me.)
>
>- John Kiernan
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform