When printing with my Brother hl-2170w printer I keep getting an invalid page range error on a blank page, after the desired pages are printed

Bug #1912911 reported by Onyeje Bose
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I run uname -a, this is basically what I get:
"5.8.0-38-generic #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"

apt-cache policy cups gives me the following:

cups:
  Installed: 2.3.1-9ubuntu1.1
  Candidate: 2.3.1-9ubuntu1.1
  Version table:
 *** 2.3.1-9ubuntu1.1 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.3.1-9ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
===============================================================================

4 and 5 are being answered together...

Before the upgrade, I was able to print one or more pages, and not see the extra error page.
This is the desired behavior.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.8.0-38.43~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Jan 23 13:15:24 2021
InstallationDate: Installed on 2020-12-21 (33 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Lpstat: device for SCRIBE: dnssd://Brother%20HL-2170W%20series._pdl-datastream._tcp.local/
MachineType: Dell Inc. Inspiron 7773
Papersize: letter
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/SCRIBE.ppd'] failed with exit code 2: grep: /etc/cups/ppd/SCRIBE.ppd: Permission denied
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-38-generic root=UUID=9899e123-f378-4328-a399-78cd6361f58e ro quiet splash resume=UUID=46e80ad1-16de-4fdf-b1f7-96f4f58b1c57
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/14/2017
dmi.bios.release: 1.2
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.2.1
dmi.board.name: 0R58C3
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.2.1:bd09/14/2017:br1.2:svnDellInc.:pnInspiron7773:pvr:rvnDellInc.:rn0R58C3:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 7773
dmi.product.sku: 0809
dmi.sys.vendor: Dell Inc.

Revision history for this message
Onyeje Bose (digi9ten) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups (Ubuntu):
status: New → Confirmed
Revision history for this message
sokolov (daniel-sokolov) wrote :

I also get additional pages printed with an error message. It reads

"Invalid page range: none printer-location= marker-levels=36"

uname -a gives me:

Linux 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

apt-cache policy cups gives me the following:

 Installed: 2.3.1-9ubuntu1.1
  Candidate: 2.3.1-9ubuntu1.1
  Version table:
 *** 2.3.1-9ubuntu1.1 500

My computer has an Intel Xeon CPU.

My printer is a Dell E514dw, which is a rebadged Brother MFC-L5750DW (except for the printer cartridges).

Revision history for this message
sokolov (daniel-sokolov) wrote :

However, it is not 100% reproducable.

Revision history for this message
tedo (ted1) wrote :

This should be fixed upstream, see https://github.com/OpenPrinting/cups-filters/issues/422 and the included comments.

Revision history for this message
tedo (ted1) wrote :
Revision history for this message
sokolov (daniel-sokolov) wrote :

Is there a regression? I suddenly had this problem again. I wanted to print a single page, but received three. Two of them say just this:

Invalid page range Drum \\\ Unit printer-state=3 printer-uri-supported=ipp

uname -a:

Linux 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

apt-cache policy cups
cups:
  Installed: 2.3.1-9ubuntu1.2
  Candidate: 2.3.1-9ubuntu1.2
  Version table:
 *** 2.3.1-9ubuntu1.2 500
     2.3.1-9ubuntu1 500

My computer has an Intel Xeon CPU.

My printer is a Dell E514dw, which is a rebadged Brother MFC-L5750DW (except for the printer cartridges).

Revision history for this message
Robert Liu (robertliu) wrote :

I also observed this issue on my laptop with 20.04.

I created a patched version in this PPA[1] and it seems the issue is resolved with the patch mentioned in comment #5.
If anyone can confirm the patched version does help, I'll submit the patch for SRU.

[1] https://launchpad.net/~robertliu/+archive/ubuntu/lp-1912911

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.