dvc_set_subdevice()

Purpose

Selects a subdevice

Old name

#define subdevice dvc_set_subdevice

Syntax

int dvc_set_subdevice(logical_device_nr)

Parameters

int logical_device_nr

Logical device number

Description

The dvc_set_subdevice() function selects the logical device with the specified internal number. The device should be a subdevice of the printer currently selected.

To find the internal number required, use DFSETUP to generate the device names.

The function dvc_check() is called after this function has tried to select the device.

Return values

The value of the global variable print_error