From 3dfb5acf4e4c5d98685f4ec521ebddc1d7f54ec4 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Wed, 23 Jul 2014 10:32:49 -0700 Subject: [PATCH] pstoricohddst-gdi: Fix bug in page size handling The PJL header should set a PAPER=, but there's a missing dollar sign, so it's not setting $papersize, which is the passed in size, it's setting PAPER=pagesize. It doesn't seem to make a difference, presumably because the printer just ignores the setting and prints the page image, but fix to match what the windows driver does Signed-off-by: James Bottomley --- pstoricohddst-gdi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pstoricohddst-gdi b/pstoricohddst-gdi index 99d1e77..d22e7ec 100755 --- a/pstoricohddst-gdi +++ b/pstoricohddst-gdi @@ -167,7 +167,7 @@ EOF @PJL SET COPIES=1$e @PJL SET MEDIASOURCE=AUTO$e @PJL SET MEDIATYPE=PLAINRECYCLE$e -@PJL SET PAPER=pagesize$e +@PJL SET PAPER=$pagesize$e @PJL SET PAPERWIDTH=$xs$e @PJL SET PAPERLENGTH=$ys$e @PJL SET RESOLUTION=600$e