(snip)
>>>
>>>I think you should try the common dialog box!!!
>>
>>Hi Emmanuel:
>>
>>Not sure what that would do for me that GetPrinter() does not... I would still need to do the SET DEVICE/SET PRINTER TO/etc. stuff inside the code. Do
>you mean the MS Active-X control? Please explain. If there's an easier way, I'm all ears.
>>
>>Rob
>
>Yes, I mean the MS-ActiveX control. It set the printer you choose as the default printer so you don't have to issue SET PRINTER TO, but you still need a SET DEVICE TO command. If you need help using the common dialog box, let me know.
Thanx for the reply, Emmanuel. Usually I try to use native VFP wherever possible, as for our internal use LAN/WAN applications, it minimizes workstation custom tweaks and dependence on other groups to get stuff done. As far as Active-X in general, I am reluctant to trust too much as I have heard too many stories of version problems between different installed programs that whack out previous installed usages. Also, in this particular case, I like that any printer changes are just effective for the VFP session, and that users aren't changing their normal default printer and then get annoyed with me when then next Word doc they print goes to the 'wrong' place... If I need more help on Active-X in the future/outside applications, I'll be in touch.
Thanx.
Rob
Précédent
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