General information
Category:
Reports & Report designer
Title:
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only