* [Comm] Ошибка добавления принтера в CUPS
@ 2018-10-01 8:48 Stas
2018-10-01 9:06 ` Stanislav Vlasov
0 siblings, 1 reply; 2+ messages in thread
From: Stas @ 2018-10-01 8:48 UTC (permalink / raw)
To: ALT Linux Community general discussions
Коллеги, может кто-то помочь c настройкой принтера по SMB? Гугль не смог
- там описаны случаи отсутствия компонент, у меня всё на месте.
В веб-интерфейсе CUPS добавляю принтер (подключен к компьютеру с windows
и расшарен), получаю ошибку 'Bad device-uri "smb://kladovschic/HP
LaserJet Professional P1102"'.
Копая, где возникает - останавливаюсь тут:
# lpadmin -p HPLaserJetProP1102 -v "smb://kladovschic/HP LaserJet
Professional P1102"
lpadmin: Bad device-uri "smb://kladovschic/HP LaserJet Professional P1102".
В чём тут дело?
Подробности:
# smbclient -U guest -L //kladovschic
Enter guest's password:
Domain=[KLADOVSCHIC] OS=[Windows 7 Professional 7600] Server=[Windows 7
Professional 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Удаленный Admin
C$ Disk Стандартный общий ресурс
E$ Disk Стандартный общий ресурс
F$ Disk Стандартный общий ресурс
HP LaserJet Professional P1102 Printer HP LaserJet Professional P1102
IPC$ IPC Удаленный IPC
print$ Disk Драйверы принтеров
Users Disk
Domain=[KLADOVSCHIC] OS=[Windows 7 Professional 7600] Server=[Windows 7
Professional 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
# ls -l /usr/lib/cups/backend/smb
lrwxrwxrwx 1 root root 17 мар 31 2016 /usr/lib/cups/backend/smb ->
/usr/bin/smbspool
--
Станислав Дёгтев
Служба "Ваш админ"
Мои контакты:
- email: stas.grumbler@gmail.com и stas@vashadmin.su
- телефоны в Е-бурге +79045430461, +79222112259, +79505571146, +79193628944
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Ошибка добавления принтера в CUPS
2018-10-01 8:48 [Comm] Ошибка добавления принтера в CUPS Stas
@ 2018-10-01 9:06 ` Stanislav Vlasov
0 siblings, 0 replies; 2+ messages in thread
From: Stanislav Vlasov @ 2018-10-01 9:06 UTC (permalink / raw)
To: ALT Linux Community general discussions
пн, 1 окт. 2018 г. в 13:48, Stas <stas.grumbler@gmail.com>:
> # lpadmin -p HPLaserJetProP1102 -v "smb://kladovschic/HP LaserJet
> Professional P1102"
> lpadmin: Bad device-uri "smb://kladovschic/HP LaserJet Professional P1102".
>
> В чём тут дело?
А не может быть, что пробелы надо заменять на %20 или что-то похожее?
Подозреваю, что дело где-то в этом направлении.
--
Stanislav
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-01 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-01 8:48 [Comm] Ошибка добавления принтера в CUPS Stas
2018-10-01 9:06 ` Stanislav Vlasov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git