Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print setup through code, Print to particular tray
Message
 
 
To
30/05/2003 08:09:31
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00794445
Message ID:
00794452
Views:
12
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform