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:
01441371
Views:
32
When printed manually the document goes into the manual feeder, however, on Word I went into File-->Page Setup and change the paper source to "Default Tray" and that seem to fix it.

This file was created using StrToFile(myField,'C:\myDoc.rtf') and it seem to have set the paper source to Manual Feed.

>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
>>
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform