WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: (solved) Help me with CUPS  (Read 5598 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
(solved) Help me with CUPS
« on: November 20, 2011, 02:53:24 PM »
I'm trying to make CUPS work. I've managed to get printing to CUPS-pdf to work but when I try to print to a real printer the job never shows up in CUPS web interface. I've tried the built-in generic drivers, Gutenprint and Foomatic, all with the same result. What's missing?

It's cups.tcz that doesn't work, cups1311.tcz from the 3.x repo (I'm running 4.1) works fine.
« Last Edit: December 05, 2011, 02:37:59 PM by uggla »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Help me with CUPS
« Reply #1 on: November 20, 2011, 10:22:02 PM »
After setting the log level to debug and restarting the cups daemon, what error messages do you see?

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Help me with CUPS
« Reply #2 on: November 21, 2011, 03:39:56 PM »
When printing from Firefox I get:
Code: [Select]
D [21/Nov/2011:22:35:30 +0000] cupsdReadClient: 15 1.1 Print-Job 1
D [21/Nov/2011:22:35:30 +0000] Print-Job ipp://localhost:631/printers/hp
D [21/Nov/2011:22:35:30 +0000] [Job ???] Auto-typing file...
I [21/Nov/2011:22:35:30 +0000] [Job ???] Request file type is application/pdf.
D [21/Nov/2011:22:35:30 +0000] Print-Job client-error-document-format-not-supported: Unsupported format 'application/pdf'!
E [21/Nov/2011:22:35:30 +0000] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/hp) from localhost

When printing from Abiword I get:
Code: [Select]
D [21/Nov/2011:22:29:30 +0000] cupsdReadClient: 13 1.1 Create-Job 1
D [21/Nov/2011:22:29:30 +0000] Create-Job ipp://localhost:631/printers/hp
D [21/Nov/2011:22:29:30 +0000] cupsdMarkDirty(----J-)
D [21/Nov/2011:22:29:30 +0000] cupsdSetBusyState: Active clients and dirty files
D [21/Nov/2011:22:29:30 +0000] add_job: requesting-user-name="tc"
D [21/Nov/2011:22:29:30 +0000] Adding default job-sheets values "none,none"...
I [21/Nov/2011:22:29:30 +0000] [Job 1] Adding start banner page "none".
D [21/Nov/2011:22:29:30 +0000] Discarding unused job-created event...
I [21/Nov/2011:22:29:30 +0000] [Job 1] Queued on "hp" by "tc".
D [21/Nov/2011:22:29:30 +0000] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/hp) from localhost
D [21/Nov/2011:22:29:30 +0000] cupsdSetBusyState: Dirty files
D [21/Nov/2011:22:29:30 +0000] cupsdReadClient: 13 POST /printers/hp HTTP/1.1
D [21/Nov/2011:22:29:30 +0000] cupsdSetBusyState: Active clients and dirty files
D [21/Nov/2011:22:29:30 +0000] cupsdAuthorize: No authentication data provided.
D [21/Nov/2011:22:29:30 +0000] cupsdReadClient: 13 1.1 Send-Document 1
D [21/Nov/2011:22:29:30 +0000] Send-Document ipp://localhost:631/printers/hp
D [21/Nov/2011:22:29:30 +0000] cupsdIsAuthorized: requesting-user-name="tc"
D [21/Nov/2011:22:29:30 +0000] [Job 1] Auto-typing file...
D [21/Nov/2011:22:29:30 +0000] [Job 1] Request file type is application/postscript.
D [21/Nov/2011:22:29:30 +0000] Send-Document client-error-document-format-not-supported: Unsupported format 'application/postscript'!
E [21/Nov/2011:22:29:30 +0000] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/hp) from localhost
D [21/Nov/2011:22:29:30 +0000] cupsdSetBusyState: Dirty files
D [21/Nov/2011:22:29:30 +0000] cupsdReadClient: 13 POST /jobs/ HTTP/1.1
D [21/Nov/2011:22:29:30 +0000] cupsdSetBusyState: Active clients and dirty files
D [21/Nov/2011:22:29:30 +0000] cupsdAuthorize: No authentication data provided.
D [21/Nov/2011:22:29:30 +0000] cupsdReadClient: 13 1.1 Cancel-Job 1
D [21/Nov/2011:22:29:30 +0000] Cancel-Job ipp://localhost:631/printers/hp
D [21/Nov/2011:22:29:30 +0000] cupsdIsAuthorized: requesting-user-name="tc"
D [21/Nov/2011:22:29:30 +0000] Discarding unused job-completed event...
I [21/Nov/2011:22:29:30 +0000] [Job 1] Job canceled by "tc"
D [21/Nov/2011:22:29:30 +0000] cupsdMarkDirty(----J-)
I [21/Nov/2011:22:29:30 +0000] [Job 1] Canceled by "tc".
D [21/Nov/2011:22:29:30 +0000] Returning IPP successful-ok for Cancel-Job (ipp://localhost:631/printers/hp) from localhost
D [21/Nov/2011:22:29:30 +0000] cupsdSetBusyState: Dirty files
D [21/Nov/2011:22:29:31 +0000] cupsdReadClient: 10 POST / HTTP/1.1
D [21/Nov/2011:22:29:31 +0000] cupsdSetBusyState: Active clients and dirty files
D [21/Nov/2011:22:29:31 +0000] cupsdAuthorize: No authentication data provided.
D [21/Nov/2011:22:29:31 +0000] [Job 1] Unloading...

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Help me with CUPS
« Reply #3 on: December 02, 2011, 04:14:24 PM »
Loading ghostscript.tcz and ghostscript_common.tcz before cups.tcz solved my problem.