[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#712512: foomatic-db: Brother HL1250 failures after first page



Package: foomatic-db
Version: 20130517-1
Severity: important

Hl1250 using Brother HL-1250 Foomatic/hl1250 fails after the first page.
It seems that an escape sequence is being missed? I am not sure how
to debug this.

Ok. Printing the first page after turning on the printer is fine.
But the second page has:
JL SET MEDIATYPE=REGULAR
                        @PCL SET SOURCETRAY=AUTO
			                         @PCL SET RESOLUTION=600
						                         @PJL

Clearly these are unescaped commands which should not be printed and
there are more which are "printed" beyond the page edge.
Then this page is ejected, and the next page is also ejected completely
blank. This last is perhaps not surprising since the printer has not
"seen" these PCL commands.

This is a long standing problem which I ought to have reported long ago.
I have seen it on several of my machines, so not does not seem to be a
quirk of some odd configuration. I am surprised that others have not 
reported it, but maybe the HL1250 is not in widespread use any more.
That said, I suspect something more generic.

I think that I first saw this problem when the xml version appeared.
Before that cups and foomatic had been fine with this printer.
A long time ago, I think that I tried to investigate reverting to
a HL1250.ppd which had not been generated from the xml database,
and that had the same problem suggesting that it might be a cups
problem mishandling escapes.

For what it is worth, I have seen this when connecting via usb, and 
also via the parallel port. Not that I would expect it to be influenced
by the connection chanel.

As noted before, I do not know a good way to investigate. I have tried
to debug cups using gdb some time ago, but it was by no means easy,
and the code is not well documented especially with no overview of the
general strategy. Suggestions welcome, a fix even more so!

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

foomatic-db depends on no packages.

Versions of packages foomatic-db recommends:
ii  cups                1.5.3-5
ii  cups-client         1.5.3-5
ii  foomatic-db-engine  4.0.9-2
ii  foomatic-filters    4.0.17-1
ii  ghostscript         9.05~dfsg-6.3
pn  printer-driver-all  <none>

Versions of packages foomatic-db suggests:
pn  cjet               <none>
ii  ghostscript-cups   9.05~dfsg-6.3
pn  hplip              <none>
pn  hplip-cups         <none>
pn  openprinting-ppds  <none>

-- no debconf information


Reply to: