summaryrefslogtreecommitdiff
path: root/etc/ps-prin0.ps
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-03-16 16:29:09 +0000
committerGerd Moellmann <gerd@gnu.org>2000-03-16 16:29:09 +0000
commit510bec66b09846491411bf30f3285cc0d6d56e17 (patch)
treea88992a5a8e5820bf48c3f6be5ce9eebdcf35801 /etc/ps-prin0.ps
parent1fa285784472a5bffa5dc002f8e39ca7656e521a (diff)
downloademacs-510bec66b09846491411bf30f3285cc0d6d56e17.tar.gz
Change /setduplexmode, /settumble, add /packedarray.
Diffstat (limited to 'etc/ps-prin0.ps')
-rw-r--r--etc/ps-prin0.ps7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/ps-prin0.ps b/etc/ps-prin0.ps
index a58b9888d26..8bab42aaeea 100644
--- a/etc/ps-prin0.ps
+++ b/etc/ps-prin0.ps
@@ -104,12 +104,15 @@ gs_languagelevel 2 ne{ % operators for language level 2 only
/<<{mark}bind def
/>>{counttomark 2 idiv dup dict begin{def}repeat pop currentdict end}bind def
/setpagedevice{pop}bind def
+ /packedarray{array astore readonly}bind def
}if
+% device dependent operators
+
/setduplexmode where{pop}
-{/setduplexmode /duplexmode where{pop{duplexmode}}{{pop}}ifelse bind def}ifelse
+{/setduplexmode /duplexmode where{pop/duplexmode}{/pop}ifelse load def}ifelse
/settumble where{pop}
-{/settumble /tumble where{pop{tumble}}{{pop}}ifelse bind def}ifelse
+{/settumble /tumble where{pop/tumble}{/pop}ifelse load def}ifelse
% === END ps-print prologue 0