rickitikitavi
Programmer
I have recently discovered a problem with assigning a default printer using the GETPRINTER() function. FYI, I am running Windows Vista and VFP 6. On my computer, all printed output from a VFP report is being sent to the same printer regardless of what printer is set in Vista as the default printer or what printer is set using the GETPRINTER() function. This problem has just recently appeared and I suspect that a Vista update may have caused it and have reported such to Microsoft. However, I need a fix now for my users.
There was a previous thread about setting the printer from within a previewed report by issuing a SYS(1037) function immediately before outputting the report for review. This works perfectly. However, I was wondering if it was possible for this function to automatically occur if the user selects the print icon on the preview page rather than having to press a function key? It would be much more convenient for the user if this could be implemented.
Any assistance greatly appreciated.
Rick
There was a previous thread about setting the printer from within a previewed report by issuing a SYS(1037) function immediately before outputting the report for review. This works perfectly. However, I was wondering if it was possible for this function to automatically occur if the user selects the print icon on the preview page rather than having to press a function key? It would be much more convenient for the user if this could be implemented.
Any assistance greatly appreciated.
Rick