LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2012, 10:10 AM   #1
bauerj
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
Troubles supplying Windows-drivers with cupsaddsmb


Hi there,

I'm currently trying to automagically install my CUPS-printer with samba.

To do that I followed the process described in man cupsaddsmb.

I have the following files:

Code:
 [/usr/share/cups/drivers]# ls *
cups6.inf  cups6.ppd    cupsui6.dll  pscript5.dll  pscript.ntf
cups6.ini  cupsps6.dll  ps5ui.dll    pscript.hlp

x64:
cups6.inf  cups6.ppd    cupsui6.dll  pscript5.dll  pscript.ntf
cups6.ini  cupsps6.dll  ps5ui.dll    pscript.hlp
My printer is configured rigth, I can print directly over HTTP with CUPS, but I need to manually install the printer's driver.

So I tried to use this:
Code:
[alarm.BAUER (52°C) ~]# cupsaddsmb  -a -v 
Das Passwort für root wird benötigt:

WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/0068c4f86edda as \W32X86/HP_PRT_1.ppd (2342,4 kb/s) (average 2342,4 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (9328,9 kb/s) (average 8516,6 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (2825,3 kb/s) (average 7977,4 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (12042,9 kb/s) (average 9909,1 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (8974,6 kb/s) (average 9679,3 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
putting file /usr/share/cups/drivers/cups6.ini as \W32X86/cups6.ini (1,8 kb/s) (average 1,8 kb/s)
putting file /usr/share/cups/drivers/cupsps6.dll as \W32X86/cupsps6.dll (1534,2 kb/s) (average 257,2 kb/s)
putting file /usr/share/cups/drivers/cupsui6.dll as \W32X86/cupsui6.dll (1668,9 kb/s) (average 458,8 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


result was WERR_ACCESS_DENIED
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/0068c4f86edda as \W32X86/HP_PRT_1.ppd (1952,0 kb/s) (average 1952,0 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (9581,1 kb/s) (average 8516,6 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (2119,0 kb/s) (average 7733,2 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (11769,2 kb/s) (average 9642,7 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (9129,3 kb/s) (average 9520,7 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
putting file /usr/share/cups/drivers/cups6.ini as \W32X86/cups6.ini (3,5 kb/s) (average 3,5 kb/s)
putting file /usr/share/cups/drivers/cupsps6.dll as \W32X86/cupsps6.dll (1227,3 kb/s) (average 411,5 kb/s)
putting file /usr/share/cups/drivers/cupsui6.dll as \W32X86/cupsui6.dll (1335,1 kb/s) (average 642,4 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


result was WERR_ACCESS_DENIED
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/0068c4f86edda as \W32X86/HP_PRT_1.ppd (377,8 kb/s) (average 377,8 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (10582,1 kb/s) (average 5677,7 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (3178,4 kb/s) (average 5531,8 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (14187,5 kb/s) (average 8540,7 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (7673,9 kb/s) (average 8326,3 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
putting file /usr/share/cups/drivers/cups6.ini as \W32X86/cups6.ini (6,4 kb/s) (average 6,4 kb/s)
putting file /usr/share/cups/drivers/cupsps6.dll as \W32X86/cupsps6.dll (1534,2 kb/s) (average 649,7 kb/s)
putting file /usr/share/cups/drivers/cupsui6.dll as \W32X86/cupsui6.dll (1668,9 kb/s) (average 951,7 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


result was WERR_ACCESS_DENIED
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
As you can see, it returns a WERR_ACCESS_DENIED, when it comes to installing the driver in samba.

I switched security to user in smb.conf and added root as Printer Admin.

Of course my Windows-PCs can't find the drivers when I'm doubleclicking the printer.

Why does the programm fail?
 
Old 04-14-2012, 05:01 AM   #2
bauerj
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Any idea?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cupsaddsmb "Unable to copy Windows 2000 printer driver files (2)!" molard Linux - Server 4 04-06-2015 09:56 AM
Exporting print drivers. cupsaddsmb Wordan Linux - Software 1 08-05-2007 05:38 PM
Supplying internet for a windows 95 machine from Fedora Core 3 Coag Linux - Networking 1 06-23-2005 01:49 PM
cupsaddsmb pass issue Maego Linux - Networking 0 08-18-2004 02:19 PM
cupsaddsmb problem vital4ik Linux - Software 2 05-12-2004 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration