Hardware/Brother: Difference between revisions

From NixOS Wiki
imported>Samueldr
Documents a dirty workaround for brother printers... eww...
 
0x4A6F (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{Hardware/breadcrumb}}
== Troubleshooting ==
== Troubleshooting ==



Latest revision as of 20:49, 3 April 2024

Troubleshooting

With proper paper setting, printout is shifted or cropped

This may happen because of the way the brother drivers are made, it seems there is a bug in the handling of paper type, and it does not only affect NixOS.

To see if this problem affects you, look at the `rc` file for your printer, in the package for your drivers.

/nix/store/.../opt/brother/Printers/[model]/inf/br[model]rc

There will be a line as such:

PaperType=A4

The problem can be inverted depending on the driver, some will default to A4 and some to Letter.

One way this can be worked-around is by patching the rc file at build time[1]. This will not allow switching paper type at runtime.