-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brother HL-L2390 prints as if set to A4 when set to letter #53027
Comments
According to the ppd from what I can see, it's set to print using A4 by default. Try using
Besides that, tried adjusting the derivation to fix |
I tried using I also tried the I think the real issue here is that any options provided are ignored. At least, So for now, I can get correct letter-size printing using the |
Thank you for figuring out this fix, @eadwu. It worked for my HL-L2395DW, but I'd also love to see a more general fix. |
@waxlamp: Are you saying using |
Sorry, I wasn't very clear about this: using |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
still important to me |
I marked this as stale due to inactivity. → More info |
Still important to me. @msuperdock and/or @samueldr, are there action items on this issue or should this be closed? |
As far as I know, my post above on Jan 16, 2019, is still the current state of things: there's a hacky fix to print to letter, and with or without the fix, certain (all?) command-line options passed to I think a reasonable solution would be to provide an option whose possible values are "A4" and "letter," with "A4" as the default, such that the fix is only applied if the given value is "letter." Personally, I find this printer unreliable on Linux, even with this fix. I have no issues printing to it over WIFI from a laptop running OS X, but when I try to print over a wired connection from Linux, it just rejects the job about half the time with a generic error message. For this reason I'm not motivated to work on a solution here--my reluctant recommendation to Linux users with this printer is to print from a non-Linux machine. (If others have a better experience I'd like to hear!) I am not opposed to closing this if no one else is interested in working on it. |
I think, given @msuperdock's message, we can close this for the time being. There is nothing actionable here. The information is still right here, in the issues tracker. |
Thanks a lot for the derivation. You posting it here saved me quite some time. kudos! |
Background
With help from IRC, I was able to set up my Brother HL-L2350DW printer on NixOS by imitating the existing derivation for
hll2390dw-cups
. Then @samueldr, who maintains that derivation, pointed out that his printer prints letter files as if set to A4, and I noticed my printer was doing the same. He shared his fix, which also worked for me for the HL-L2350DW. The fix is a bit of a hack, which in my understanding is why he hasn't submitted it to nixpkgs. I'm filing this issue to document it and to share a working derivation for the HL-L2350DW printer.Issue description
The current Brother HL-L2390DW driver (
hll2390dw-cups
) prints as if set to A4 when set to letter, causing text to run off the right and bottom sides of the paper.Steps to reproduce
hll2390dw-cups
inservices.printing.drivers
and rebuild nixos.pdfinfo [filename]
.lpr -p [printername] [filename]
.The text will run off the right and bottom of the page.
Known fix
See @samueldr's fix here.
Notes on Brother HL-L2350DW
Below is a working derivation for the Brother HL-L2350DW. It is a copy of the derivation for
hll2390dw-cups
, with the download url and printer name changed. I am also including @samueldr's fix.For other printers in the HL-L23x0DW line, I would suggest downloading the .deb package from the Brother support site. If its version is 4.0.0-1, it is likely essentially the same as the package for the HL-L2390DW and HL-L2350DW, and an equivalent derivation should work; just modify the
fetchurl
section (usenix-prefetch-url
to get the hash) and the printer name. You can put the following in its own .nix file (say,printer.nix
) and call it fromconfiguration.nix
with something likeservices.printing.drivers = [ (pkgs.callPackage ./printer.nix {}) ];
.Derivation for HL-L2350DW:
Next steps
These are just ideas, to see if it makes sense to include @samueldr's fix in the
hll2390dw-cups
derivation, and to see if it makes sense to add ahll2350dw-cups
derivation.The text was updated successfully, but these errors were encountered: