使用者指南P 501/502

使用lpq和lpstat來檢視列印工作的狀態

BSD UNIX工作站、Linux

% lpq -Pprinter_name

例如:印表機的名稱為np

% lpq -Pnp

System V UNIX、Solaris、HP-UX

% lpstat -o printer_name

例如:印表機的名稱為np

% lpstat -o np

註

  • 如果使用HP-UX,請勿在「-o」和「印表機名稱」之間加入空格。