summaryrefslogtreecommitdiff
path: root/etc/ps-prin0.ps
diff options
context:
space:
mode:
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