Skip to content
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

0xA0A7 cmd response ??? #59

Open
vuthaitdp1 opened this issue Feb 24, 2023 · 8 comments
Open

0xA0A7 cmd response ??? #59

vuthaitdp1 opened this issue Feb 24, 2023 · 8 comments

Comments

@vuthaitdp1
Copy link

Can anyone help me read the response data of command 0xA0A7 (canon 2900)

@agalakhov
Copy link
Owner

What exactly do you need?

@vuthaitdp1
Copy link
Author

What exactly do you need?

i am emulating canon 2900 printer and driver send me strange command 0xA0A7

@vuthaitdp1
Copy link
Author

driver send: a7a00400
printer response: a7a0.... ????

@agalakhov
Copy link
Owner

We know only very little about these commands. In fact, that's virtually all we know:
https://github.com/agalakhov/captdriver/blob/master/SPECS

We don't know what the 0xA0A7 does, but the printer is known to work without it. Most likely it is some kind of status query.

@mounaiban
Copy link
Contributor

@vuthaitdp1 when does 0xA0A7 appear? This will be an important clue. If it appears only before a page is printed, it could be a formatter or print engine status check.

There are other 0xA0A0-ish commands I have found on other CAPT printers, check out https://github.com/mounaiban/studycapt/blob/main/capt.lua#L182 for a partial list.

@vuthaitdp1
Copy link
Author

@vuthaitdp1 when does 0xA0A7 appear? This will be an important clue. If it appears only before a page is printed, it could be a formatter or print engine status check.

There are other 0xA0A0-ish commands I have found on other CAPT printers, check out https://github.com/mounaiban/studycapt/blob/main/capt.lua#L182 for a partial list.

I fixed the problem, the driver no longer sends that command, caused by simulation responses mismatch, I'm working around the error of not printing multiple pages because the driver didn't send the commands in the correct order or because I configured the state registers incorrectly

@vuthaitdp1
Copy link
Author

vuthaitdp1 commented Mar 15, 2023

@agalakhov Have you tried decompiling the UFRII-LT encoder?

@mounaiban
Copy link
Contributor

Not Alexey here, but I don't think there is any publicly-known attempt at reverse engineering UFR standards due to lack of motivation.

I'm speculating that it is because UFR (II/II-LT) was/is mainly used on large multi-user printers, and in that segment PCL support is pretty much mandatory by market pressure (I personally won't buy a printer for an office of hundreds of users if it doesn't do PCL either). Thus UFR printers tend to also support PCL, and are therefore well-supported in CUPS.

I'd still want to hear from someone about how UFR works though, given how Canon flogs UFR like it's the greatest print job processing system ever made.

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

No branches or pull requests

3 participants