author | Rich Burridge <rich.burridge@oracle.com> |
Tue, 13 Sep 2016 14:01:54 -0700 | |
changeset 6897 | 95d141a9085b |
permissions | -rw-r--r-- |
6897
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
Do not use acroread, use pdf2ps from gs for PDF |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
|
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
See: https://patches.ubuntu.com/by-release/extracted/ubuntu/a/a2ps/1:4.13c~rc5-1/05_no_acroread_for_pdf.dpatch |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
|
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
## 05_no_acroread_for_pdf.dpatch by Masayuki Hatta <[email protected]> |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
|
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
Index: b/etc/a2ps_cfg.in |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
=================================================================== |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
--- a/etc/a2ps_cfg.in |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
+++ b/etc/a2ps_cfg.in |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
@@ -291,8 +291,8 @@ |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
@COM_PSUTILS@@COM_pdf2ps@Delegation: pdf2ps pdf:ps \ |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
@COM_PSUTILS@@COM_pdf2ps@ @pdf2ps@ '$f' #f0 && #{del.psselect} #f0 | #{del.psnup} |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# Delegated to AcrobatReader |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
-@COM_PSUTILS@@COM_acroread@Delegation: Acrobat pdf:ps \ |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
-@COM_PSUTILS@@COM_acroread@ #{del.acroread} < '$f' | #{del.psselnup} |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
+#@COM_PSUTILS@@COM_acroread@Delegation: Acrobat pdf:ps \ |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
+#@COM_PSUTILS@@COM_acroread@ #{del.acroread} < '$f' | #{del.psselnup} |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
|
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
########## PostScript files |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
# Pass the PostScript files to psnup and psselect |