Information générale
Catégorie:
Fonctions Windows API
>>Privet Yuri
>>I explain again. SET PRINTER TO NAME not works for printing from ActiveX control print method. If I want to redirect DISPLAY MEMORY TO PRINTER then not problems.
>>
>>>I believe, it should be
>>>
>>>SET PRINTER TO NAME "PRINTER NAME"
>>>
>>>*---------------- your message below
>>>>In my program me need printing from activeX.
>>>ActiveX control always using default windows printer. But need to move
>>>print job to printer fax port.
>>>SET PRINTER TO [NAME] not works for redirect printer job between printers. Maybe anybody know, how set printer as default and return back.
>
>
>If you have the option of installing Windows Scripting Host version 2.0 or later, the Wscript.Network COM object can alter the default printer setting programmatically, and it can be instanced from VFP. Unlike the assignment of printer output using SET PRINTER, it's visiable to the full Windows environment.
What I need to include to my install program for using Windows Scripting Host feature? What the DLL or OCX?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement