summaryrefslogtreecommitdiff
path: root/Resource/Init/gs_setpd.ps
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2018-08-28 09:55:48 +0100
committerChris Liddell <chris.liddell@artifex.com>2018-08-28 09:55:48 +0100
commit5b5536fa88a9e885032bc0df3852c3439399a5c0 (patch)
treed766e1597c9fbf02178d881c815f10432a790727 /Resource/Init/gs_setpd.ps
parentc9b362ba908ca4b1d7c72663a33229588012d7d9 (diff)
downloadghostpdl-5b5536fa88a9e885032bc0df3852c3439399a5c0.tar.gz
Remove gssetresolution/gsgetresolution
These are non-standard, and never used, so remove them. Also rejig gsgetdeviceprop, rename to .gsgetdeviceprop and undefine it after it's used. For the only other use of gsgetdeviceprop, replace with a special_op call.
Diffstat (limited to 'Resource/Init/gs_setpd.ps')
-rw-r--r--Resource/Init/gs_setpd.ps4
1 files changed, 2 insertions, 2 deletions
diff --git a/Resource/Init/gs_setpd.ps b/Resource/Init/gs_setpd.ps
index 0fc72300f..4cdfdc0e1 100644
--- a/Resource/Init/gs_setpd.ps
+++ b/Resource/Init/gs_setpd.ps
@@ -204,8 +204,8 @@ level2dict begin
mark
% First put the device's default page size in slot 0
% This satifies those that have devices built with a4 as the default
- 0 mark /PageSize currentdevice /PageSize gsgetdeviceprop .dicttomark
-
+ 0 mark /PageSize /GetDeviceParam .special_op
+ not {/setpagedevice .systemvar /configurationerror signalerror} if .dicttomark
% Only populate the other entries if we aren't FIXEDMEDIA
FIXEDMEDIA not {
statusdict /.pagetypenames get {