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

Epson 730 seems to reset the counter (backup value may be present) #1

Open
schellingerhout opened this issue May 25, 2024 · 0 comments

Comments

@schellingerhout
Copy link

schellingerhout commented May 25, 2024

I know this is an old repo, but I figure I'd ask anyway

My Epson Artison name was reported as EPSON-730, so I had to make some minor changes

class Printer
  def initialize
    @printers = {
      # EPSON660ABD
      EPSON730: {
        name: 'Epson Artisan 730 / Stylus Photo PX730WD',
        password: [ 0x08, 0x77 ],
        waste_ink1: [ 0x0E, 0x0F ],
        waste_ink2: [ 0x10, 0x11 ],
        colors: [ 'cyan', 'yellow', 'light_cyan', 'black', 'magenta', 'light_magenta' ],
        color_code: {
          cyan: 0x14,
          yellow: 0x28,
          light_cyan: 0x18,
          black: 0x1C,
          magenta: 0x20,
          light_magenta: 0x24,
        },
      },
    }
  end

  def printer_select model_code
    cleaned_model_code = model_code.gsub('-', '') # Remove hyphens
    @printers[cleaned_model_code.to_sym]
  end
end

Reset seems to work fine but after first print the value resets. This seems to be consistent with what was reported here:
Zedeldi/epson-printer-snmp#1

For reference Zedeldi/epson-printer-snmp#6

There is also bug in read_eeprom_multibyte when bytes are [0F16][1916] its getting 19F16which is 415 instead of 190F16 which is 6415

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

1 participant