Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print setup through code, Print to particular tray
Message
 
 
À
30/05/2003 08:09:31
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00794445
Message ID:
00794452
Vues:
13
>Hi All,
>
>Just had a weird reques from a client. He wants to know if it's possible to print some reports from tray 1 and others from tray 2. The reason being is obviously that his pre-printed invoices are on one tray and white paper on another and he wants to avoid buying 2 printers.
>
>Is it possible to force that via code? Without opening the PROMPT printer setup?
>
>If yes, would you be so kind to send me some sample code or refer me to somewhere I can look for it.
>
>Thanks in advance
>
Hi Jonathan,

You can do that by opening report as a table and changing DEFAULTSOURCE=nnn in the EXPR field of the first record before printing report. See http://support.microsoft.com/default.aspx?scid=kb;en-us;251236 for example.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform