chkimprlicense(1) Impressario chkimprlicense(1)NAMEchkimprlicense - check if an Impressario license is available for
psrip(1)SYNOPSISchkimprlicense [-P printername] [-m message]
DESCRIPTION
f3chkimprlicense calls the FLEXlm license checkout functions to determine
if an Impressario license is available. Currently, the only component of
Impressario that requires a license is psrip(1). chkimprlicense has less
startup overhead then running psrip(1) directly and checking for a
license access failure.
f3chkimprlicense is intended for use by printer driver developers. See
the lp model file /var/spool/lp/model/laserjetPJL_model for example use.
chkimprlicense does not output any messages to standard out or standard
error. The return status is used to determine if a license is available.
Command Line Options
chkimprlicense supports the following command line options:
-P printer
If specified, the printer status is set to faulted if a license
is not available. This causes the printer icon seen on the
DeskTop and with printstatus(1) to change color to red to
indicate a faulted state. If -P is used then -m must be used.
-m message
If specified, the printer error message is set to this message
if a license is not available. This message is seen in the
printstatus(1) status window for the printer specified with the
-P option. If -m is used then -P must be used.
NOTES
Both -m and -P must be used together (if either is used).
RETURN VALUE
0 is returned if an Impressario license is available and it will not
expire in the next 90 days. If a license will expire within the next 90
days the number of days until expiration is returned. -1 is returned if
a license is not available (license not installed or has expired) or an
error occurred.
SEE ALSOpsrip(1), Impressario release notes.
Page 1