Driver SDK 4.2.0
aur::ADA::Conns Class Reference

#include <DriverInfo.h>

Public Member Functions

bool direct () const noexcept
 

Public Attributes

bool tcpip
 
bool serial
 
bool usb
 
bool custom
 
bool folder
 
bool hplx
 
bool autoIP
 
bool printAgent
 

Detailed Description

Connection options

Describes the connections supported by the driver.

Definition at line 468 of file DriverInfo.h.

Member Function Documentation

◆ direct()

bool aur::ADA::Conns::direct ( ) const
inlinenoexcept

Definition at line 480 of file DriverInfo.h.

Member Data Documentation

◆ autoIP

bool aur::ADA::Conns::autoIP

Flag indicate that this printer support auto detection of the IP address. This flag can only exist in combination with the flag Conns::tcpip.

The driver supports a PrinterQuery call with <Command>DiscoverIP</Command>.

Definition at line 483 of file DriverInfo.h.

◆ custom

bool aur::ADA::Conns::custom

Flag indicate that this driver has a non standard comunnication method. The driver exports its custom port-list method List() that provides a packed string with all available ports.

The deviceURL can be of any format and has only meaning to the driver itself.

See also
List

Definition at line 474 of file DriverInfo.h.

◆ folder

bool aur::ADA::Conns::folder

Flag indicate that this driver delivers a file or folder as output.

The deviceURL needs to conform to the format "file://[full path]".

Definition at line 475 of file DriverInfo.h.

◆ hplx

bool aur::ADA::Conns::hplx

Flag indicate that this printer support requires both a TCP/IP connection as well as a folder. The resulting deviceURL consists of the IP address, followed by & and followed by the folder path.

Definition at line 482 of file DriverInfo.h.

◆ printAgent

bool aur::ADA::Conns::printAgent

Flag indicate that PrintAgent needs to be installed on the printer. This flag can only exist in combination with the flag Conns::tcpip as the PrintAgent protocol runs via TCP/IP

Definition at line 484 of file DriverInfo.h.

◆ serial

bool aur::ADA::Conns::serial

Flag indicate that this driver supports serial connection. The default serial settings are defined by serBaudRate and serFlow. device that matches the pattern.

The deviceURL needs to conform to the format "ser://[port name]:[baud],[bits],[parity],[handshake]". For valid values of handshake see serFlow.

See also
serBaudRate, serFlow

Definition at line 472 of file DriverInfo.h.

◆ tcpip

bool aur::ADA::Conns::tcpip

Flag indicate that this driver supports TCP/IP connection. The default TCP port is defined by tcpPort.

The deviceURL needs to conform to the format "tcp://[host]:[port]" or "raw://[host]:[port]" for RTelnet / Raw protocol. When no port is defined 9100 is assumed. The format "lpr://[host]:[port]" invokes the LPR/LPD protocol and port 515 is assumed when ommited. The format "http://[host]:[port]" invoked a Raw protocol on port 80 when ommitted. The [host] might be an IP addres in the form A:B:C:D or a DNS name.

See also
tcpPort

Definition at line 471 of file DriverInfo.h.

◆ usb

bool aur::ADA::Conns::usb

Flag indicate that this driver supports USB connection. The default USB IEEE filter and class or GUID. On Windows the usbGUID is used to located the driver. On MacOS X the usbFilter is used to find an USB device that matches the pattern.

The deviceURL needs to conform on Windows to the format "usb://USB[port index]". On MacOS X the format needs to be "usb://[port name]:[model],[class]:[filter]".

See also
usbFilter, usbFilterType, usbClass, usbGUID

Definition at line 473 of file DriverInfo.h.


The documentation for this class was generated from the following file: