diff options
author | Robin Watts <robin.watts@artifex.com> | 2019-01-08 18:49:38 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2019-01-09 19:00:49 +0000 |
commit | 0b89bbaf583441e84804201d2e74169b9c7be5de (patch) | |
tree | 2f22f81ea8a70d5937c27e2101e445620af0333c /xps | |
parent | 51196c3b88bf5a865e03907c90ac891ab857f021 (diff) | |
download | ghostpdl-0b89bbaf583441e84804201d2e74169b9c7be5de.tar.gz |
gpdl: Add -c operation to gpdl.
We gather up all the commands specified by -c and pass them into
the language as a 'prefix' command, to be run just after we have
inited the job. This means they run inside the encapsulation.
The only language that supports prefix commands is postscript,
hence only postscript commands can be used. This is what we want.
Diffstat (limited to 'xps')
-rw-r--r-- | xps/xpstop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xps/xpstop.c b/xps/xpstop.c index 703a8c2e5..a6d644b43 100644 --- a/xps/xpstop.c +++ b/xps/xpstop.c @@ -429,6 +429,7 @@ pl_interp_implementation_t xps_implementation = NULL, xps_imp_init_job, xps_imp_process_file, + NULL, /* run_prefix_commands */ xps_impl_process_begin, xps_imp_process, xps_impl_process_end, |