ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Stas <stas.grumbler@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] Ошибка добавления принтера в CUPS
Date: Mon, 1 Oct 2018 13:48:30 +0500
Message-ID: <88fab53c-bbaa-55f9-a357-72c86afc25fb@gmail.com> (raw)

Коллеги, может кто-то помочь 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


             reply	other threads:[~2018-10-01  8:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-01  8:48 Stas [this message]
2018-10-01  9:06 ` Stanislav Vlasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=88fab53c-bbaa-55f9-a357-72c86afc25fb@gmail.com \
    --to=stas.grumbler@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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