Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Printer selection in Windows 2000
This happens only under Windows 2000. Works fine under Windows 98.
Using VFP 5.0...
We have a Lexmark T520 Laser and trying to programatically select different trays. We have two different printer devices defined in Windows; one set to use Tray 1, and the other set to use Tray 2. The printer set to use Tray 1 is the Windows default printer.
Here's the code:
*prtname stores the Windows printer name and is user-selectable
cPrinter = ALLTRIM(prtfile.prtname)
SET PRINTER TO NAME (cPrinter)
No matter which printer the user selects, the SET PRINTER command seems to always select the Windows default printer, because it will never pull paper from Tray 2.
Anyone else with a similar VFP/Windows 2000 problem?
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