Giter Club home page Giter Club logo

Comments (9)

ebaschiera avatar ebaschiera commented on May 15, 2024 1

Hi, me too I have an HL-2130 and the output is the following:

pi@raspberrypi:~/brlaser-6 $ sudo lpinfo --include-schemes usb -l -v
Device: uri = usb://Brother/HL-2130%20series?serial=K2N210114
        class = direct
        info = Brother HL-2130 series
        make-and-model = Brother HL-2130 series
        device-id = MFG:Brother;CMD:PJL,HBP;MDL:HL-2130 series;CLS:PRINTER;
        location =

The printer works good with both Brother HL-2140 series, using brlaser v6 (grayscale) and Brother HL-2040 series, using brlaser v6 (grayscale) drivers.

Anyway I noticed that setting the print quality at 1200HQ, the printer stops at approximately half page when printing the test page from Cups web admin. At 600dpi the test page looks good.
When printing a full page photo, at 1200HQ the printer prints only a few lines (less then half a centimeter), but at 600 dpi the print is fine.

I am using brlaser v6 self compiled on raspbian buster.

Thanks!

from brlaser.

pdewacht avatar pdewacht commented on May 15, 2024

Good to hear. Can you give to output of this command? That'd give me the information needed to add a new printer definition to the driver.

sudo lpinfo --include-schemes usb -l -v

(I'm 80% sure that I'd just need to replace "2140" by "2130", but sometimes Brother does something different...)

from brlaser.

jakubgs avatar jakubgs commented on May 15, 2024

I actually have it connected via ipp:// over LAN. Not sure how to show that.

If you need it to add it properly I guess I can try getting a longer USB cable and try connecting it via USB.

from brlaser.

pdewacht avatar pdewacht commented on May 15, 2024

Ah, I guess you can then try sudo lpinfo --include-schemes ipp -l -v. Or maybe just sudo lpinfo -l -v, though that will include a lot of junk.
I've never actually encountered an IPP-capable printer in real life, so I'm not sure what to expect here :)

from brlaser.

jakubgs avatar jakubgs commented on May 15, 2024

Hmmm, doesn't seem right:

 $ sudo lpinfo --include-schemes ipp -l -v
Device: uri = ipp
        class = network
        info = Internet Printing Protocol (ipp)
        make-and-model = Unknown
        device-id = 
        location = 

Neither does this:

 $ sudo lpinfo -l -v
Device: uri = beh
        class = network
        info = Backend Error Handler
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = socket
        class = network
        info = AppSocket/HP JetDirect
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = http
        class = network
        info = Internet Printing Protocol (http)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = https
        class = network
        info = Internet Printing Protocol (https)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = ipp
        class = network
        info = Internet Printing Protocol (ipp)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = lpd
        class = network
        info = LPD/LPR Host or Printer
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = ipps
        class = network
        info = Internet Printing Protocol (ipps)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = smb
        class = network
        info = Windows Printer via SAMBA
        make-and-model = Unknown
        device-id = 
        location =

But I know my printer is configured:

 $ sudo lpstat -l -p HL2130
printer HL2130 is idle.  enabled since Wed 12 Feb 2020 11:08:31 PM CET
	Form mounted:
	Content types: any
	Printer types: unknown
	Description: Brother HL-2130
	Alerts: none
	Location: 
	Connection: direct
	Interface: /etc/cups/ppd/HL2130.ppd
	On fault: no alert
	After fault: continue
	Users allowed:
		(all)
	Forms allowed:
		(none)
	Banner required
	Charset sets:
		(none)
	Default pitch:
	Default page size:
	Default port settings:

I'll try using a USB cable after work.

from brlaser.

jakubgs avatar jakubgs commented on May 15, 2024

This is weird. I connected it via USB and it doesn't work. It just printed a black line at the top of the page.
Here's the output of sudo lpinfo --include-schemes usb -l -v

Device: uri = usb://Brother/HL-2130%20series?serial=A4N815370
        class = direct
        info = Brother HL-2130 series
        make-and-model = Brother HL-2130 series
        device-id = MFG:Brother;CMD:PJL,HBP;MDL:HL-2130 series;CLS:PRINTER;CID:Brother Laser Type1;
        location = 

But it doensn't appear to work correctly. I've set it up to use the driver:

Driver:	Brother HL-2140 series, using brlaser v6 (grayscale)
Connection:	usb://Brother/HL-2130%20series?serial=A4N815370
Defaults:	job-sheets=none, none media=iso_a4_210x297mm sides=one-sided

And it stopped working over the network too. Wtf.

from brlaser.

pdewacht avatar pdewacht commented on May 15, 2024

That's bizzare, I'm not sure what could explain that. Maybe some print setting (resolution, etc) is different now?

from brlaser.

jakubgs avatar jakubgs commented on May 15, 2024

Kinda busy during week. I'll try fiddling with it during the weekend.

from brlaser.

juriroemer avatar juriroemer commented on May 15, 2024

Hi,
I also use an HL-2130 with Brother HL-2140 series, using brlaser v6 (grayscale), self compiled on raspbian (Raspberry Pi Zero), my Cups test print comes out totally fine at 1200HQ (toner saving off). Have not tested anything but the test page at 1200HQ, though. lpinfo is basically the same as @ebaschiera's

pi@raspberrypi:~/brlaser $ sudo lpinfo --include-schemes usb -l -v
Device: uri = usb://Brother/HL-2130%20series?serial=M1N974337
        class = direct
        info = Brother HL-2130 series
        make-and-model = Brother HL-2130 series
        device-id = MFG:Brother;CMD:PJL,HBP;MDL:HL-2130 series;CLS:PRINTER;
        location =

Thanks for the great work, took me ages until I finally found your drivers, that actually work!

EDIT: I have now encountered the 1200HQ Problem (only with some pages, though). 600 DPI works fine.

from brlaser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.