diff --git a/Canon-LBP-2900.ppd b/Canon-LBP-2900.ppd index 305d468..0c2acf1 100644 --- a/Canon-LBP-2900.ppd +++ b/Canon-LBP-2900.ppd @@ -47,7 +47,7 @@ *OpenUI *Resolution/Resolution: PickOne *OrderDependency: 10 AnySetup *Resolution *DefaultResolution: 600dpi -*Resolution 600dpi/600 DPI: "<>setpagedevice" +*Resolution 600dpi/600 DPI: "<>setpagedevice" *CloseUI: *Resolution *DefaultFont: Courier *Font AvantGarde-Book: Standard "(1.05)" Standard ROM diff --git a/src/prn_lbp2900.c b/src/prn_lbp2900.c index 95b2574..6835623 100644 --- a/src/prn_lbp2900.c +++ b/src/prn_lbp2900.c @@ -158,7 +158,7 @@ static bool lbp2900_page_prologue(struct printer_state_s *state, const struct pa uint8_t pageparms[] = { 0x00, 0x00, 0x30, 0x2A, /* sz */ 0x02, 0x00, 0x00, 0x00, - 0x1C, 0x1C, 0x1C, 0x1C, pt1, /* adapt */ 0x81, 0x04, 0x00, + 0x1C, 0x1C, 0x1C, 0x1C, pt1, /* adapt */ 0x11, 0x04, 0x00, 0x01, 0x01, /* img ref */ 0x00, save, 0x00, 0x00, /* height margin 118 */ 0x76, 0x00, /* width margin 78 */ 0x4e, 0x00, @@ -278,8 +278,8 @@ static void lbp2900_page_setup(struct printer_state_s *state, (void) width; dims->band_size = 70; dims->line_size = 4736 / 8; - if (height > 4520) - dims->num_lines = 4520; + if (height > 6778) + dims->num_lines = 6778; else dims->num_lines = height; }