Skip to content

Set MX to 0 for foo2zjs/foo2xqx HP printers#8

Open
Icenowy wants to merge 2 commits into
OpenPrinting:main-fixesfrom
Icenowy:zjshp-xqx-mx-0
Open

Set MX to 0 for foo2zjs/foo2xqx HP printers#8
Icenowy wants to merge 2 commits into
OpenPrinting:main-fixesfrom
Icenowy:zjshp-xqx-mx-0

Conversation

@Icenowy
Copy link
Copy Markdown

@Icenowy Icenowy commented Jun 1, 2026

Fixes #6 .

Icenowy added 2 commits June 1, 2026 16:27
The proprietary blob of HPLIP seems to always set MX to 0.

Set the MX to 0 in foo2xqx, which supports only HP printers, and is what
currently used by LaserJet Pro M1130/M1210 MFP series.

Without this change garbled content was seen on my LaserJet Pro M1136
MFP.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
The proprietary blob of HPLIP seems to always set MX to 0, and foo2zjs
currently sets MX to 0 for z2/z3 printers.

Set MX to 0 for z1 printers too.

Tested on my LaserJet Pro M1136 MFP, which accepts XQX by default, but
can be switched to ZJS by emitting a `PJL ENTER LANGUAGE` clause (HPLIP
emits ZJS for this printer): with MX = 16 sometimes content is garbled,
but with MX = 0 the same content prints okay.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

foo2xqx produces garbled print result on HP LaserJet Pro M1136 MFP

1 participant