Creating a Printer Driver Setup User ProcedureID: Q114130 The information in this article applies to:
SUMMARYThe User Procedure option of the Printer Driver Setup dialog box allows additional control over printed output without changing the GENPD.APP printer driver program code. This article supplements the documentation on this option found in the FoxPro for MS-DOS "Developer's Guide" by providing an example of its usage.
MORE INFORMATIONThe following steps demonstrate how to add a printer command to set a right margin of 50 for use with an HP LaserJet III. Create the User Procedure program, named MARGIN50.PRG, as follows:
To link the procedure with the printer driver setup, do the following:
1. From the File menu, choose Printer Setup (or choose Layout from the 2. Select the Printer Driver Setup check box.
3. Choose New to create a new setup or choose Edit to edit an existing 4. In the Printer Driver Setup dialog box, select the options you want, and
5. Select the Document check box in the Start section to bring up the file
6. Select the MARGIN50.PRG file.
Additional reference words: FoxDos escape codes pddocst pddocend pdpagest pdpageend pdlinest pdlineend pdobjst pdobjend pdobject genpd 2.00 2.50 2.50a 2.50b 2.60 KBCategory: kbprint kbsetup kbprg KBSubcategory: |
|
Last Reviewed: April 18, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |