How _PDPARMS Array Is Created for a Printer Driver Setup

ID: Q95309

2.00 2.50 2.50a | 2.50 2.50a

MS-DOS          | WINDOWS
kbprint

The information in this article applies to:

SUMMARY

The _PDPARMS array holds the escape sequences and font information for a printer driver setup. The _PDPARMS array is created when one of the following events occurs:

If FoxPro does not have enough memory, the _PDPARMS array might not be created.

MORE INFORMATION

The following is a list of what each _PDPARMS array element contains:

Element   Non-PostScript printer            PostScript printer

1         Printer name                      Portrait orientation (.T.)
2         Port                              Number of copies
3         Setup / first page flag           Scaled font size
4         Reset                             Spacing factor (leading)
5         Form length                       Italic (.T.)
6         Formfeed                          Bold (.T.)
7         Lines per inch                    Top margin
8         Characters per inch / font size   Document width / width
                                               scaling factor
9         Compressed                        Document length / length
                                               scaling factor
10        Orientation (portrait/landscape)  Bottom margin
11        Bold on                           Left margin
12        Bold off                          Font name
13        Underline on                      Bold font
14        Underline off                     Italic font
15        Italic on                         Font separator
16        Italic off                        Regular font
17        Superscript on                    Document height
18        Superscript off                   Full normal font name
19        Subscript on                      Scaled superscript size
20        Subscript off                     Scaled subscript size
21        Object printed on current page?   Actual font size
22        New line                          Superscript size
23        Horizontal Move Command-1         Subscript size
24        Horizontal Move Command-2         PDdocst user procedure
25        Global style (normal/italic)      PDpagest user procedure
26        Global stroke (medium/bold)       PDlinest user procedure
27        Line number                       PDobjectst user procedure
28        Document height                   PDobject user procedure
29        Document width                    PDobjectend user procedure
30        PDdocst user procedure            PDlineend user procedure
31        PDpagest user procedure           PDpageend user procedure
32        PDlinest user procedure           PDdocend user procedure
33        PDobjectst user procedure         Object counter
34        PDobject user procedure           Numeric scaled font size
35        PDobjectend user procedure        Not used
36        PDlineend user procedure          Horizontal points on page
37        PDpageend user procedure          Vertical points on page
38        PDdocend user procedure           Include regular font name
                                               with italic
39        Internal flag                     Loaded as PDriver/Library
                                               Flag
40        Top margin command                API Load _PDPARMS proc.
                                               address
41        Top margin in lines
42        Capture buffer
43        Loaded as PDriver/Library Flag
44        Font size
45        Font command
46        Current column number
47        Horizontal dots per page
48        Number of dots per column
49        Point size (design) in inches
50        Graphic character width
51        Numeric character width
52        API Load _PDPARMS proc. address (must be last element)

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a pdparms KBCategory: kbprint KBSubcategory: FxsetupGeneral
Keywords          : kbsetup FxsetupGeneral 
Version           : 2.00 2.50 2.50a | 2.50 2.50a
Platform          : MS-DOS WINDOWS

Last Reviewed: May 22, 1998