network printerをCUPSへ接続する。
標準的なIPP serviceのprotocolとport番号を選ぶ。
適切な組合せはどれか。
CUPSはInternet Printing Protocolを中心に構成され、IPPの代表portはTCP 631である。
詳細解説
SMTP / TCP 25mail transfer用でprinting protocolではない。
誤り。SMTPはMTA間mail transfer等に使われ、CUPS print requestを表すprotocolではない。
DNS / UDP 53name resolution用でprint job転送のprotocolではない。
誤り。DNSはprinter host名の解決には関与し得るが、jobやprinter attributeの交換を行わない。
IPP / TCP 631CUPSがlocal/remote printingで利用する標準的なprotocolとportである。
正しい。CUPSはIPPを中心にlocal/remote destinationと通信し、well-known portとしてTCP 631を使う。
SSH / TCP 22remote shell用でIPP queueの標準接続ではない。
誤り。SSHはremote loginやtunnel用で、CUPS queueの標準print protocol自体ではない。
実際に確かめる
一時的な検証環境で実行できる例です。
printf '%s
' 'ipp 631/tcp'期待される結果
ipp 631/tcp理解のポイント
- IPPはprinting protocol
- TCP 631
- local/remote queueで利用
確認時の注意
- 確認環境: protocol対応表の表示のみ
基礎のおさらい
IPP
HTTPに似たrequest/response上でprinter属性、job投入、状態照会、取消などを扱うprinting protocolである。
remote printer
device URIとしてipp://またはipps://を使い、network printerやremote CUPS serverへ接続できる。