changeset 28167:cb25a24ec3e1

Change /setduplexmode, /settumble, add /packedarray.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 16 Mar 2000 16:29:09 +0000
parents f3ea89b2cc47
children e1acd68998c8
files etc/ps-prin0.ps
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ps-prin0.ps	Thu Mar 16 13:24:56 2000 +0000
+++ b/etc/ps-prin0.ps	Thu Mar 16 16:29:09 2000 +0000
@@ -104,12 +104,15 @@
  /<<{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