Skip to content

Commit

Permalink
Use default IPP Everywhere printer icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Nov 3, 2023
1 parent a485e44 commit df732c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions daemon/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,17 @@ LocalDriverCallback(
if (!strcmp(driver_name, "everywhere"))
{
// Query the printer for capabilities...

// TODO: Query IPP printer for capabilities
/* Default icons */
data->icons[0].data = everywhere_sm_png;
data->icons[0].datalen = sizeof(everywhere_sm_png);

data->icons[1].data = everywhere_md_png;
data->icons[1].datalen = sizeof(everywhere_md_png);

data->icons[2].data = everywhere_lg_png;
data->icons[2].datalen = sizeof(everywhere_lg_png);
}
else
{
Expand Down

0 comments on commit df732c3

Please sign in to comment.