Зߜ Ă ˌ ނ
ś

Joshua Drake
LinuxWorld (US)
ߜ :݇ͅ


(Common Unix Printing System) CUPS ł˖ ͂ Ùԛ ޟ ś
雂 Ă 鋟 ڟ ߈ ŋ ͕ ͍ CUPS Ε ͜ .ݟ͗ Ń
͂ .˜ Зߟ/Зߜ ̓ ˜ كԛ
韕ͅ ͘ ş͟˛ ͗ ߍ CUPS ˜͗
.ݟ Ɖ

CUPS ߌ Í ߋ Пͅ ڟ ͕ џ ԃ CUPS
. ͂ ˟ ˟ Í RPM ٟ
͂ ݂ 鉅 ͟ ނ͕ ߌ ͇ CUPS daemon ނ
:˟ ͇ root

镂 ߜ ͟ ݂ ͘ /ect/rc.d/init.d/cups status
:˟ ˂ Пͅ ̓ ̓ ˟͗

Cups: Scheduler is running

root ͂ ݂ ʼn ͟ ނ͕ ͗ ˟߅ ߍ ޟ ͟
: (scheduler) ނ

/etc/rc.d/init.d/cups start

CUPS ނ ͂
.˟̓ http://localhost:631/

˜ ߄ ˟ߘ ͘ ͛ :631
靂 ") ߕ URL ˌ ܍ ː .ߌ ܍
韂 ˟ (˟͗ Í CUPS

Click to enlarge

. 靂 ߊ ͛͘
˂酋 .˟ߌ ݅ ˟ ڟ -Do Admionistration Task
韂 ˟ ˌ ݅ ŋ ͘ .˟ߌ root ̓͂ ݂
.(͟ߍ) ˟ "Admin"

К ڟ ͘ ߛ ˝ ނ Classes Θ
К ڟ Ă ҂ ͘ ڟ Ă ܂ ͘ .˟ ͖ pool
. ŕ ͂ К ߇ߛ ͘ ޟ ˟ ܂
Η͛ ڟ ͘ ː Ă ̓ ˂ Ùԛ ŋ ˟


.˟ ş͟˛ ؍ Ă ߛ ˝ ނ Jobs Θ

.˟ ş͟˛ ͘ ˝ ނ Printers Θ

.˟ ڟ Add Printer ͘ ڟ ͗ ̓
:˜ ͟ ł ŋߊ ŕ ˟ߊ

.˟ Ă ˟ߊ ͘ ݂ :Name
. ͖ ͘ ͋ :Location
.͘ ߗ ͌ :Description

Click on image to enlarge

ߊ ˟ ڟ Continue ł ޟ ͗ ː
Disk File . ˂镅 (device) ΃ ͘ ˋ̈́ ŕ
.˟ Â Continue ˟߅ Є ߃ ˝ߊ Θ

߃ ˝ߊ ߇ߛ ߛ ˜ .ߌ ߋ URL ߛ Є

file://path/to/filename.prn
http://hostname:361/ipp/port1
ipp://hostname/ipp/port1
ipd://hostname/queue
smb://workgroup/server/sharename

Ă ͂ ܟ ڟ " ˝ ނ ܟ Θ
˂ ˃ ͂ ޟ ˜ ނ ̓ .˟
.˟ ݂ ̓ ҂ ͘

.˟ Ă CUPS ߄ " ˝ ނ http Θ

ނ ipp
.˟ Ă Internet Printing Protocol

Ă Internet Printing Protocol ڟ ˝ ނ ipd Θ


ڟ ͅ ͘ ˝ ނ smb Θ
˜ ޛ ŗ͌ .˟ ˜ ܍ ˜
͂ ޟ ˟ ͈ ˟̈́ ޛ .˜ ˂ ߊ
霟 ͘ .ŋ ł ˜ ݂ ̓ ˜
阅 ͘ ̓ Ă ̓ ˟ ˂ Ă ͋ ڟ ߜ
.˟ ͗ Í samba ˟ ŋ ܍ ˜

Ś鍉 ͅ ŋ ޟ ˉ ͂ samba Í
smb:// ˂ ̓ .˜ samba ͕ џ Í Зߜ
.˟ Í CUPS ނ ߜ samba smbspool ̓
.˟ ͇ ͟ ߅ ͂

which smbspool
ln -s smb `which smbspool` /usr/cups/backends/smb

韂 ˜ ˟ smbspool ߅ ˜߅ which ̓ ͘
.˟ ڜ ͟ ߅

ln -s /usr/bin/smbspool /usr/lib/cups/backends/smb

ߊ Зߜ smbspool ŋ ܉ /usr/bin/smbspool "


̓ ˟ ŕ ΂ ߛ ł ͗ ː
镂 阄 ߜ .ŋ ˌ ͘
.˟ ڟ Manage & Printers Є Administration

:ˋ ՜ ޟ Manage Printers

Ă 錟 ڟ ˝ ނ Manage Printers
͂ ߚ .˟ ݂ ͘ ͇ ͂ ˟˜ ͘
.˝ ނ ݝ ͘ ş Ă

Modify Printer Manage Printers Пͅ ˜ ǟ ·
霄 ˟ Â Modify Printer ͘ .˜ Configure Printer
.˟ߌ ˜̓͘ device and URL

(DPI) ˟ ޟ ˝ ނ Configure Printer Θ
Θ ͝ ŋ ͅ ͋ ͟ߙ ̓ .˟ Ă ˟ߊ
.˟ ݝ

HP : ͘ ˛ ͘ ߟ CUPS Ε͜
. 韜߅ ͂ ˟ ߂ ͘͘ .EPSON
Easy Software Products EPS Printer Pro
.(͕ ͛ ) ˟ ͛ LinuxPrinting.org
. LinuxPrinting.org Cups-o-Matic PPD 韂 џ
酋ߊ .˜ ͕ џ ԃ CUPS ݟ HP4 ڟ ͅ
.˜ ͂ LinuxPrinting.org ߟ ڟ ݜ

霅 .݅ ͂Յ ߃ ͅ˂ PPD ߂ ˂
PPD 韂 (˟삛͕ ͛ ś ) cupsomatic cups ͅ ˟
.͗ Í ߊ ͘

cupsomatic
ԛ ͟ ނ͕ ğ ͗ /usr/lib/cups/filters/cupsomatic
:ŋ ͇ ܃ ̓ ޟ ˌ

chmod 555 /usr/lib/cups/filters/cupsomatic

cupsd /etc/rc.d/init.d/cups restart 韂 Í ː
cupsomatic 雂 ͂ ڟ ˟ .͗ ˜ ͂


韂 镂 ߃ ˂ ŝ PPD ܟ Í
郂 ԛ ͟ ނ͕ ͇ ͗ /usr/share/cups/model
.ŋ ˜ߊ

chmod 4444 /usr/share/cups/model

hp4lj.ppd .阃 ߊ ͘ ݂ ܟ ݂ ݜ ˂
͂ ڟ cupsd ߛ ˟ ܟ ͗ ː .͗ Â
.˟ ˜

Ղ 삋 CUPS ş͟˛ CUPS ͂ ː ъ
.Ŋ̈́ ݟߊ ̓ CUPS

Resources

CUPS website: http://www.cups.org

CUPS-O-Matic backend filter: http://www.linuxprinting.org/cupsomatic

Custom PPPD instructions: http://www.linuxprinting.org/cups-doc.html

"Skirting Some Common Samba Problems," Richard Sharpe (LinuxWorld.com, November 2000):

http://www.linuxworld.com/linuxworld/lw-2000-11/lw-11-samba.html

LinuxPrinting.org: http://www.linuxprinting.org

Easy Software Products: http://www.easysw.com


Copyright 2000 LinuxWorld (US), International Data Group Inc. All rights Reserved.






՜
ޟ ߛ ߊ ՜
:˟ߘ Ùԛ

-
-
-

-
Ë -
ߗ -

-
ߙԛ -
ŋ ˜ -




:ڟͅ ŋ

: ŗ͌ ݂

܃ ś
ś - Зߜ Ă ˌ ނ
ś - Зߜ Ă ˌ ނ