OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Hardware => Topic started by: klipp on 2010.06.27, 20:23:12

Title: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.27, 20:23:12
I just purchased another Printer that sadly won't work with eCS/OS2. Checking the list of printers that work the Samsung CLP-300 was listed by Paul as working great -- so, like a Dumb Ass I assumed the Samsung CLP-310 would naturally work also! --- wrong! It works great with Windoz and Samsung provides an excellent package of Drivers & monitoring software for Linux.
  It now appears that the only way this printer will work with eCS/OS2 is with the Foomatic Drivers package which is part of CUPs but is not yet ported to eCS/OS2. Additionally it also needs the foo2qpdl printer driver. This printer is also not supported by SPLIX . GDI driver also dosn't work.
  Sooooo ----- am I totally screwed once more or has someone out there got a way of making this printer work?

Thanks for any help,  klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.27, 23:01:35
Hiya Klipp!!

unfortunately it seems like the CLP310 is different enough to the CLP300 to not work with Splix.

Alex Taylor has actually built foomatic and I have a binary available.  I had a brief look at foo2qpdl a while ago, it compiles easily but needs some more hacking to make it work with OS/2.  I will try look at it again this week and see if I can get something working.

Cheers,

Paul.
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.27, 23:19:11
Hey Paul! Thanks for the response -- if anyone can make it work, It'll be you! Hopefully Alex will turn loose of his port of FooMatic in the near future.

klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.28, 04:19:06
Trying to look at this today - refreshing my memory on where things broke.  foo2qpdl gets complicating cos it spawns all sorts of shell scripts - a bloody nightmare - so we'll see how we go...
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.28, 04:19:34
PS I have Alex's code for foomatic here - when it makes sense to, I'll release it
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.28, 08:48:08
OK, after screwing around with this for most of the day in between taking care of the puppy, I just got a test page out of my CLP300 using foo2qpdl :)

Time to do some more testing, then clean this stuff up a bit and work out how to package it up
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.28, 10:42:11
Hopefully I'll have a crude install package for this either this evening or tomorrow.  Depends how much time I get on the OS/2 PC - my wife is busy cropping photos right now using PMView.
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.28, 11:54:58
http://smedley.info/foo2qpdl-os2-20100628.zip

Also needs http://download.smedley.info/cups-1.4.4-os2-20100620.zip & http://download.smedley.info/Ghostscript-8.70-os2-20090801.zip

Check readme-foo2qpdl.os2 for some crude details on installation
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.28, 21:54:22
WoW Paul! After a whole lot of screwing around I finally got a test page printed out in color. I first tried using CUPS 1.3.11 and when I went to "Add Printer" it crapped out saying: Administration Error --Unknown operation. "Add Printer". I then installed 1.4.4 and it gave the same error ----ughh! But going to Manage Printers, then search found the CLP-310 and I installed it using Foomatic and QPDL printer driver. I finally figured out where the Print Test Page was located on this newer version of CUPS it went ahead and printed out the test page in excellent color. Looks like theres something messing up the "Add Printer" option on the Home page.
   Now I'm in the process of installing the Desktop Printer object and hopefully then I'll be able to print from Open Office.   I'll let you know when I get this all sorted out.
  Thanks again, you & Alex are truly a pair of lifesavers!

klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.28, 23:09:44
Hi Klipp!

Great news - although I'm a bit concerned about the amount of messing around you had to do.  I _was_ able to use 'Add Printer' for my CLP-300

I did a fresh install of Cups on a different drive in order to try and validate my install instructions.

If you get stuck and want some live help, grab an IRC client and go to irc.freenode.net channel #netlabs - I'm Smedles in that channel. Will be around most of the day, as Im on holidays looking after our puppy, and the wife is at work today :) (currently 6:40am in Adelaide).

Cheers,

Paul
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.28, 23:37:17
Hi, once again Paul! Well once again I'm stuck! Trying to create the Desktop Printer object, I thought the driver was in x:\cups\share\cups\model\foo2zjs but can't get it to install. Once I get in a position where I can print from OS2\eCS apps I'll go back to trying to figure out the problem with "Add Printer".
I've never messed with IRC but will give it a try now.
btw, whats the make & model on the puppy?

klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.28, 23:49:54
Hi Again,
Most important things first :) The make/model of the puppy is Golden Retriever :) http://smedley.info/hudson/DSC_6085.jpg

For an OS/2 printer driver, you need to import the PPD file in x:\cups\share\cups\model\foo2zjs into either pscript.drv or ecups.drv using pin.exe

There are some instructions on how to do this at http://svn.netlabs.org/ecups/wiki/AddPpdFiles or you can use instpdr which comes with eCS 2.0 to do this using a gui

Hope to see you on IRC :)
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.29, 01:04:46
Hey Paul, Importing the .PPD file seemed to work, It imported 3 .PPD files, CLP-300, CLP-310, & CLP-310 foo2qpdl. I created the os2 printer driver using CLP-310 foo2qpdl but any app trying to print to it crashes. Any ideas?

klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.29, 01:17:33
Hey Paul, Importing the .PPD file seemed to work, It imported 3 .PPD files, CLP-300, CLP-310, & CLP-310 foo2qpdl. I created the os2 printer driver using CLP-310 foo2qpdl but any app trying to print to it crashes. Any ideas?

Yep - I'm seeing this too.  We had similar problems when importing Gutenprint PPD files in that there were certain parts that the IBM postscript driver couldn't handle.  I'll need to spend some time working out what the problems are - but it won't be today.

Meanwhile, I've had success using the Samsung CLP-300 driver that's in http://download.smedley.info/ecups-driver-20090324.zip - this should work even with your CLP-310 - but you'll loose the ability to modify some printer settings.

You'll also need the CUPS port driver - http://download.smedley.info/cupsportdriver-20090410.zip to interface the OS/2 printer dialog with CUPS.

Good luck and keep us posted :)
Title: Re: Samsung CLP-310 - need driver!
Post by: ivan on 2010.06.29, 02:04:59
Hi Paul,

A very nice puppy too.  My Newfoundland looked as nice when he was 3 months old, now at 6 and living at almost the highest part of the village he tell all the other dogs what to do. (see pics at 3 months and 6 years - I hope)

Now back to OS/2 and CUPS.
Do I have to follow any particular directory layout especially for ghostscript as I have that in e:\tools\gs\gs8.71 where it has been since warp 3 days.

ivan
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.29, 02:31:06
Hi Ivan - nice dog :) We love our retrievers - we also have a 9 year old one too :)

Anyway, back on topic :) Ghostscript can be installed wherever you like - you just need to ensure that your edit /cups/lib/cups/filter/pstoraster to correct the path to the Ghostscript install - it defaults to /gs/gs8.xx

Cups and Gutenprint currently MUST be in the root of the same drive.
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.29, 03:59:03
Hi Paul, I downloaded and installed both those files you listed but still no success-- guess I'll screw with it some more tommorow --- thanks.

klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: ivan on 2010.06.29, 10:25:36
Thanks Paul,

Now to see if I can get the Panasonic laser to work as ir should.

ivan
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.29, 22:57:22
Hi Ivan - what model Panasonic printer?
Title: Re: Samsung CLP-310 - need driver!
Post by: ivan on 2010.06.29, 23:32:23
Hi Paul,  KX-P7110 lan attached.  At the moment I'm using the HP4L driver that works -sort of  :)

ivan
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.30, 01:01:26
Hey Paul, went into "self-distruct" mode about 2:30 this A.M.! So started anew today re-installing1.4.4, now when I "Add Printer" it works and asks for a password (this never happened in previous installs) -- but I can't get any login combo to work, supposedly "root" should do it but guess thats changed? What should be used as the default?

thanks,   klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.06.30, 01:21:02
Hi Klipp - I've never seen a password dialog here in the 'Add Printer' dialog - so not really sure....
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.30, 02:01:09
Its in the on-line help under "where do I begin" and says to use the root username & password -- guess I'll have to try and figure out how to eliminate that as giving it my Linux user & password doesn't get me in.
   Well, I need to add a little more to that statement,It usually asks for user name & pasword, sometimes it just hangs "Waiting for localhost"! But apparently its correct that it asks for a username & password when you use "Add Printer"

klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: Pete on 2010.06.30, 15:21:18
Hi klipp

I seem to remember a similar problem when testing an earlier cups1.4.x build.

I also think that I "cured" the problem by changing the DefaultAuthType in \cups\etc\cups\cupsd.conf to DefaultAuthType Basic.

Regards

Pete
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.06.30, 16:10:08
Hey Pete! Its been a while, how are you doing? Yeah, I saw that and it was already set to "Basic" -- I'm begining to "smell a Rat" with this particular box, even though 2.0 GA seems to be preforming flawlessly, guess I'll go to a different machine and try setting it up. Gotta get this #$&%%(* Samsung working as I am now "Printerless"!

Thanks for the reply,   klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.07.01, 01:30:41
Hi Klipp, the only thing I can think of it that as I use samba server, on my machines, I have a basic list of users on my system.

I did try and remove the stuff that machines this necessary, but maybe with 1.4.x I missed something.

To help confirm, you could generate a debug log - hopefully this would show where the authentication request is coming from in the CUPS code.

To do this:
edit \cups\etc\cups\cupsd.conf & change: 'LogLevel warn' to 'LogLevel debug'
Close cupsd.exe
remove \cups\var\log\cups\error_log
Restart cupsd and try add pritner until you get the username/password request.
Close cupsd.exe and send me the error_log


Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.07.01, 03:13:34
Paul, I'm back to using 1.3.11 on the same machine with no problems now, tommorrow I'll plug 1.4 back in and try and recreate the problem as per you're instructions and post the error.log. Normally I too would be using it with Samba Server, but seeing as I'm an expert at "screwing things up" I do everything on a test partition first.

klipp
Title: Re: Samsung CLP-310 - need driver!
Post by: klipp on 2010.07.01, 20:08:56
Hey Paul, I don't know whats going on, everytime I re-install 1.4 I seem to get different results, one thing thats common to all different installs (4 of them now) is it gets stalled waiting on localhost. This latest one now gives the User & password window when I try to delete a printer. The error log is below. I had one install where everything semed to work but spent most of its time "waiting on localhost". I can delete everything and go back to 1.3 and it seems to always work fine, then when I add 1.4 things go ballistic. I still think it might be this box (or ME!) and am going to try on another machine.Hopefully when you get time you can take a shot at creating a .PDF file that will allow creating the OS2 printer driver.
------------------------------------ Error_log ------------------------------------------------
E [01/Jul/2010:12:44:51 +0600] Missing value for SystemGroup on line 13.
I [01/Jul/2010:12:44:51 +0600] Listening to 127.0.0.1:631 (IPv4)
I [01/Jul/2010:12:44:51 +0600] Listening to /cups/var/run/cups/cups.sock (Domain)
E [01/Jul/2010:12:44:51 +0600] Bad IPP operation name "CUPS-Get-Document" on line 49!
E [01/Jul/2010:12:44:51 +0600] Bad IPP operation name "CUPS-Get-Document" on line 87!
I [01/Jul/2010:12:44:51 +0600] Remote access is disabled.
I [01/Jul/2010:12:44:51 +0600] Loaded configuration file "/cups/etc/cups/cupsd.conf"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/var/spool/cups"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/var/cache/cups"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/var/cache/cups/rss"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/var/run/cups"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/var/run/cups/certs"
D [01/Jul/2010:12:44:51 +0600] Repairing access permissions of "/cups/var/run/cups/certs"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/etc/cups"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/etc/cups/ppd"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/etc/cups/ssl"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/etc/cups/cupsd.conf"
D [01/Jul/2010:12:44:51 +0600] Repairing ownership of "/cups/etc/cups/printers.conf"
I [01/Jul/2010:12:44:51 +0600] Configured for up to 100 clients.
I [01/Jul/2010:12:44:51 +0600] Allowing up to 100 client connections per host.
I [01/Jul/2010:12:44:51 +0600] Using policy "default" as the default!
I [01/Jul/2010:12:44:51 +0600] Full reload is required.
I [01/Jul/2010:12:44:51 +0600] Loaded MIME database from '/cups/etc/cups': 35 types, 38 filters...
D [01/Jul/2010:12:44:51 +0600] Loading printer xxx...
D [01/Jul/2010:12:44:51 +0600] Scanning /cups/var/spool/cups for jobs...
D [01/Jul/2010:12:44:51 +0600] [Job 1] Loading attributes...
D [01/Jul/2010:12:44:51 +0600] [Job 1] Unloading...
D [01/Jul/2010:12:44:51 +0600] [Job 2] Loading attributes...
D [01/Jul/2010:12:44:51 +0600] [Job 2] Unloading...
D [01/Jul/2010:12:44:51 +0600] [Job 3] Loading attributes...
D [01/Jul/2010:12:44:51 +0600] [Job 3] Auto-typing document file "/cups/var/spool/cups/d00003-001"...
D [01/Jul/2010:12:44:51 +0600] [Job 4] Loading attributes...
D [01/Jul/2010:12:44:51 +0600] [Job 4] Auto-typing document file "/cups/var/spool/cups/d00004-001"...
I [01/Jul/2010:12:44:51 +0600] Loading NextJobId from job cache file "/cups/var/cache/cups/job.cache"...
I [01/Jul/2010:12:44:51 +0600] Full reload complete.
I [01/Jul/2010:12:44:51 +0600] Listening to 127.0.0.1:631 on fd 3...
E [01/Jul/2010:12:44:51 +0600] Unable to bind socket for address /cups/var/run/cups/cups.sock:0 - Operation now in progress.
I [01/Jul/2010:12:44:51 +0600] Resuming new connection processing...
D [01/Jul/2010:12:44:51 +0600] Discarding unused server-started event...
D [01/Jul/2010:12:44:52 +0600] Report: clients=0
D [01/Jul/2010:12:44:52 +0600] Report: jobs=4
D [01/Jul/2010:12:44:52 +0600] Report: jobs-active=2
D [01/Jul/2010:12:44:52 +0600] Report: printers=1
D [01/Jul/2010:12:44:52 +0600] Report: printers-implicit=0
D [01/Jul/2010:12:44:52 +0600] Report: stringpool-string-count=380
D [01/Jul/2010:12:44:52 +0600] Report: stringpool-alloc-bytes=7752
D [01/Jul/2010:12:44:52 +0600] Report: stringpool-total-bytes=7632
I [01/Jul/2010:12:44:54 +0600] cupsdDoSelect: select() returned -1... pause and retry select()
I [01/Jul/2010:12:44:55 +0600] Scheduler shutting down normally.
D [01/Jul/2010:12:44:55 +0600] Discarding unused server-stopped event...
D [01/Jul/2010:12:44:55 +0600] Saving remote.cache...
I [01/Jul/2010:12:44:55 +0600] Saving job cache file "/cups/var/cache/cups/job.cache"...
E [01/Jul/2010:12:46:04 +0600] Missing value for SystemGroup on line 13.
I [01/Jul/2010:12:46:04 +0600] Listening to 127.0.0.1:631 (IPv4)
I [01/Jul/2010:12:46:04 +0600] Listening to /cups/var/run/cups/cups.sock (Domain)
E [01/Jul/2010:12:46:04 +0600] Bad IPP operation name "CUPS-Get-Document" on line 49!
E [01/Jul/2010:12:46:04 +0600] Bad IPP operation name "CUPS-Get-Document" on line 87!
I [01/Jul/2010:12:46:04 +0600] Remote access is disabled.
I [01/Jul/2010:12:46:04 +0600] Loaded configuration file "/cups/etc/cups/cupsd.conf"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/var/spool/cups"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/var/cache/cups"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/var/cache/cups/rss"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/var/run/cups"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/var/run/cups/certs"
D [01/Jul/2010:12:46:04 +0600] Repairing access permissions of "/cups/var/run/cups/certs"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/etc/cups"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/etc/cups/ppd"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/etc/cups/ssl"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/etc/cups/cupsd.conf"
D [01/Jul/2010:12:46:04 +0600] Repairing ownership of "/cups/etc/cups/printers.conf"
I [01/Jul/2010:12:46:04 +0600] Configured for up to 100 clients.
I [01/Jul/2010:12:46:04 +0600] Allowing up to 100 client connections per host.
I [01/Jul/2010:12:46:04 +0600] Using policy "default" as the default!
I [01/Jul/2010:12:46:04 +0600] Full reload is required.
I [01/Jul/2010:12:46:04 +0600] Loaded MIME database from '/cups/etc/cups': 35 types, 38 filters...
D [01/Jul/2010:12:46:04 +0600] Loading printer xxx...
I [01/Jul/2010:12:46:04 +0600] Loading job cache file "/cups/var/cache/cups/job.cache"...
D [01/Jul/2010:12:46:04 +0600] [Job 1] Loading from cache...
D [01/Jul/2010:12:46:04 +0600] [Job 2] Loading from cache...
D [01/Jul/2010:12:46:04 +0600] [Job 3] Loading from cache...
D [01/Jul/2010:12:46:04 +0600] [Job 3] Loading attributes...
D [01/Jul/2010:12:46:04 +0600] [Job 4] Loading from cache...
D [01/Jul/2010:12:46:04 +0600] [Job 4] Loading attributes...
I [01/Jul/2010:12:46:04 +0600] Full reload complete.
I [01/Jul/2010:12:46:04 +0600] Listening to 127.0.0.1:631 on fd 3...
E [01/Jul/2010:12:46:04 +0600] Unable to bind socket for address /cups/var/run/cups/cups.sock:0 - Operation now in progress.
I [01/Jul/2010:12:46:04 +0600] Resuming new connection processing...
D [01/Jul/2010:12:46:04 +0600] Discarding unused server-started event...
D [01/Jul/2010:12:46:05 +0600] Report: clients=0
D [01/Jul/2010:12:46:05 +0600] Report: jobs=4
D [01/Jul/2010:12:46:05 +0600] Report: jobs-active=2
D [01/Jul/2010:12:46:05 +0600] Report: printers=1
D [01/Jul/2010:12:46:05 +0600] Report: printers-implicit=0
D [01/Jul/2010:12:46:05 +0600] Report: stringpool-string-count=380
D [01/Jul/2010:12:46:05 +0600] Report: stringpool-alloc-bytes=7752
D [01/Jul/2010:12:46:05 +0600] Report: stringpool-total-bytes=7632
D [01/Jul/2010:12:46:38 +0600] cupsdAcceptClient: 10 from localhost:631 (IPv4)
D [01/Jul/2010:12:46:38 +0600] cupsdReadClient: 10 GET /printers/ HTTP/1.1
D [01/Jul/2010:12:46:38 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:38 +0600] [CGI] /cups/lib/cups/cgi-bin/printers.cgi started - PID = 137
I [01/Jul/2010:12:46:38 +0600] Started "/cups/lib/cups/cgi-bin/printers.cgi" (pid=137)
D [01/Jul/2010:12:46:38 +0600] cupsdSendCommand: 10 file=11
D [01/Jul/2010:12:46:38 +0600] [CGI] org.cups.sid cookie not found, initializing!
D [01/Jul/2010:12:46:38 +0600] [CGI] org.cups.sid cookie is "34818e513053f14a0ffddd8770e1d7a9"
D [01/Jul/2010:12:46:38 +0600] cupsdAcceptClient: 13 from localhost:631 (IPv4)
D [01/Jul/2010:12:46:38 +0600] cupsdReadClient: 13 POST / HTTP/1.1
D [01/Jul/2010:12:46:38 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:38 +0600] CUPS-Get-Default
D [01/Jul/2010:12:46:38 +0600] CUPS-Get-Default client-error-not-found: No default printer
D [01/Jul/2010:12:46:38 +0600] cupsdProcessIPPRequest: 13 status_code=406 (client-error-not-found)
D [01/Jul/2010:12:46:38 +0600] [CGI] show_all_printers(http=0x19f6c0, user="(null)")
D [01/Jul/2010:12:46:38 +0600] cupsdReadClient: 13 POST / HTTP/1.1
D [01/Jul/2010:12:46:38 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:38 +0600] CUPS-Get-Printers
D [01/Jul/2010:12:46:38 +0600] cupsdProcessIPPRequest: 13 status_code=0 (successful-ok)
D [01/Jul/2010:12:46:38 +0600] Script header: Set-Cookie: org.cups.sid=34818e513053f14a0ffddd8770e1d7a9;; path=/;
D [01/Jul/2010:12:46:38 +0600] Script header: Content-Type: text/html;charset=utf-8
D [01/Jul/2010:12:46:38 +0600] Script header:
D [01/Jul/2010:12:46:38 +0600] cupsdCloseClient: 13
D [01/Jul/2010:12:46:38 +0600] PID 137 (/cups/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [01/Jul/2010:12:46:41 +0600] cupsdReadClient: 10 GET /printers/xxx HTTP/1.1
D [01/Jul/2010:12:46:41 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:41 +0600] [CGI] /cups/lib/cups/cgi-bin/printers.cgi started - PID = 139
I [01/Jul/2010:12:46:41 +0600] Started "/cups/lib/cups/cgi-bin/printers.cgi" (pid=139)
D [01/Jul/2010:12:46:41 +0600] cupsdSendCommand: 10 file=11
D [01/Jul/2010:12:46:41 +0600] cupsdAcceptClient: 13 from localhost:631 (IPv4)
D [01/Jul/2010:12:46:41 +0600] [CGI] org.cups.sid cookie is "34818e513053f14a0ffddd8770e1d7a9"
D [01/Jul/2010:12:46:41 +0600] cupsdReadClient: 13 POST / HTTP/1.1
D [01/Jul/2010:12:46:41 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:41 +0600] CUPS-Get-Default
D [01/Jul/2010:12:46:41 +0600] CUPS-Get-Default client-error-not-found: No default printer
D [01/Jul/2010:12:46:41 +0600] cupsdProcessIPPRequest: 13 status_code=406 (client-error-not-found)
D [01/Jul/2010:12:46:41 +0600] [CGI] show_printer(http=0x19d460, printer="xxx")
D [01/Jul/2010:12:46:41 +0600] cupsdReadClient: 13 POST / HTTP/1.1
D [01/Jul/2010:12:46:41 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:41 +0600] Get-Printer-Attributes ipp://localhost/printers/xxx
D [01/Jul/2010:12:46:41 +0600] cupsdProcessIPPRequest: 13 status_code=0 (successful-ok)
D [01/Jul/2010:12:46:41 +0600] Script header: Content-Type: text/html;charset=utf-8
D [01/Jul/2010:12:46:41 +0600] Script header:
D [01/Jul/2010:12:46:41 +0600] cupsdReadClient: 13 POST / HTTP/1.1
D [01/Jul/2010:12:46:41 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:41 +0600] Get-Jobs ipp://localhost:631/printers/xxx
D [01/Jul/2010:12:46:41 +0600] cupsdProcessIPPRequest: 13 status_code=0 (successful-ok)
D [01/Jul/2010:12:46:41 +0600] [CGI] Regular expression ".*Clean.*"
D [01/Jul/2010:12:46:41 +0600] [CGI] Regular expression ".*PrintSelfTestPage.*"
D [01/Jul/2010:12:46:41 +0600] cupsdCloseClient: 13
D [01/Jul/2010:12:46:41 +0600] PID 139 (/cups/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [01/Jul/2010:12:46:46 +0600] cupsdReadClient: 10 POST /admin/ HTTP/1.1
D [01/Jul/2010:12:46:47 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:47 +0600] [CGI] /cups/lib/cups/cgi-bin/admin.cgi started - PID = 141
I [01/Jul/2010:12:46:47 +0600] Started "/cups/lib/cups/cgi-bin/admin.cgi" (pid=141)
D [01/Jul/2010:12:46:47 +0600] cupsdSendCommand: 10 file=13
D [01/Jul/2010:12:46:47 +0600] cupsdAcceptClient: 11 from localhost:631 (IPv4)
D [01/Jul/2010:12:46:47 +0600] [CGI] admin.cgi started...
D [01/Jul/2010:12:46:47 +0600] [CGI] http=0x1b1840
D [01/Jul/2010:12:46:47 +0600] [CGI] org.cups.sid cookie is "34818e513053f14a0ffddd8770e1d7a9"
D [01/Jul/2010:12:46:47 +0600] [CGI] op="delete-printer"...
D [01/Jul/2010:12:46:47 +0600] cupsdCloseClient: 11
D [01/Jul/2010:12:46:47 +0600] Script header: Content-Type: text/html;charset=utf-8
D [01/Jul/2010:12:46:47 +0600] Script header:
D [01/Jul/2010:12:46:47 +0600] PID 141 (/cups/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [01/Jul/2010:12:46:49 +0600] cupsdReadClient: 10 POST /admin/ HTTP/1.1
D [01/Jul/2010:12:46:49 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:49 +0600] [CGI] /cups/lib/cups/cgi-bin/admin.cgi started - PID = 143
I [01/Jul/2010:12:46:49 +0600] Started "/cups/lib/cups/cgi-bin/admin.cgi" (pid=143)
D [01/Jul/2010:12:46:49 +0600] cupsdSendCommand: 10 file=13
D [01/Jul/2010:12:46:49 +0600] cupsdAcceptClient: 11 from localhost:631 (IPv4)
D [01/Jul/2010:12:46:49 +0600] [CGI] admin.cgi started...
D [01/Jul/2010:12:46:49 +0600] [CGI] http=0x1b1840
D [01/Jul/2010:12:46:49 +0600] [CGI] org.cups.sid cookie is "34818e513053f14a0ffddd8770e1d7a9"
D [01/Jul/2010:12:46:49 +0600] [CGI] op="delete-printer"...
D [01/Jul/2010:12:46:49 +0600] cupsdReadClient: 11 POST /admin/ HTTP/1.1
D [01/Jul/2010:12:46:49 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:49 +0600] CUPS-Delete-Printer ipp://localhost/printers/xxx
D [01/Jul/2010:12:46:49 +0600] cupsdIsAuthorized: username=""
E [01/Jul/2010:12:46:49 +0600] CUPS-Delete-Printer: Unauthorized
D [01/Jul/2010:12:46:49 +0600] cupsdSendError: 11 code=401 (Unauthorized)
D [01/Jul/2010:12:46:49 +0600] cupsdSendHeader: WWW-Authenticate: Basic realm="CUPS"
D [01/Jul/2010:12:46:49 +0600] [CGI] cgi_passwd(prompt="Password for unknown on localhost? ") called!
D [01/Jul/2010:12:46:49 +0600] cupsdCloseClient: 11
D [01/Jul/2010:12:46:49 +0600] PID 143 (/cups/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [01/Jul/2010:12:47:12 +0600] [Job 3] Unloading...
D [01/Jul/2010:12:47:12 +0600] Report: clients=1
D [01/Jul/2010:12:47:12 +0600] Report: jobs=4
D [01/Jul/2010:12:47:12 +0600] Report: jobs-active=2
D [01/Jul/2010:12:47:12 +0600] Report: printers=1
D [01/Jul/2010:12:47:12 +0600] Report: printers-implicit=0
D [01/Jul/2010:12:47:12 +0600] Report: stringpool-string-count=343
D [01/Jul/2010:12:47:12 +0600] Report: stringpool-alloc-bytes=7616
D [01/Jul/2010:12:47:12 +0600] Report: stringpool-total-bytes=6888
D [01/Jul/2010:12:48:18 +0600] Report: clients=1
D [01/Jul/2010:12:48:18 +0600] Report: jobs=4
D [01/Jul/2010:12:48:18 +0600] Report: jobs-active=2
D [01/Jul/2010:12:48:18 +0600] Report: printers=1
D [01/Jul/2010:12:48:18 +0600] Report: printers-implicit=0
D [01/Jul/2010:12:48:18 +0600] Report: stringpool-string-count=343
D [01/Jul/2010:12:48:18 +0600] Report: stringpool-alloc-bytes=7616
D [01/Jul/2010:12:48:18 +0600] Report: stringpool-total-bytes=6888
I [01/Jul/2010:12:48:51 +0600] cupsdDoSelect: select() returned -1... pause and retry select()
I [01/Jul/2010:12:49:02 +0600] Scheduler shutting down normally.
D [01/Jul/2010:12:49:02 +0600] Discarding unused server-stopped event...
D [01/Jul/2010:12:49:02 +0600] cupsdCloseClient: 10
D [01/Jul/2010:12:49:02 +0600] Saving remote.cache...
I [01/Jul/2010:12:49:02 +0600] Saving job cache file "/cups/var/cache/cups/job.cache"...

   
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.07.01, 23:30:19
D [01/Jul/2010:12:46:49 +0600] cupsdAuthorize: No authentication data provided.
D [01/Jul/2010:12:46:49 +0600] CUPS-Delete-Printer ipp://localhost/printers/xxx
D [01/Jul/2010:12:46:49 +0600] cupsdIsAuthorized: username=""
E [01/Jul/2010:12:46:49 +0600] CUPS-Delete-Printer: Unauthorized
D [01/Jul/2010:12:46:49 +0600] cupsdSendError: 11 code=401 (Unauthorized)

The above is the interesting part - will take a look at cupsdAuthorize and see if the authentication can be bypassed...
Title: Re: Samsung CLP-310 - need driver!
Post by: Paul Smedley on 2010.07.02, 00:53:21
Try http://smedley.info/cupsd.zip - replace the existing cupsd.exe in \cups\sbin - this may still ask for a username/password - but should accept any values you enter