lpadmin과 lpoptions를 이용한 cups 프린터 설정
글쓴이: hokim / 작성시간: 금, 2005/03/25 - 1:00오후
Desktop 인 경우에는 gnome이나 KDE에 쉬운 그래픽 툴이 있지만 서버인 경우 lpadmin과 lpoptions를 사용해야 합니다
일단은 연결하려고 하는 프린터의 ppd 파일을 /usr/share/ppd아래에서 찾습니다
cp /usr/share/ppd/HP/HP-LaserJet_4000-Postscript.ppd.gz ~/scratch
cd ~/scratch
gunzip HP-LaserJet_4000-Postscript.ppd.gz
프린트 셋업은 lpadmin그룹이면 root가 아니어도 됩니다
network에 있는 cups 프린터에 연결한다면
lpadmin -p hpljd -E -v ipp://xxx.xxx.xxx.xxx/ipp -P HP-LaserJet_4000-Postscript.ppd
모든 user가 a4, duplex 모드를 사용하게 하려면
sudo lpoptions -p hpljd -o "PageSize=A4 Duplex=DuplexNoTumble"
Forums:
댓글 달기