Mac/CUPS
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
RIGHT:[[Mac 関係覚え書き]]
*ログについて [#x9fb171d]
**page_log [#a9f820d4]
/var/log/cups/page_log というファイルがある.
/etc/cups/cupsd.conf に
# PageLog: the page log file; if this does not start wit...
# then it is assumed to be relative to ServerRoot. By d...
# "/private/var/log/cups/page_log"
#
# You can also use the special name "syslog" to send the...
# syslog file or daemon.
#
#PageLog /private/var/log/cups/page_log
と定義されていて,
PageLog syslog
とすることで, syslog(や syslog サーバ)に飛ばせる.
(facility は lpr -> ex. lpr.info など)
でもって,その書式は,
http://www.cups.org/doc-1.1/sam.html#7_12_3 に
>The page_log File
>
>The page_log file lists each page that is sent to a pri...
>
>printer user job-id date-time page-number num-copies job...
>
>DeskJet root 2 [20/May/1999:19:21:05 +0000] 1 0 acme-123...
>
>The printer field contains the name of the printer that ...
>
>The user field contains the name of the user (the IPP re...
>
>The job-id field contains the job number of the page bei...
>
>The date-time field contains the date and time of when t...
>
>The page-number and num-pages fields contain the page n...
>
>The job-billing field contains a copy of the job-billing...
>
>The hostname field contains the name of the host (the IP...
と書かれている
*カラープリンタのデフォルトの設定をモノクロ出力とする [#f...
Lion 以降は CUPS の Web インタフェイスが無効にされている...
$ cupsctl WebInterface=yes
を実行.
そのあと,http://localhost:631/ へアクセスして,デフォル...
「プリンタ」タブから対象のプリンタを選択,
「プリンタオプションの設定」.
その中にカラーの設定があるはず(プリンタの機種(=PPD)によっ...
「プリンタオプションの設定」ボタンを押すと,パスワードを...
http://community.spiceworks.com/how_to/show/15962-setting...
*印刷時にパスワードを入力するようにする [#p9dab5a9]
Windows サーバ上にあるプリンタを登録する場合,印刷ジョブ...
なので,前提条件として,Windows でシェアしているプリンタ...
あらかじめ対象のプリンタのドライバをインストールしておく.
$ cupsctl WebInterface=yes
として,CUPS 管理インタフェイスを有効にする.
http://localhost:631/
へ接続.
[Administration]タブから
[Add Printer] ボタン
パスワードを聞かれたら,管理者のパスワードを入力する.
プロトコルを "Windows printer via spoolss"
を選択.
Connection: 欄に
smb://Windowsサーバのアドレス/プリンタキュー名
と入力
-Name: WINPRT
-Description: 空
-Location: 空
-Sharing: [ ]
-Make: 欄からプリンタのメーカーを選択 ->[Continue]
-Model: プリンタのモデルを選択.
[Add Printer]を押す
この状態でプリンタ出力すると
プリント命令後,ユーザ名とパスワードを聞いてくるようにな...
終了行:
RIGHT:[[Mac 関係覚え書き]]
*ログについて [#x9fb171d]
**page_log [#a9f820d4]
/var/log/cups/page_log というファイルがある.
/etc/cups/cupsd.conf に
# PageLog: the page log file; if this does not start wit...
# then it is assumed to be relative to ServerRoot. By d...
# "/private/var/log/cups/page_log"
#
# You can also use the special name "syslog" to send the...
# syslog file or daemon.
#
#PageLog /private/var/log/cups/page_log
と定義されていて,
PageLog syslog
とすることで, syslog(や syslog サーバ)に飛ばせる.
(facility は lpr -> ex. lpr.info など)
でもって,その書式は,
http://www.cups.org/doc-1.1/sam.html#7_12_3 に
>The page_log File
>
>The page_log file lists each page that is sent to a pri...
>
>printer user job-id date-time page-number num-copies job...
>
>DeskJet root 2 [20/May/1999:19:21:05 +0000] 1 0 acme-123...
>
>The printer field contains the name of the printer that ...
>
>The user field contains the name of the user (the IPP re...
>
>The job-id field contains the job number of the page bei...
>
>The date-time field contains the date and time of when t...
>
>The page-number and num-pages fields contain the page n...
>
>The job-billing field contains a copy of the job-billing...
>
>The hostname field contains the name of the host (the IP...
と書かれている
*カラープリンタのデフォルトの設定をモノクロ出力とする [#f...
Lion 以降は CUPS の Web インタフェイスが無効にされている...
$ cupsctl WebInterface=yes
を実行.
そのあと,http://localhost:631/ へアクセスして,デフォル...
「プリンタ」タブから対象のプリンタを選択,
「プリンタオプションの設定」.
その中にカラーの設定があるはず(プリンタの機種(=PPD)によっ...
「プリンタオプションの設定」ボタンを押すと,パスワードを...
http://community.spiceworks.com/how_to/show/15962-setting...
*印刷時にパスワードを入力するようにする [#p9dab5a9]
Windows サーバ上にあるプリンタを登録する場合,印刷ジョブ...
なので,前提条件として,Windows でシェアしているプリンタ...
あらかじめ対象のプリンタのドライバをインストールしておく.
$ cupsctl WebInterface=yes
として,CUPS 管理インタフェイスを有効にする.
http://localhost:631/
へ接続.
[Administration]タブから
[Add Printer] ボタン
パスワードを聞かれたら,管理者のパスワードを入力する.
プロトコルを "Windows printer via spoolss"
を選択.
Connection: 欄に
smb://Windowsサーバのアドレス/プリンタキュー名
と入力
-Name: WINPRT
-Description: 空
-Location: 空
-Sharing: [ ]
-Make: 欄からプリンタのメーカーを選択 ->[Continue]
-Model: プリンタのモデルを選択.
[Add Printer]を押す
この状態でプリンタ出力すると
プリント命令後,ユーザ名とパスワードを聞いてくるようにな...
ページ名: