prtglbconfig Command

Purpose

The prtglbconfig command configures the global settings for the AIX® printing subsystem.

Syntax

prtglbconfig [ -s name = value] [ -r name ]

Description

The prtglbconfig command either sets a printing subsystem setting or resets it to a default value. Currently, this command is used to set the ERRMSGCONTROL setting. This setting affects the global printer message. This setting can be used to select one of the following options:

  • ALLON (All messages turned on).
  • LOGALL (All messages turned on, but logged to a log file).
  • CRITON (Only the most critical error messages turned on).
  • ALLOFF (All messages turned off).

Currently, the LOGALL option and the CRITON option is same as the ALLON option.

Flags

Item Description
-s name = value Specifies that the printing subsystem setting specified in the name parameter is set with the value specified in the value parameter.
-r name Resets the printing subsystem setting specified in the name parameter to a default value.

Security

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

  1. To set the printing subsystem to ignore all of the messages generated by the printing subsystem, enter:
    prtglbconfig -s ERRMSGCONTROL=ALLOFF
  2. To reset the error message control of the printing subsystem to a default value, enter:
    prtglbconfig -r ERRMSGCONTROL
Note: Some messages generated by the printing subsystem cannot be ignored and are logged in the console log file. For more information about starting a print job, see the qprt command.

Files

Item Description
/etc/prtglobalconfig Contains the global configuration file.
/usr/sbin/qdaemon Contains the qdaemon daemon.
/etc/qconfig Contains the configuration file.
/etc/qconfig.bin Contains the digested, binary version of the /etc/qconfig file.