lpq

å称
     lpq — ãã¥ã¼ã«ç»é²ããã¦ããå°å·ã¸ã§ãã®ç¢ºèªãè¡ã

æ¸å¼
     lpq [-l] [-Pprinter] [job # ...] [user ...]

解説
     lpq ã¯ãã©ã¤ã³ããªã³ã¿ã«ãã¡ã¤ã«ãããªã³ãã¢ã¦ãããããã« lpd(8)
     ãå©ç¨ããã¹ãã¼ã«ã¨ãªã¢ã調ã¹ã æå®ããã¸ã§ããããã¯ãã¹ã¦ã®ã¸ã§ãã®ç¶æãå ±åãã¾ãã
     lpq ãå¼æ°ãæå®ããã«å®è¡ããã¨ãã¯ãç¾å¨ããã¥ã¼åã«ãããã¹ã¦ã® ã¸ã§ãã®ç¶æãå ±åãã¾ãã

     ãªãã·ã§ã³ã¨ãã¦ã¯ã以ä¸ã®ãã®ãããã¾ã:

     -P      ç¹å®ã®ããªã³ã¿ãæå®ãã¾ãã -P ã使ããªãå ´åã¯ãããã©ã«ãã®ã©ã¤ã³ããªã³ã¿
             (ãããã¯ç°å¢å¤æ° PRINTER ã®å¤)ãç¨ãããã¾ãã

     -l      ã¸ã§ãã¨ã³ããªãæ§æãããã¡ã¤ã«ã®ããããã«ã¤ãã¦ã®æå ±ã 表示ãã¾ããããã¦ãã¯
             1 è¡ã«åã¾ãç¨åº¦ã®æå ±ã表示ããã¾ãã

     å§è¨ããã(ã¤ã¾ã lpr(1) ã®å®è¡)åã¸ã§ãã«å¯¾ãã¦ã lpq ã¯ã¦ã¼ã¶åã ã‐
     ã¥ã¼åã§ã®ã©ã³ã¯ãã¸ã§ããæã£ã¦ãããã¡ã¤ã«ã®ååãã¸ã§ãèå¥å (ç¹
     å®ã®ã¸ã§ããåé¤ããããã« lprm(1) ã«å¼æ°ã¨ãã¦ä¸ãããããããããªã
     çªå·)ãããã¦åè¨ã®ãµã¤ãºãå ±åãã¾ããã¸ã§ãã®é çªã¯ã¹ãã¼ã«ãã£ã¬ã¯ ããªãã¹ã‐
     ã£ã³ããã¢ã«ã´ãªãºã ã«ä¾åãã FIFO (First In First Out) ã§ã
     ãã¨ä»®å®ãã¦ãã¾ããã¸ã§ãã®ãã¡ã¤ã«åãããããªãå ´å (lpr(1)
     ããã¤ãã©ã¤ã³ã§æ¥ç¶ãããå ´åãªã©) ã¯ããã¡ã¤ã«å㯠``(standard input)'' ã¨
     表示ããã¾ãã

     ãã lpq ããã¼ã¢ã³ããªãã¨è¦åããå ´å (ä½ãã®ä¸èª¿ãåå ã§ãã)ã lpc(8)
     ã³ãã³ããç¨ãã¦ããªã³ã¿ãã¼ã¢ã³ããªã¹ã¿ã¼ãããã¦ãã ããã

ç°å¢å¤æ°
     PRINTER  ãããã®ããã©ã«ãããªã³ã¿ãæå®ãã

é¢é£ãã¡ã¤ã«
     /etc/printcap            ããªã³ã¿ã®ç¹å¾´ã決å®ãã
     /var/spool/*             ã¹ãã¼ã«ãã£ã¬ã¯ããªãprintcap ã§ã®è¨å®ã«ãã決ã¾ã
     /var/spool/*/cf*         ã¸ã§ããæè¨ããå¶å¾¡ãã¡ã¤ã«
     /var/spool/*/lock        ç¾å¨ã¢ã¯ãã£ããªã¸ã§ããå¾ãããã®ããã¯ãã¡ã¤ã«
     /usr/share/misc/termcap  ç¹°ãè¿ãã¦è¡¨ç¤ºããã¨ãã«ç»é¢ãæä½ããããã«ç¨ãã

é¢é£é ç®
     lpr(1), lprm(1), lpc(8), lpd(8)

æ´å²
     lpq ã³ãã³ã㯠3BSD ããç»å ´ãã¾ããã