ラベル lpr の投稿を表示しています。 すべての投稿を表示
ラベル lpr の投稿を表示しています。 すべての投稿を表示

2019年10月14日月曜日

コマンドラインからの印刷

2019 Oct. 14.

インストールされたプリンタ名を検索

/etc/printcap の冒頭にプリンタ名が書かれている。

(例)
$ cat /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.  All changes to this file
# will be lost.
Brother_DCP_J562N|Brother DCP-J562N:rm=pc17:rp=Brother_DCP_J562N:
DCPJ562N|DCPJ562N:rm=pc17:rp=DCPJ562N:

印刷

$ lpr -P Brother_DCP_J562N FILE

2016年11月20日日曜日

プリンタコマンド lpとlprの違い

プリンタコマンド lpとlprの違い

印刷 プリント ubuntu14.04 32bit linux
2016 Nov. 20.

( sh1m4book.hatenablog.jp/entry/2015/06/29/004146 より)
Systemv系ではlpコマンド。
BSD系のシステムではlprコマンド。

ubuntu14.04 linux 32bit では
$ ls -l /usr/bin/lp
-rwxr-xr-x 1 root root 13672 12月  12  2015 /usr/bin/lp

$ ls -l /usr/bin/lpr
-rwxr-xr-x 1 root root 13672 12月  12  2015 /usr/bin/lpr