C H A P T E R  62

USB Parallel Port Printer (usbppptest)

The usbppptest verifies the proper functioning and integrity of the USB parallel port devices. The test data, either ASCII or a postscript file, is sent to the printer through the USB bulk transfer. The usbppptest saves and restores the printer settings.



Note - The usbppptest will not be registered in the Solaris 8 operating environment; it is currently only supported on Solaris 9 software.




usbppptest Subtests

The usbppptest consists of the following subtests:


usbppptest Options

To reach the dialog box below, right-click on the test name in the System Map and select Test Parameter Options. If you do not see this test in the System Map, you might need to expand the collapsed groups, or your system may not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.

FIGURE 62-1 usbppptest Test Parameter Options Dialog Box

Screenshot of the usbppptest Test Parameter Options dialog box.

TABLE 62-1 usbppptest Options

usbppptest Options

Description

DeviceID

Specifies the path to the printer

Printer

Enables or Disables the Printer subtest

Printer_data_type

Specifies the test data: ascii, postscript, or both

Printer_delay_seconds

Specifies in seconds, the delay after the Printer subtest is performed



usbppptest Test Modes
TABLE 62-2 usbppptest Supported Test Modes

Test Mode

Description

Connection

In connection mode, only the getdevid subtest is performed

Functional

(Offline)

In offline mode, the getdevid subtest is enabled by default and the Printer subtest is disabled by default



usbppptest Command-Line Syntax

/opt/SUNWvts/bin/usbppptest standard_arguments -o [
[ dev=/dev/printer/1 ][ getdevid=enable|disable ][ printer=enable|disable][ data=ascii|postscript|ascii+postscript ][ pdelay=number_of_seconds ] ]

TABLE 62-3 usbppptest Command-Line Syntax

Argument

Description

dev=/dev/printer/1

Specifies the path to the printer

getdevid=enable|disable

Enables or disables the getdevid subtest

printer=enable|disable

Enables or disables the Printer subtest

data=ascii|postscript|
ascii+postscript

Specifies the test data format

pdelay=number_of_seconds

Specifies in seconds, the delay after the Printer subtest is performed




Note - 64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If a test is not present in this directory, then it may only be available as a 32-bit test. For more information refer to 32-Bit and 64-Bit Tests.