Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing paper source
Message
From
30/07/1997 22:46:55
 
 
To
30/07/1997 17:00:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00042481
Message ID:
00042553
Views:
31
There may not be a simple solution to this. If the 3rd party product doesn't give the chance to change the paper tray, then the selection of the tray may be in the printer codes that are sent out from the printer driver. If that's the case, then you may be able to change the codes, but it won't be fun. 1) redirect the program to print to a file, but still use the original driver 2) replace the tray selection codes with codes to print to the correct tray (this be done fairly easily using FoxPro if the size of the file isn't all that large, a couple of hundred K or so, and if the printer language is something standard like PCL). 3) send the revised file to the printer. > Can anyone tell me how I can change the paper source programmatically > (without having to display the Printer Setup Dialog). I have a > program > that prints a cover letter (on letterhead paper, lower tray) and then > immediately prints a report (on regular paper, upper tray). I was > told > there was a way to do it using the API functions. Anybody know > anything > about this? Anybody know of any other way to do it. The kicker here > is > that the cover letter is not printed using the REPORT FORM. It uses a > 3rd > party product and the 3rd party product does not give the ability to > change > the paper source.
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Reply
Map
View

Click here to load this message in the networking platform