summaryrefslogtreecommitdiff
path: root/dviware/psprint/unix/options.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/psprint/unix/options.h
Initial commit
Diffstat (limited to 'dviware/psprint/unix/options.h')
-rw-r--r--dviware/psprint/unix/options.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/dviware/psprint/unix/options.h b/dviware/psprint/unix/options.h
new file mode 100644
index 0000000000..8750573ca3
--- /dev/null
+++ b/dviware/psprint/unix/options.h
@@ -0,0 +1,44 @@
+(* Options *)
+
+TYPE
+ validunits = (ic,cm,mm,pc,pt,bp,px);
+
+VAR
+ resolution, (* pixels per inch *)
+ mag, (* override DVI mag; 0 = use DVI mag *)
+ hoffset, (* horizontal margin shift in pixels *)
+ voffset, (* vertical margin shift in pixels *)
+ paperwd, (* paper width in pixels *)
+ paperht (* paper height in pixels *)
+ : INTEGER;
+ tfmdir, (* location of PostScript TFMs *)
+ psprefix, (* prefix for all PostScript fonts *)
+ fontdir, (* location of PK files *)
+ dummyfont, (* dummy PK file *)
+ DVIname (* DVI file name *)
+ : string;
+
+ (* The above options are also available with DVItoVDU.
+ The following options are only available with PSDVI.
+ *)
+
+ units (* defines how dimensions will be displayed *)
+ : validunits;
+ stats, (* show some statistics? *)
+ reverse, (* output pages in reverse order? *)
+ conserveVM, (* conserve virtual memory? *)
+ subrange (* user has selected a subrange of pages? *)
+ : BOOLEAN;
+ firstDVIpage, (* first DVI page selected (0 if TeX page) *)
+ finalDVIpage, (* final DVI page selected (0 if TeX page) *)
+ increment (* further restricts page selection *)
+ : INTEGER;
+ firstTeXpage, (* first TeX page selected *)
+ finalTeXpage, (* final TeX page selected *)
+ header, (* header file prefixed to output *)
+ PSname (* explicit file name for PostScript output *)
+ : string;
+
+PROCEDURE InitOptions; EXTERNAL;
+FUNCTION Cap (ch : CHAR) : CHAR; EXTERNAL;
+FUNCTION Len (str : string) : INTEGER; EXTERNAL;