AIX Version 4.3 Commands Reference, Volume 3 lpstat Command Purpose Displays line printer status information. The lpstat command displays information about the current status of the line printer. If no flags are given, lpstat prints the status of all requests made by the lp command. Flags can appear in any order and can be repeated.
Some flags take an optional list as a parameter.
Queue2' or lpstat -a'Queue1,Queue2' . If you specify a flag with no parameters, all information pertaining to that flag is printed. The display generated by the lpstat command contains two entries for remote queues. The first entry contains the client's local queue and local device name and its status information. The second entry contains the client's local queue name followed by the remote queue name.