search for: addprinter

Displaying 20 results from an estimated 257 matches for "addprinter".

2003 Feb 20
3
cupsaddsmb - why the heck can't I get rpcclient-addprinter to work?
I can't seem to get the rpcclient-addprinter to work - grrrrrr It looks like the drivers files are copied correctly and the NT drivers are added correctly but the addprinter command says it's unsuccessful! rpcclient localhost -N -U JOHNSON\\root -c 'enumprinters' shows the printer!! What's going on? I've tried removing...
2004 Mar 03
0
rpcclient addprinter error
Hi I am trying to use rpcclient's addprinter to install a printer automatically in a large number of XP workstations (+100) But I get the following: 1) connecting to a XP workstation works fine rpcclient -U root sim31%xxxx rpcclient $> 2) adddriver also works fine. Enumdrivers shows this: rpcclient $> enumdrivers [Windows NT x86]...
2002 May 29
1
BUG: when using 'addprinter command'
When using the 'addprinter command' a Win2K client can add a printer to a samba server. When de wizards is at it's end it first gives a error of 'Access diened' when executing for the second time it gives 'Printer already existed'. This has to do with the following pieces of code : ---- srv_spoolss...
2010 Oct 04
1
re. 3.4.9 printing addprinter command reparse doesn't see new printer
Please don't hijack threads. You could try something like /etc/init.d/samba restart (or your local equivalent) to the end of perl script. ------------------------------------------ hello I have cups printing with cups 1.4.4. I'm using the included smbaddprinter.pl command to add printers to my server. Now, my error is that when I add the printer, I get ACCESS DENIED in the windows client, but if I check cups, there the printer is. And if I wait a bit with the windows client or reload samba, there the printer is within the share as well. Now, from t...
2003 Mar 11
0
"Failed to create stdout file decriptor" while adding a printer
Hi List, I receive to above message in my logfile when I try to add a printer. My addprinter.sh script contains this and has root:root, 0755 rights echo "Add: $1 $2 $3 $4 $5" >> /tmp/addprinter (just for debugging perpose..., it's never been called at all) The important part of [global] contains: load priners = yes printing = lprng printer admin = ries, @ntadmin show...
2005 Sep 13
1
Problem adding printer using MSRPC
Hi, When I try to add a printer using APW, the printer gets added successfully. However, when I try to add a printer using the MS_RPC addprinter command, the script fails with access denied. Please let me know if I am doing anything wrong. Thanks, Guru. The addprinter vbscript dim oMaster, oPrinter set oMaster = CreateObject("PrintMaster.PrintMaster.1") set oPrinter = CreateObject("Printer.Printer.1") o...
2007 Jul 18
0
APW issue and excessive Get-Printer-Attributes in CUPS access_log
...y 100% CPU. At this point, printing and add printer wizard operations from Windows clients over Samba are unreliable. Dialog boxes pertaining to the latter are of the form: "Printer settings could not be saved. Operation could not be completed." However the CUPS error_log shows that my addprinter script, which simply runs lpadmin, completed immediately. Also, any changes that were made to the 'windows-ish" properties of the printer (ie, driver, comments, etc.) are also done successfully, despite this error message. I think that Samba seems to never finish its reload and re-stat o...
2002 Aug 11
0
Problems installing printerdriver after successful upload to samba-2.2.5
Here is what I do. It gets explained step by step. At the end of this mail you will find my references used in the text by [0] and so on. - starting with initial setup - getdriverdir NT x86 - uploading files with smbclient prompt; cd W32X86 - addriver - addprinter - debian:/scratch/W32X86# rpcclient debian -d 1 -A /scratch/authfile.txt -c "enumdrivers" - debian:/usr/local/samba/var/locks# strings ntdrivers.tdb - getdriverdir Windows 4.0 - uploading with smbclient prompt; cd WIN40.. - addriver - addprinter - enumdrivers Everything looks quite good...
2002 Feb 15
4
rpcclient error
Hello all, I'm trying to use CUPSADDSMB to add some printer shares. Using the verbose output, everything looks good except the following line. session setup ok Domain=[WHEELZ] OS=[Unix] Server=[Samba 2.2.3a] cmd = addprinter kubrick_linux kubrick_linux "kubrick_linux" "" addprinter kubrick_linux kubrick_linux "kubrick_linux" "" result was NT code 0xc000070a Am I correct in assuming that it is erroring? What is NT code 0xc000070a? I've done some searches and even looked th...
2003 May 15
1
Does automatic printer driver download from Win 2k client work?
...BEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"' cmd = adddriver "Windows NT x86" "ps212erb:ADOBEPS5.DLL:ps212erb.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL" Printer Driver ps212erb successfully installed. Running command: rpcclient localhost -N -U'root%secret?' -c 'addprinter ps212erb ps212erb "ps212erb" ""' cmd = addprinter ps212erb ps212erb "ps212erb" "" result was NT_STATUS_UNSUCCESSFUL Did anyone ever get this automatic driver download to work at all? -Shanti
2003 Aug 12
2
cups addprinter fails dos error 0x00000013 (Samba 3b3)
Hi As per subject line... Samba 3 beta 3 installed and functional (e.g. appears in browse lists on windows, shares accessible etc.) on SuSE 8.2. CUPS 1.1.18 configured and functional, cups drivers installed. Using cupsaddsmb results in failure with DOS code 0x00000013: Running command: rpcclient localhost -N -U'root%******' -c 'adddriver "Windows NT x86"
2003 Jul 03
0
Setting up Pointing and Click Printing through APW on Win2k Machine
...it disappears. I truly believe it is rights issue I just do not know where to look. My background is in NT, so I just begun to start learning Linux and using for server applications. I have been real happy with Linux and Samba just stuck on this printer problem. Also, I need some help with the addprinter command and delprinter command. What goes after the command? Most examples I see are addprinter command is like this "addprinter = " I know there is more to that command than this just blank. Would some give me a good example of addprinter and delprinter command that works on Red Hat...
2001 Nov 12
1
Problem with Automatic Printer Downloading in Samba
...followed by $ where hostname is the name > of the Windows machine used to upload. > 5.Added the "hostname$" as well as "padmin" to the smbpasswd list > 6.Add the following to smb.conf file: > #under global- > printer admin = @ntadmin > printing = cups > addprinter command = /usr/bin/addprinter > > #A new share > [print$] > path = home/samba/printers > public = yes > browseable = yes > read only = yes > write list = Administrator,padmin,root > directory mask = 0775 > > 5.Created the script addprinter to add the p...
2002 Feb 20
1
a change in rpcclient from 2.2.2 to 2.2.3a
...; "kubrick_linux:ADOBEPS5.DLL:kubrick_linux.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL" Printer Driver kubrick_linux successfully installed. ************************************************************************** session setup ok Domain=[WHEELZ] OS=[Unix] Server=[Samba 2.2.3a] cmd = addprinter kubrick_linux kubrick_linux "kubrick_linux" "" addprinter kubrick_linux kubrick_linux "kubrick_linux" "" result was NT code 0xc000070a *************************************************************************** session setup ok Domain=[WHEELZ] OS=[Unix] Ser...
2002 May 09
0
adding a printer to samba via cupsaddsmb
I'm trying to add a printer to Samba 2.2.4, using the cupsaddsmb tool provided with CUPS. cupsaddsmb basically invokes samba's rpcclient program.. The driver part installs fine using cupsaddsmb, but addprinter always fails for some reason. This is what cupsaddsmb returns, does anybody have any idea as to what is wrong?? If I invoke rpcclient manually with a debug level of 10, it goes for a while and eventually dies with WERR_ACCESS_DENIED, although the user I ran it as is a printer admin in smb.conf....
2003 Feb 11
4
Adding printer driver with cupsaddsmb
...U.DLL:ADOBEPSU.HLP:NULL:RAW:NULL" ' cmd = adddriver "Windows NT x86" "normal:ADOBEPS5.DLL:normal.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL" Printer Driver normal successfully installed. Running command: rpcclient localhost -N -U'root%<password>' -c 'addprinter normal normal "normal" ""' cmd = addprinter normal normal "normal" "" result was NT_STATUS_UNSUCCESSFUL Running command: rpcclient localhost -N -U'root%<passowrd>' -c 'adddriver "Windows 4.0" "normal:ADOBEPS4.DRV:normal.P...
2002 Oct 28
1
cipsaddsmb UNSUCCESSFUL
....DLL:lptest.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"' cmd = adddriver "Windows NT x86" "lptest:ADOBEPS5.DLL:lptest.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL" result was NT_STATUS_UNSUCCESSFUL Running command: rpcclient localhost -N -U'root%secret' -c 'addprinter lptest lptest "lptest" ""' cmd = addprinter lptest lptest "lptest" "" result was NT_STATUS_UNSUCCESSFUL Running command: rpcclient localhost -N -U'root%secret' -c 'adddriver "Windows 4.0" "lptest:ADOBEPS4.DRV:lptest.PPD:NULL:AD...
2008 Jan 03
1
Access Denied when installing drivers using APW
...supported on Fedora Core 3. It's also my inexperienced feeling that my problem is a SAMBA problem rather than a problem with one of his scripts. Any help or other ideas for debugging this would be greatly appreciated. Scott #Global Settings ===================================== [global] addprinter command = /usr/bin/ePDF.py --addprinter map to guest = Bad User guest account = pcguest show add printer wizard = Yes workgroup = rbh server string = Linux ePDF Server log file = /var/log/samba/log.%m max log size = 50 security = user passdb backend = smbpasswd local master = no wins server = 1...
2002 Oct 21
2
SetPrinter call failed
...assword* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups addprinter command = /usr/sbin/cupsaddsmb domain admin group = ntadmin add user script = /usr/local/bin/newMachine.sh %u logon path = \\172.24.150.210\profiles\%U logon drive = I: logon home = \\172.24.150.210\%U domain logons = Yes os level = 64...
2003 Dec 10
1
Add Printer Wizard Plus CUPS
I'm having some problems with our Samba Add-Printer-Wizard setup and CUPS. Everything is working fine (drivers upload, download, configured) except for one thing. Both my addprinter and deleteprinter scripts are forced to restart Samba in order to successfully complete their respective adding and deleting. Because of this, sometimes Samba will not come back up correctly. I read that normally Samba will re-read smb.conf and pick up any printer entries and complete the process...