summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-02-11 17:56:29 +0000
committerRobin Watts <robin.watts@artifex.com>2016-03-01 13:39:18 +0000
commitdbc4039c4f467497e6a9c1364fff857e82d675e7 (patch)
tree4219292ef3bb9831d6058ee2e1de84bb5db803de /include
parentefb832d2fb52e3439d638c5faee14cec3478d6a6 (diff)
downloadmupdf-dbc4039c4f467497e6a9c1364fff857e82d675e7.tar.xz
PCL output: Add code to guess paper sizes.
Guess paper sizes from bitmap dimensions unless the paper size has been specified. If unknown, depending on the properties of the printer, we'll either send a 'custom' paper size (followed by the page size in decipoints), or the next size up. Depending on the capabilities of the printer, we can optionally send orientation too.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/output-pcl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/output-pcl.h b/include/mupdf/fitz/output-pcl.h
index 3817fd91..13d0087b 100644
--- a/include/mupdf/fitz/output-pcl.h
+++ b/include/mupdf/fitz/output-pcl.h
@@ -28,6 +28,7 @@ struct fz_pcl_options_s
int manual_feed;
int media_position_set;
int media_position;
+ int orientation;
/* Updated as we move through the job */
int page_count;