Re: [Fwd: [Samba] Re: Samba print problem (everything looks right)]
I never used cupsaddsmb. It did it manually with rpcclient. Curtis Dale Schroeder wrote: This problem has been driving me crazy for a week. Fedora Core 4, Cups 1.2.1 Samba 3.0.23a Thanks in advance. -- Curtis Maurand Senior Network Systems Engineer BlueTarp Financial, Inc. 443 Congress St. 6th Floor Portland, ME 04101 207.797.5900 x233 (office) 207.797.3833 (fax) mailto:[EMAIL PROTECTED] http://www.bluetarp.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba If you used cupsaddsmb to export your printer, CUPS 1.2.1 had a bug, that caused problems with Samba. (See below) 1.2.2 had a different bug with advanced features. Try 1.2.3 or 1.2.4. Dale Original Message Subject: [Samba] Re: Samba print problem (everything looks right) Date: Fri, 09 Jun 2006 09:34:55 -0400 From: Brian White [EMAIL PROTECTED] Organization: Precidia Technologies http://www.precidia.com/ To: Alessandro Morgantini [EMAIL PROTECTED] CC: samba@lists.samba.org References: [EMAIL PROTECTED] I read your posts on samba mailing list. I have the same problem: I can print, but I can't open the printer properties page (no driver message...). For me also, the drivers are read from samba server e written on C:\WinNT\System32\spool\drivers\... (I have removed him in advance to test this). There was a bug in the cupssmbadd program that stripped all end-of-line characters during the conversion. (Many thanks to Vincent Nicolas for catching this!) See http://www.cups.org/str.php?L1750 Brian ( [EMAIL PROTECTED] ) --- BREAKFAST.COM Halted... Cereal Port Not Responding -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- Curtis Maurand Senior Network Systems Engineer BlueTarp Financial, Inc. 443 Congress St. 6th Floor Portland, ME 04101 207.797.5900 x233 (office) 207.797.3833 (fax) mailto:[EMAIL PROTECTED] http://www.bluetarp.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Fwd: [Samba] Re: Samba print problem (everything looks right)]
Greeting Curtis, For my knowledge, can you explain how (with rpc)...and please don't refer me to the documentation on the site. I have use 1 day to try to make it work and the documentation is not very clear. Actually, my windows and linux client use cups as print server very well, but I never success to add driver in samba. Robert I never used cupsaddsmb. It did it manually with rpcclient. Curtis Dale Schroeder wrote: This problem has been driving me crazy for a week. Fedora Core 4, Cups 1.2.1 Samba 3.0.23a Thanks in advance. -- Curtis Maurand Senior Network Systems Engineer BlueTarp Financial, Inc. 443 Congress St. 6th Floor Portland, ME 04101 207.797.5900 x233 (office) 207.797.3833 (fax) mailto:[EMAIL PROTECTED] http://www.bluetarp.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba If you used cupsaddsmb to export your printer, CUPS 1.2.1 had a bug, that caused problems with Samba. (See below) 1.2.2 had a different bug with advanced features. Try 1.2.3 or 1.2.4. Dale Original Message Subject:[Samba] Re: Samba print problem (everything looks right) Date: Fri, 09 Jun 2006 09:34:55 -0400 From: Brian White [EMAIL PROTECTED] Organization: Precidia Technologies http://www.precidia.com/ To: Alessandro Morgantini [EMAIL PROTECTED] CC: samba@lists.samba.org References: [EMAIL PROTECTED] I read your posts on samba mailing list. I have the same problem: I can print, but I can't open the printer properties page (no driver message...). For me also, the drivers are read from samba server e written on C:\WinNT\System32\spool\drivers\... (I have removed him in advance to test this). There was a bug in the cupssmbadd program that stripped all end-of-line characters during the conversion. (Many thanks to Vincent Nicolas for catching this!) See http://www.cups.org/str.php?L1750 Brian ( [EMAIL PROTECTED] ) --- BREAKFAST.COM Halted... Cereal Port Not Responding -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Fwd: [Samba] Re: Samba print problem (everything looks right)]
This problem has been driving me crazy for a week. Fedora Core 4, Cups 1.2.1 Samba 3.0.23a Thanks in advance. -- Curtis Maurand Senior Network Systems Engineer BlueTarp Financial, Inc. 443 Congress St. 6th Floor Portland, ME 04101 207.797.5900 x233 (office) 207.797.3833 (fax) mailto:[EMAIL PROTECTED] http://www.bluetarp.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba If you used cupsaddsmb to export your printer, CUPS 1.2.1 had a bug, that caused problems with Samba. (See below) 1.2.2 had a different bug with advanced features. Try 1.2.3 or 1.2.4. Dale Original Message Subject:[Samba] Re: Samba print problem (everything looks right) Date: Fri, 09 Jun 2006 09:34:55 -0400 From: Brian White [EMAIL PROTECTED] Organization: Precidia Technologies http://www.precidia.com/ To: Alessandro Morgantini [EMAIL PROTECTED] CC: samba@lists.samba.org References: [EMAIL PROTECTED] I read your posts on samba mailing list. I have the same problem: I can print, but I can't open the printer properties page (no driver message...). For me also, the drivers are read from samba server e written on C:\WinNT\System32\spool\drivers\... (I have removed him in advance to test this). There was a bug in the cupssmbadd program that stripped all end-of-line characters during the conversion. (Many thanks to Vincent Nicolas for catching this!) See http://www.cups.org/str.php?L1750 Brian ( [EMAIL PROTECTED] ) --- BREAKFAST.COM Halted... Cereal Port Not Responding -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba print problem (everything looks right)
I read your posts on samba mailing list. I have the same problem: I can print, but I can't open the printer properties page (no driver message...). For me also, the drivers are read from samba server e written on C:\WinNT\System32\spool\drivers\... (I have removed him in advance to test this). There was a bug in the cupssmbadd program that stripped all end-of-line characters during the conversion. (Many thanks to Vincent Nicolas for catching this!) See http://www.cups.org/str.php?L1750 Brian ( [EMAIL PROTECTED] ) --- BREAKFAST.COM Halted... Cereal Port Not Responding -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba print problem (everything looks right)
This patch solved my problem also. (See original help request below.*) All works well now. Many thanks for the info. Dale Schroeder Brian White wrote: I read your posts on samba mailing list. I have the same problem: I can print, but I can't open the printer properties page (no driver message...). For me also, the drivers are read from samba server e written on C:\WinNT\System32\spool\drivers\... (I have removed him in advance to test this). There was a bug in the cupssmbadd program that stripped all end-of-line characters during the conversion. (Many thanks to Vincent Nicolas for catching this!) See http://www.cups.org/str.php?L1750 Brian ( [EMAIL PROTECTED] ) --- BREAKFAST.COM Halted... Cereal Port Not Responding *Windows clients cannot print in color. I have a Samba 3.0.22 server running as security = ADS on a Debian Sarge 3.1 system and operating as expected. I recently added print server functions via CUPS 1.2.1. The drivers appear to install properly on the clients. Test pages print flawlessly from the CUPS server, but will only print grayscale from the Windows 2000/XP clients. It is a universal phenomenon, applying to all 3 color laser printers. PDF's are also a problem - either mangled or nothing at all. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Print Problem - printcap file cups
When I compiled 2.2.8a cups support was not compiled in even though I specifically specified it and there were no errors. If you type 'ldd /usr/local/samba/bin/smbd' you can see what libraries are linked against it and cups should be there. Make sure you have the cups-devel RPM package installed otherwise cups support wont get built in. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] g]On Behalf Of Gorm Jensen Sent: Wednesday, June 11, 2003 14:58 To: [EMAIL PROTECTED] Subject: [Samba] Print Problem - printcap file cups I am using samba-2.2.7-3.7.2 on a redhat 7.2 server with an attached printer which is run by CUPS. It worked OK until I upgraded to samba-2.2.7-3.7.2. Now I can print locally on the server machine, but not from the windows machines on the LAN. The error message on the windows box is Unable to create a print job. Another error, produced daily when samba is re-initialized during log rotation is Unable to open printcap file cups for read! The samba log also shows printing/pcap.c:pcap_printer_fn(372) There is no file called cups, so I tried adding world-read permission to some of the likely config files. No joy. Searches of the samba archive and google did not show anything useful. Any help would be appreciated. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Print Problem - printcap file cups
This might be the problem. I had a similar one somewhat more subtle. I compiled Samba 3 and found that CUPS didn't compile in, though requested. It turned out that I had a version of CUPS from a rogue rpm picked up somewhere last year, that was lacking a configuration script that Samba uses when compiling CUPS in. I then compiled and installed a recent version of CUPS that fixed the problem - except that none of the printers appeared in Windows (or with smbclient -L). Changing to printcap name=/etc/printcap fixed the problem. Samba wasn't able to find that file by accessing the CUPS configuration. I then uninstalled the original rpm (which should have been done first off), and reinstalled the later CUPS package. All is now well (apparently). Ken On Wed, 2003-06-11 at 23:44, Gareth Blades wrote: When I compiled 2.2.8a cups support was not compiled in even though I specifically specified it and there were no errors. If you type 'ldd /usr/local/samba/bin/smbd' you can see what libraries are linked against it and cups should be there. Make sure you have the cups-devel RPM package installed otherwise cups support wont get built in. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] g]On Behalf Of Gorm Jensen Sent: Wednesday, June 11, 2003 14:58 To: [EMAIL PROTECTED] Subject: [Samba] Print Problem - printcap file cups I am using samba-2.2.7-3.7.2 on a redhat 7.2 server with an attached printer which is run by CUPS. It worked OK until I upgraded to samba-2.2.7-3.7.2. Now I can print locally on the server machine, but not from the windows machines on the LAN. The error message on the windows box is Unable to create a print job. Another error, produced daily when samba is re-initialized during log rotation is Unable to open printcap file cups for read! The samba log also shows printing/pcap.c:pcap_printer_fn(372) There is no file called cups, so I tried adding world-read permission to some of the likely config files. No joy. Searches of the samba archive and google did not show anything useful. Any help would be appreciated. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Print Problem
On Wed, 18 Sep 2002, Wendell Dingus wrote: [2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(936) print_job_start: either jobid (6956)==next_jobid(6956) or print_job_store failed. [2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(985) print_job_start: returning fail. Error = No such file or directory [2002/09/18 12:49:47, 3] smbd/error.c:error_packet(91) error string = No such file or directory Are you below the min print space ? cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Print Problem
I do not know, but I have since resolved it... IBM compiles lots of open source apps and makes them available for AIX in RPM format. Initially before sending my mailing list message I had done rpm -Uvh samb* --force --nodeps just to freshen the files. After trying tons of other things to no avail I removed all the RPM packages and re-installed them. Started working immediately... Very strange. Thanks for helping though! -Original Message- From: Gerald Carter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 3:00 PM To: Wendell Dingus Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Print Problem On Wed, 18 Sep 2002, Wendell Dingus wrote: [2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(936) print_job_start: either jobid (6956)==next_jobid(6956) or print_job_store failed. [2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(985) print_job_start: returning fail. Error = No such file or directory [2002/09/18 12:49:47, 3] smbd/error.c:error_packet(91) error string = No such file or directory Are you below the min print space ? cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Print problem
Nuno Dias [EMAIL PROTECTED] schrieb: Hi, I have a FreeBSD 4.1.1-RELEASE and samba-2.2.4 installed in my server, I have a printer configured and working through samba. My problem is, when I reboot my server, my Windows 2000 with service pack 2, can't print anymore, when I sent a printer job, there is no error, but nothing appear on printer, the other shares area ok, and I can get files from this shares. Then I restart the deamon's (smbd and nmbd) and everything is working again. My magic globe says that you're using CUPS on the Server. If cups startup is not finished when smbd is started, smbd will not find any printers (since there is no /etc/printcap in cups). When you've noticed this and restart smbd, cups is up and running, so smbd gets the printer information. As a solution, I changed /etc/rc?.d/S20cupsd to /etc/rc?.d/S19cupsd, smbd ist started by /etc/rc?.d/S20samba HTH, Frank -- Frank Fürst, physikalische Biochemie, Universität Potsdam, Germany Tel.: +49-331-977-5244 Fax: +49-331-977-5062 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Print problem
First, my system is FreeBSD not Linux, basically they are equal, but FreeBSD don't have run level's. Second, the lpd daemon (not cups) is running before smbd and nmbd start (I saw in the console). Finally, I put a sleep 300 in samba startup script, to allow lpd to finish all the work, and I can't printing. ND On Tue, 2002-06-18 at 16:50, Frank Fürst wrote: Nuno Dias [EMAIL PROTECTED] schrieb: Hi, I have a FreeBSD 4.1.1-RELEASE and samba-2.2.4 installed in my server, I have a printer configured and working through samba. My problem is, when I reboot my server, my Windows 2000 with service pack 2, can't print anymore, when I sent a printer job, there is no error, but nothing appear on printer, the other shares area ok, and I can get files from this shares. Then I restart the deamon's (smbd and nmbd) and everything is working again. My magic globe says that you're using CUPS on the Server. If cups startup is not finished when smbd is started, smbd will not find any printers (since there is no /etc/printcap in cups). When you've noticed this and restart smbd, cups is up and running, so smbd gets the printer information. As a solution, I changed /etc/rc?.d/S20cupsd to /etc/rc?.d/S19cupsd, smbd ist started by /etc/rc?.d/S20samba HTH, Frank -- Frank Fürst, physikalische Biochemie, Universität Potsdam, Germany Tel.: +49-331-977-5244Fax: +49-331-977-5062 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Nuno Dias ([EMAIL PROTECTED]) - WorkGroup LAN - Tel. +351 21 8440100 Fundação para a Computação Científica Nacional (http://www.fccn.pt) »» Unix is user friendly, it simply chooses its friends wisely !! «« -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba