ALT Linux repositórios
S: | 2.4.7-alt1 |
5.0: | 1.3.10-alt1 |
4.1: | 1.3.10-alt0.M41.4 |
+updates: | 1.3.9-alt1.M41.1 |
4.0: | 1.2.12-alt6.M40.9 |
+updates: | 1.2.12-alt6.M40.8 |
3.0: | 1.1.20-alt14.1 |
Group :: Sistema/Servidores
RPM: cups
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: ALT-mime-pjl-pdf.patch
Download
Download
In some cases (FE cups-to-cups printing) PDF has PJL
header
diff --git cups/conf/mime.types cups/conf/mime.types
index dcb07710e..fb4e2e265 100644
--- cups/conf/mime.types
+++ cups/conf/mime.types
@@ -71,7 +71,8 @@
#
#application/msword doc string(0,<D0CF11E0A1B11AE1>)
-application/pdf pdf regex(0,^[\n\r]*%PDF)
+application/pdf pdf regex(0,^[\n\r]*%PDF) \
+ contains(0,128,<1B>%-12345X) + contains(0,4096,"ENTER LANGUAGE = PDF")
application/postscript ai eps ps string(0,%!) string(0,<04>%!) \
contains(0,128,<1B>%-12345X) + \
(contains(0,4096,"LANGUAGE=POSTSCRIPT") \