diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2017-04-06 12:37:47 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2017-04-06 12:37:47 -0700 |
| commit | d2c25edb0301d3d33671c74fc30dde8b1a9c6c77 (patch) | |
| tree | 97a215aa32ef14a584cec2b5bc31d15f403a07f8 | |
| parent | 70fd5f1429b170de45c4ceb7b2f5709e8ce464be (diff) | |
set document title for PDF viewers
| -rw-r--r-- | conf/invoice_latex | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/invoice_latex b/conf/invoice_latex index 1cbed4a6d..5c6090e08 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -38,6 +38,16 @@ '';
--@]
+\catcode`\{=1
+\catcode`\}=2
+\special{ps:%
+ SDict begin [
+ /Title (Invoice \#[@-- $invnum --@])
+ /DOCINFO pdfmark
+ end
+}
+\end
+
\addtolength{\voffset}{-0.0cm} % top margin to top of header
\addtolength{\hoffset}{-0.6cm} % left margin on page
\addtolength{\topmargin}{[@-- defined($topmargin) ? $topmargin : '-1.00cm' --@]}
|
