Sample Header Ad - 728x90

How can I make my printer actually print, not just accept print jobs and delete them from queue?

0 votes
1 answer
703 views
I installed a mint Raspberry Pi 4 with Raspbian and wanted to connect my Brother HL-2240D printer to it. I used the Driver Installation tool provided on https://support.brother.com/g/b/downloadlist.aspx?c=eu_ot&lang=en&prod=hl2240d_all&os=128 and followed the steps to install the lpr and cupswrapper. The whole transaction looks like this: sudo bash linux-brprinter-installer-2.2.2-2 Input model name ->HL2240D You are going to install following packages. hl2240dlpr-2.1.1-1.i386.deb cupswrapperHL2240D-2.0.4-2.i386.deb OK? [y/N] ->y dpkg -x hl2240dlpr-2.1.1-1.i386.deb / dpkg -x cupswrapperHL2240D-2.0.4-2.i386.deb / dpkg-deb: building package 'hl2240dlpr' in 'hl2240dlpr-2.1.1-1a.i386.deb'. dpkg -b ./brother_driver_packdir hl2240dlpr-2.1.1-1a.i386.deb dpkg-deb: building package 'cupswrapperhl2240d' in 'cupswrapperHL2240D-2.0.4-2a.i386.deb'. dpkg -b ./brother_driver_packdir cupswrapperHL2240D-2.0.4-2a.i386.deb dpkg -i --force-all hl2240dlpr-2.1.1-1a.i386.deb dpkg: warning: overriding problem because --force enabled: dpkg: warning: package architecture (i386) does not match system (armhf) (Reading database ... 99549 files and directories currently installed.) Preparing to unpack hl2240dlpr-2.1.1-1a.i386.deb ... /var/lib/dpkg/info/hl2240dlpr.prerm: 3: /var/lib/dpkg/info/hl2240dlpr.prerm: /usr/local/Brother/Printer/HL2240D/inf/braddprinter: Exec format error Unpacking hl2240dlpr:i386 (2.1.1-1) over (2.1.1-1) ... Setting up hl2240dlpr:i386 (2.1.1-1) ... /var/lib/dpkg/info/hl2240dlpr.postinst: 3: /var/lib/dpkg/info/hl2240dlpr.postinst: /usr/local/Brother/Printer/HL2240D/inf/braddprinter: Exec format error dpkg -i --force-all cupswrapperHL2240D-2.0.4-2a.i386.deb dpkg: warning: overriding problem because --force enabled: dpkg: warning: package architecture (i386) does not match system (armhf) (Reading database ... 99549 files and directories currently installed.) Preparing to unpack cupswrapperHL2240D-2.0.4-2a.i386.deb ... Restarting cups (via systemctl): cups.service. Unpacking cupswrapperhl2240d:i386 (2.0.4-2) over (2.0.4-2) ... Setting up cupswrapperhl2240d:i386 (2.0.4-2) ... Restarting cups (via systemctl): cups.service. # Will you specify the Device URI? [Y/n] ->n Test Print? [y/N] ->y wait 5s. lpr -P HL2240D /usr/share/cups/data/testprint linux-brprinter-installer-2.2.2-2: line 2976: lpr: command not found Hit Enter/Return key. Afterwards the printer showed up in the Raspbian printer config and in CUPS, so I tried to hit the **Test Print** button as well as sending a simple text file through
-d HL2240D /usr/share/cups/data/testprint
. All of this works, the queue counts up my attempts and is cleared after some seconds, but the printer does not spit out any page.
-p
shows my printer is idle and if I am unplugging the USB and send another print request, it shows
for the printer to become available
, plugging it in, it becomes available, but doesn't print. What am I doing wrong and what else could I check?
Asked by TobiBS (103 rep)
Feb 11, 2021, 07:02 PM
Last activity: Feb 14, 2021, 12:45 PM