z/OS USS–UNIX System Services Printing Commands › lpstat—Show printer and print job status › Examples › Display the name of the default printer
To display the name of the default printer, enter:
lpstat -d