Set PDSetup, _GenPD, _PDriver, _PDSetup, Set("PDSetup")
These three system memory variables and one command set up a pretty sophisticated printing system under earlier DOS versions of FoxPro. While they may still be usable in Visual FoxPro, we are hard-pressed to think of why you might want to use them. Usage | _GENPD = cGenerator cGenerator = _GENPD _PDRIVER = cDriverName cDriverName = _PDRIVER _PDSETUP = cSavedSetup cSavedSetup = _PDSETUP SET PDSETUP TO cSavedSetup cSavedSetup = SET("PDSETUP") |
Parameter | Value | Meaning |
cGenerator | Character | The name of the program to run when creating or changing a printer driver setting. |
cDriverName | Character | The name of the program or C routine (PLB/FLL) built into Genpd.APP used to perform the actual row-by-row, character-by-character printing. PS.PRG was used for PostScript printing, while Driver.PRG was used for all others. |
cSavedSetup | Character | The name of a previously defined printer setup, which could store information on the printer brand and model (and consequently the language), margins, font sizes and orientation. Setting PDSetup to a single blank character brings up the printer driver setup dialog. |
See Also | _ASCIICols, _ASCIIRows, Report, Set Printer, Set Resource, Version() |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.