Platform |
Win32, x64 |
Purpose |
To configure and select the active printer. |
Syntax |
INTEGER FUNCTION SELECT_PRINTER@( DEV, PORT ) |
Description |
A call to SELECT_PRINTER@ will provide a standard Windows dialog box from which the user is able to select and configure any of the attached printer devices. On return DEV will contain the name of the printer device that has been selected and PORT will contain the name of the port it is connected to. A character array of size 256, in each case, should be sufficient to hold the returned data. |
Return value |
Returns 1 for success or zero if the user clicked on the CANCEL button. |
See also |
|
Example |
PORT LPT1: , COM3: , FAX: ... |