Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word.Application output to manual feeder
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01441323
Message ID:
01441371
Vues:
31
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
>>
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform