[cups.general] Printer ejects only a blank page

Gerard Seibert gerard at seibercom.net
Wed Oct 12 07:14:26 PDT 2011


On Wed, 12 Oct 2011 06:48:36 -0700
Matthias Apitz articulated:

> Gerard Seibert wrote:
> 
> > On Tue, 11 Oct 2011 18:12:42 -0700
> > Paul Conklin articulated:
> > 
> >> > I am using Cups 1.5.0 with FreeBSD-8.2/amd64. My printer is set
> >> > up with Cups and prints a test page perfectly.
> >> >
> >> > The problem is if I go to print a document, say from my MUA or
> >> > Firefox and choose the printer from the pop-up menu, only a blank
> >> > page is ejected from the printer. Now, if I choose the "LPR"
> >> > option the document is printed normally. The printer is on a
> >> > wireless network and works fine from my Windows machines. On my
> >> > FreeBSD machine, I have the computer hooked up via cable to the
> >> > router since there is no driver available for the wireless card
> >> > in the PC.
> >> >
> >> > The Cups' log file indicates that everything printed perfectly,
> >> > even thought it obviously didn't.
> >> >
> >> > I have no idea how to debug this problem. It just doesn't make
> >> > any sense.
> > 
> >> Best guess?  One way is printing raw and the other is printing via
> >> a ppd and transforming the job.  the printer probably doesn't
> >> support PostScript and one job is being transformed to PCL while
> >> the other is keeping it in postscript.
> > 
> > Printer Information:
> > 
> > Description:  Brother MFC-9560CDW
> > Location:     Network
> > Driver:       Generic PostScript Printer (color, 2-sided printing)
> > Connection:   lpd://BRW0022587025CB/BINARY_P1
> > Defaults:     job-sheets=none, none media=na_letter_8.5x11in
> > sides=one-sided
> > 
> > The printer supports both PCL6 and Postscrpt so I don't think that
> > is the problem.
> > 
> 
> Enable LogLevel=debug in cupsd.conf, restart cupsd and create *one*
> such job; try to understand in the error_log what's going wrong;


I all ready had "debug"set. There are hundreds of lines in the file.
They seem to repeat. Anyway, when using the "LPR" option, this is what
is printed in the log (truncated version)

D [12/Oct/2011:10:08:01 -0400] CUPS-Get-Printers
D [12/Oct/2011:10:08:01 -0400] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [12/Oct/2011:10:08:01 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/Oct/2011:10:08:01 -0400] cupsdReadClient: 15 WAITING Closing on EOF
D [12/Oct/2011:10:08:01 -0400] cupsdCloseClient: 15
D [12/Oct/2011:10:08:01 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [12/Oct/2011:10:08:01 -0400] cupsdAcceptClient: 15 from localhost (Domain)
D [12/Oct/2011:10:08:01 -0400] cupsdReadClient: 15 WAITING Closing on EOF
D [12/Oct/2011:10:08:01 -0400] cupsdCloseClient: 15
D [12/Oct/2011:10:08:01 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [12/Oct/2011:10:08:01 -0400] cupsdAcceptClient: 15 from localhost (Domain)
D [12/Oct/2011:10:08:01 -0400] cupsdReadClient: 15 POST / HTTP/1.1
D [12/Oct/2011:10:08:01 -0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/Oct/2011:10:08:01 -0400] cupsdAuthorize: No authentication data provided.
D [12/Oct/2011:10:08:01 -0400] cupsdReadClient: 15 1.1 CUPS-Get-Printers 1
D [12/Oct/2011:10:08:01 -0400] CUPS-Get-Printers
D [12/Oct/2011:10:08:01 -0400] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [12/Oct/2011:10:08:01 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/Oct/2011:10:08:01 -0400] cupsdReadClient: 15 WAITING Closing on EOF
D [12/Oct/2011:10:08:01 -0400] cupsdCloseClient: 15
D [12/Oct/2011:10:08:01 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [12/Oct/2011:10:08:01 -0400] cupsdAcceptClient: 15 from localhost:631 (IPv4)
D [12/Oct/2011:10:08:01 -0400] cupsdReadClient: 15 GET /admin/log/error_log HTTP/1.1
D [12/Oct/2011:10:08:01 -0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/Oct/2011:10:08:01 -0400] cupsdAuthorize: Authorized as root using Basic

Now, when using the Brother printer as set up in cups, this is what is
shown in the log file (truncated)

D [12/Oct/2011:10:05:32 -0400] CUPS-Get-Printers
D [12/Oct/2011:10:05:32 -0400] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [12/Oct/2011:10:05:32 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/Oct/2011:10:05:32 -0400] cupsdReadClient: 15 WAITING Closing on EOF
D [12/Oct/2011:10:05:32 -0400] cupsdCloseClient: 15
D [12/Oct/2011:10:05:32 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [12/Oct/2011:10:05:33 -0400] cupsdAcceptClient: 15 from localhost (Domain)
D [12/Oct/2011:10:05:33 -0400] cupsdReadClient: 15 WAITING Closing on EOF
D [12/Oct/2011:10:05:33 -0400] cupsdCloseClient: 15
D [12/Oct/2011:10:05:33 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [12/Oct/2011:10:05:33 -0400] cupsdAcceptClient: 15 from localhost (Domain)
D [12/Oct/2011:10:05:33 -0400] cupsdReadClient: 15 POST / HTTP/1.1
D [12/Oct/2011:10:05:33 -0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/Oct/2011:10:05:33 -0400] cupsdAuthorize: No authentication data provided.
D [12/Oct/2011:10:05:33 -0400] cupsdReadClient: 15 1.1 CUPS-Get-Printers 1
D [12/Oct/2011:10:05:33 -0400] CUPS-Get-Printers
D [12/Oct/2011:10:05:33 -0400] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [12/Oct/2011:10:05:33 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/Oct/2011:10:05:33 -0400] cupsdReadClient: 15 WAITING Closing on EOF
D [12/Oct/2011:10:05:33 -0400] cupsdCloseClient: 15
D [12/Oct/2011:10:05:33 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [12/Oct/2011:10:05:33 -0400] cupsdAcceptClient: 15 from localhost:631 (IPv4)
D [12/Oct/2011:10:05:33 -0400] cupsdReadClient: 15 GET /admin/log/error_log HTTP/1.1
D [12/Oct/2011:10:05:33 -0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/Oct/2011:10:05:33 -0400] cupsdAuthorize: Authorized as root using Basic

They look pretty much the same to me, yet only the LPR option works.
Remember, I can print a test page directly from CUPS however.

If you would want the entire output of one such session, I will be
happy to ZIP it up and send it to you as an attachment. It is too large
for this list in my opinion.

Any ideas?


-- 
Gerard ✌
gerard at seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________
Idleness is the holiday of fools.





More information about the cups mailing list