diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-09-16 19:40:25 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-09-16 19:41:53 +0100 |
commit | b9a840959ea4f6f0a171d744e72583756ee9cad5 (patch) | |
tree | 347dd8413f3a1ada0f2d5294ef7f50283303ea8a /pcl | |
parent | ce16458c7f99ccc9d4e7b64d4946cf5082738394 (diff) | |
download | ghostpdl-b9a840959ea4f6f0a171d744e72583756ee9cad5.tar.gz |
gpdl: Ensure that -o sets -dNOPAUSE for postscript jobs.
Postscript jobs require NOPAUSE in the dict, not just in the
main instance.
Diffstat (limited to 'pcl')
-rw-r--r-- | pcl/pl/plmain.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pcl/pl/plmain.c b/pcl/pl/plmain.c index 3abcd26d8..de221df4f 100644 --- a/pcl/pl/plmain.c +++ b/pcl/pl/plmain.c @@ -2718,9 +2718,11 @@ help: break; param_string_from_transient_string(str, adef); gs_c_param_list_write_more(params); - code = - param_write_string((gs_param_list *) params, - "OutputFile", &str); + code = param_write_string((gs_param_list *) params, + "OutputFile", &str); + if (code < 0) + break; + code = pl_main_set_param(pmi, "NOPAUSE"); pmi->pause = false; break; } |