@ -257,8 +257,8 @@ static struct printer_data selphy_printers[] = {
. ready_m_readback = { 0x04 , 0x00 , 0x03 , 0x00 , 0x02 , 0x01 , - 1 , 0x01 , 0x00 , 0x00 , 0x00 , 0x00 } ,
. ready_c_readback = { 0x04 , 0x00 , 0x07 , 0x00 , 0x02 , 0x01 , - 1 , 0x01 , 0x00 , 0x00 , 0x00 , 0x00 } ,
. done_c_readback = { 0x04 , 0x00 , 0x00 , 0x00 , 0x02 , 0x01 , - 1 , 0x01 , 0x00 , 0x00 , 0x00 , 0x00 } ,
// .clear_error + clear_error_len
// .paper_codes
. clear_error = { 0x40 , 0x10 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 } ,
. clear_error_len = 12 ,
. pgcode_offset = 3 ,
. paper_code_offset = 6 ,
. error_detect = es1_error_detect ,
@ -272,8 +272,8 @@ static struct printer_data selphy_printers[] = {
. ready_m_readback = { 0x06 , 0x00 , 0x03 , 0x00 , - 1 , 0x00 , - 1 , - 1 , 0x00 , 0x00 , 0x00 , 0x00 } ,
. ready_c_readback = { 0x09 , 0x00 , 0x07 , 0x00 , - 1 , 0x00 , - 1 , - 1 , 0x00 , 0x00 , 0x00 , 0x00 } ,
. done_c_readback = { 0x09 , 0x00 , 0x00 , 0x00 , - 1 , 0x00 , - 1 , - 1 , 0x00 , 0x00 , 0x00 , 0x00 } ,
// .clear_error + clear_error_len
// .paper_codes
. clear_error = { 0x40 , 0x10 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 } ,
. clear_error_len = 12 ,
. pgcode_offset = 2 ,
. paper_code_offset = 4 ,
. error_detect = es2_error_detect ,
@ -287,8 +287,8 @@ static struct printer_data selphy_printers[] = {
. ready_m_readback = { 0x03 , 0xff , 0x02 , 0x00 , 0xff , 0xff , 0xff , 0xff , 0x00 , 0x00 , 0x00 , 0x00 } ,
. ready_c_readback = { 0x05 , 0xff , 0x03 , 0x00 , 0xff , 0xff , 0xff , 0xff , 0x00 , 0x00 , 0x00 , 0x00 } ,
. done_c_readback = { 0x00 , 0xff , 0x10 , 0x00 , 0xff , 0xff , 0xff , 0xff , 0x00 , 0x00 , 0x00 , 0x00 } ,
// .clear_error + clear_error_len
// .paper_codes
. clear_error = { 0x40 , 0x10 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 } ,
. clear_error_len = 12 ,
. pgcode_offset = 2 ,
. paper_code_offset = - 1 ,
. error_detect = es3_error_detect ,
@ -309,8 +309,8 @@ static struct printer_data selphy_printers[] = {
. ready_m_readback = { 0x00 , 0x03 , 0x02 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , - 1 } ,
. ready_c_readback = { 0x00 , 0x05 , 0x03 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , - 1 } ,
. done_c_readback = { 0x00 , 0x00 , 0x10 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , - 1 } ,
// .clear_error + clear_error_len
// .paper_codes
. clear_error = { 0x40 , 0x10 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 } ,
. clear_error_len = 12 ,
. pgcode_offset = 2 ,
. paper_code_offset = 11 ,
. error_detect = es40_error_detect ,
@ -926,7 +926,7 @@ top:
struct dyesub_backend canonselphy_backend = {
. name = " Canon SELPHY CP/ES " ,
. version = " 0.8 0 " ,
. version = " 0.8 1 " ,
. uri_prefix = " canonselphy " ,
. init = canonselphy_init ,
. attach = canonselphy_attach ,