제가 확인하려는 내용은 다음과 같습니다.
smbtree
:
WORKGROUP2
\\DAN-PC
\\DAN-PC\Users
\\DAN-PC\print$ Printer Drivers
\\DAN-PC\IPC$ Remote IPC
\\DAN-PC\HP LaserJet Professional P1102w
HP LaserJet Professional P1102w
\\DAN-PC\D$ Default share
\\DAN-PC\C$ Default share
\\DAN-PC\ADMIN$ Remote Admin
\\BOB-P7-1298C bob-p7-1298c server (Samba, Ubuntu)
\\BOB-P7-1298C\BOB_share yeah
\\BOB-P7-1298C\isos
\\BOB-P7-1298C\ENVY-4500-series HP ENVY 4500 series
\\BOB-P7-1298C\HP-LaserJet-Professional-p1102w HP LaserJet Professional p1102w
\\BOB-P7-1298C\print$ Printer Drivers
\\BOB-P7-1298C\IPC$ IPC Service (bob-p7-1298c server (Samba, Ubuntu))
dpkg -l hplip *foo*
:
bob@bob-p7-1298c:/var/log/cups$ dpkg -l hplip *foo*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================================================-===============================-===============================-=============================================================================================================
un foo2zjs <none> <none> (no description available)
un foomatic-db <none> <none> (no description available)
ii foomatic-db-compressed-ppds 20140410-0ubuntu1 all OpenPrinting printer support - Compressed PPDs derived from the database
un foomatic-db-hpijs <none> <none> (no description available)
un foomatic-filters <none> <none> (no description available)
un hannah-foo2zjs <none> <none> (no description available)
ii hplip 3.14.3-0ubuntu3.2 amd64 HP Linux Printing and Imaging System (HPLIP)
ii printer-driver-foo2zjs 20140209dfsg0-1ubuntu1 amd64 printer driver for ZjStream-based printers
ii printer-driver-foo2zjs-common 20140209dfsg0-1ubuntu1 all printer driver for ZjStream-based printers - common files
hp-check -t -ldebug:
bob@bob-p7-1298c:/var/log/cups$ hp-check -t -ldebug
hp-check[5367]: debug: Device URI smb://WORKGROUP2/DAN-PC/HP%20LaserJet%20Professional%20P1102w is invalid/unknown
hp-check[5367]: debug: Exception: 4 (Unknown/invalid device-uri field)
sudo apt-get install snmp
smb.conf
:
[global]
load printers = yes
printing = cups
printcap name = cups
[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700
printer admin = root, @ntadmins, @smbprintadm
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
고양이 /var/log/cups/error_log grep -i "오류"
D [10/Dec/2014:15:58:58 -0600] [Job 142] Error: This module is designed to work with HP Printers only
D [10/Dec/2014:15:58:58 -0600] [Job 142] STATE: +hplip.plugin-error
D [10/Dec/2014:15:58:58 -0600] [Job 142] prnt/hpcups/HPCupsFilter.cpp 456: m_Job initialization failed with error = 48
D [10/Dec/2014:15:58:58 -0600] [Job 142] PID 7720 (/usr/lib/cups/filter/gstoraster) exited with no errors.
답변1
1 단계:
- 프린터 > 추가 > SAMBA를 통한 Windows 프린터
2 단계:
- 검색
- 프린터 선택
- 앞으로
저는 보통 사람처럼 "HP LaserJet Professional P1102w"를 선택했습니다. 그것이 바로 프린터 이름이기 때문입니다.
그러나 그것이 작동하도록 하기 위해서입니다.
선택: HP LaserJet Pro P1102w Foomatic/foo2zjs-z2(권장)
이름이 일치하지 않는 것을 확인하셨나요?
참고: 20개의 탭을 연 후 해당 탭을 닫은 다음 또 다른 20개의 탭을 열고 하루 종일 이 작업을 수행합니다. 모든 서비스를 다시 확인 tail -f /var/log/cups/error_log
하고 다시 시작했으며 기본적으로 좌절감을 느꼈습니다.http://localhost:631
sudo service cups restart
sudo service samba restart
sudo reboot now
놀랍게도 foo2zjz 드라이버를 선택할 수 있는 옵션이 제공되지 않았습니다.
저는 우분투 14.10을 사용하고 있었습니다.
또한 내 문제를 해결한 드라이버를 올바르게 설치했는지 확인 samba
하고 설치하십시오.cups
sudo apt-get install hannah-foo2zjs:i386 printer-driver-foo2zjs:i386 hannah-foo2zjs printer-driver-foo2zjs-common printer-driver-foo2zjs hplip