On 09/03/10 00:12, Ken Moffat wrote: > The lines from access_log and error_log during this are attached - > different error number, and I get the impression it was spinning > somewhere. [ now at http://www.linuxfromscratch.org/~ken/tmp/
I don't know what to make of that. For me, if I set the LogLevel to debug and then print it looks like this I [09/Mar/2010:01:30:14 +0000] Full reload complete. I [09/Mar/2010:01:30:14 +0000] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [09/Mar/2010:01:30:14 +0000] Listening to 0.0.0.0:631 on fd 4... I [09/Mar/2010:01:30:14 +0000] Listening to :::631 on fd 6... I [09/Mar/2010:01:30:14 +0000] Resuming new connection processing... D [09/Mar/2010:01:30:14 +0000] cupsdRegisterPrinter(p=0xb9483a08(default)) D [09/Mar/2010:01:30:14 +0000] Discarding unused server-started event... D [09/Mar/2010:01:30:15 +0000] Report: clients=0 D [09/Mar/2010:01:30:15 +0000] Report: jobs=1 D [09/Mar/2010:01:30:15 +0000] Report: jobs-active=0 D [09/Mar/2010:01:30:15 +0000] Report: printers=1 D [09/Mar/2010:01:30:15 +0000] Report: printers-implicit=0 D [09/Mar/2010:01:30:15 +0000] Report: stringpool-string-count=257 D [09/Mar/2010:01:30:15 +0000] Report: stringpool-alloc-bytes=6200 D [09/Mar/2010:01:30:15 +0000] Report: stringpool-total-bytes=5864 D [09/Mar/2010:01:31:14 +0000] cupsdAcceptClient: 10 from localhost:631 (IPv6) D [09/Mar/2010:01:31:14 +0000] cupsdReadClient: 10 POST / HTTP/1.1 D [09/Mar/2010:01:31:14 +0000] cupsdSetBusyState: Active clients D [09/Mar/2010:01:31:14 +0000] cupsdAuthorize: No authentication data provided. D [09/Mar/2010:01:31:14 +0000] cupsdReadClient: 10 1.1 CUPS-Get-Default 1 D [09/Mar/2010:01:31:14 +0000] CUPS-Get-Default D [09/Mar/2010:01:31:14 +0000] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost D [09/Mar/2010:01:31:14 +0000] cupsdSetBusyState: Not busy D [09/Mar/2010:01:31:14 +0000] cupsdReadClient: 10 POST /printers/default HTTP/1.1 D [09/Mar/2010:01:31:14 +0000] cupsdSetBusyState: Active clients D [09/Mar/2010:01:31:14 +0000] cupsdAuthorize: No authentication data provided. D [09/Mar/2010:01:31:14 +0000] cupsdReadClient: 10 1.1 Create-Job 1 D [09/Mar/2010:01:31:14 +0000] Create-Job ipp://localhost:631/printers/default D [09/Mar/2010:01:31:14 +0000] cupsdMarkDirty(----J-) D [09/Mar/2010:01:31:14 +0000] cupsdSetBusyState: Active clients and dirty files D [09/Mar/2010:01:31:14 +0000] add_job: requesting-user-name="andy" I [09/Mar/2010:01:31:14 +0000] [Job 2] Adding start banner page "none". D [09/Mar/2010:01:31:14 +0000] Discarding unused job-created event... I [09/Mar/2010:01:31:14 +0000] [Job 2] Queued on "default" by "andy". D [09/Mar/2010:01:31:14 +0000] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/default) from localhost D [09/Mar/2010:01:31:14 +0000] cupsdSetBusyState: Dirty files D [09/Mar/2010:01:31:14 +0000] cupsdReadClient: 10 POST /printers/default HTTP/1.1 D [09/Mar/2010:01:31:14 +0000] cupsdSetBusyState: Active clients and dirty files D [09/Mar/2010:01:31:14 +0000] cupsdAuthorize: No authentication data provided. D [09/Mar/2010:01:31:14 +0000] cupsdReadClient: 10 1.1 Send-Document 1 D [09/Mar/2010:01:31:14 +0000] Send-Document ipp://localhost:631/printers/default D [09/Mar/2010:01:31:14 +0000] cupsdIsAuthorized: requesting-user-name="andy" D [09/Mar/2010:01:31:14 +0000] [Job 2] Auto-typing file... D [09/Mar/2010:01:31:14 +0000] [Job 2] Request file type is application/postscript. D [09/Mar/2010:01:31:14 +0000] cupsdMarkDirty(----J-) I [09/Mar/2010:01:31:14 +0000] [Job 2] File of type application/postscript queued by "andy". I [09/Mar/2010:01:31:14 +0000] [Job 2] Adding end banner page "none". The lines that worry me in your log are the ones that start with E like this E [08/Mar/2010:23:33:20 +0000] cupsdReadClient: 13 IPP Read Error! I'd google on it, but it's late >> I always build gtk+ before cups and printing works fine for me. > > You set your printer as the default in cups, right ? Building cups > before gtk+ gives access to the queues, and to the driver / cups > options (job, quality, advanced tabs). > I don't use the web interface to configure cups, in my build scripts I have: printf 'LogLevel info Port 631 SystemGroup users <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 192.168.1/24 </Location> <Location /admin> AuthType Basic Require user @SYSTEM Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location>' > /etc/cups/cupsd.conf printf '<DefaultPrinter default> Info Samsung ml-1210 Location DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer>' > /etc/cups/printers.conf cp Samsung-ML-1210-gdi.ppd /usr/share/cups/model cp Samsung-ML-1210-gdi.ppd /etc/cups/ppd/default.ppd then I install a bootscript, ghostscript and foomatic-filters and it (usually) works Best wishes, Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
