Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word.Application output to manual feeder
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01441323
Message ID:
01441328
Views:
35
What happens when you print the document manually?

>Our Default printer is Lexmark T640 and set to print to Regular tray.
>
>The code below keeps sending the file to the Manual Feed Tray on a Lexmark T640 but on an HP LaserJet 8100 series it sends it to the regular tray.
>
>How can we force the driver of the Lexmark T640 to send the file to the Regular Tray?
>
>
>oWordObj=CREATEOBJECT("Word.Application") 
>oWordObj.Documents.Open(wdFileName) 
>
>oWordObj.Printout(;
>wdBackground,; &&.f.
>wdAPPEND,;&&.f.
>wdrange,;&&0
>,;
>,;
>,;
>,;
>wdCopies)&&1
>	
>oWOrdObj.Quit
>Release oWordObj
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform