54#define SANEI_PA4S2_OPT_DEFAULT 0
55#define SANEI_PA4S2_OPT_TRY_MODE_UNI 1
56#define SANEI_PA4S2_OPT_ALT_LOCK 2
57#define SANEI_PA4S2_OPT_NO_EPP 4
void sanei_pa4s2_close(int fd)
Close pa4s2 device.
SANE_Status sanei_pa4s2_readbegin(int fd, u_char reg)
Select a register.
SANE_Status sanei_pa4s2_options(u_int *options, int set)
Set/get options.
SANE_Status sanei_pa4s2_readbyte(int fd, u_char *val)
Read a register.
SANE_Status sanei_pa4s2_writebyte(int fd, u_char reg, u_char val)
Write a register.
SANE_Status sanei_pa4s2_open(const char *dev, int *fd)
Open pa4s2 device.
SANE_Status sanei_pa4s2_scsi_pp_get_status(int fd, u_char *status)
Return port status information.
SANE_Status sanei_pa4s2_enable(int fd, int enable)
Enables/disable device.
SANE_Status sanei_pa4s2_scsi_pp_open(const char *dev, int *fd)
Open pa4s2 SCSI-over-parallel device.
SANE_Status sanei_pa4s2_readend(int fd)
Terminate reading sequence.
SANE_Status sanei_pa4s2_scsi_pp_reg_select(int fd, int reg)
Selects a register number on a SCSI-over-parallel scanner.
const char ** sanei_pa4s2_devices(void)
Get list of possibly available devices.