|
Description |
Device number |
|
Old Name |
#define _l_dvc_nr pr_sub_device |
|
Syntax |
int pr_sub_device; |
|
Remarks |
The pr_sub_device contains the logical device number of the selected device. It corresponds to the l_dvc_nr key field of the l_devices structure. pr_sub_device is initially equal to the pr_device variable, which is set by the dvc_open() or dvc_choose() function. It is subsequently changed by calls to dvc_set_subdevice(). You may find pr_sub_device useful when handling printer errors in programs that make use of DDIs. |