diff options
author | James Bottomley <JBottomley@Parallels.com> | 2014-07-23 10:32:49 -0700 |
---|---|---|
committer | Serge V Shistarev <s.shistarev@i-wire.net> | 2014-07-24 12:55:44 +0900 |
commit | 3dfb5acf4e4c5d98685f4ec521ebddc1d7f54ec4 (patch) | |
tree | 744eb7d70024f37a65eb524ad728d3be516d0520 | |
parent | 78542cddfefe202f5d0c02bd2e791544034a64bf (diff) | |
download | ricoh-sp100-3dfb5acf4e4c5d98685f4ec521ebddc1d7f54ec4.tar.gz |
pstoricohddst-gdi: Fix bug in page size handling
The PJL header should set a PAPER=<pagesize>, 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 <JBottomley@Parallels.com>
-rwxr-xr-x | pstoricohddst-gdi | 2 |
1 files changed, 1 insertions, 1 deletions
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 |