Contact Us!
303|905-4110

bpi.server.getprinterstatus()

This routine checks the printer status on the Oo server and returned a result.  It is advised that this routine be called in programs sending print jobs that wish to determine if the printer is available before rendering a document for printing.

Subroutine Syntax

CALL bpi.server.getprinterstatus( host, user, printer, level, status, verbose, result )

Parameters

Param

Direction

Description

host

passed

The hostname or ip address of the Oo server

user

passed

The user name to use for each ssh directive

printer

passed

The printer name on the Oo server to check

level

passed

reserved for future use

status

returned

Set to 1 if the printer is accepting requests and 0 if not

verbose

passed

level of verbosity

result

returned

the text output from the directive issued on the Oo server