Mageia Bugzilla – Attachment 2729 Details for
Bug 4521
Regression printing envelope DL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Switch to printer langauge Postscript level 2 as default
libreoffice_remove_pdf_printer_lang.patch (text/plain), 1.12 KB, created by
Jaroslav Krejci
on 2012-09-02 19:47:18 CEST
(
hide
)
Description:
Switch to printer langauge Postscript level 2 as default
Filename:
MIME Type:
Creator:
Jaroslav Krejci
Created:
2012-09-02 19:47:18 CEST
Size:
1.12 KB
patch
obsolete
>diff -ru libreoffice-core-3.6.1.1/vcl/unx/generic/printer/cupsmgr.cxx~ libreoffice-core-3.6.1.1/vcl/unx/generic/printer/cupsmgr.cxx >--- libreoffice-core-3.6.1.1/vcl/unx/generic/printer/cupsmgr.cxx~ 2012-08-25 10:54:08.219733232 +0200 >+++ libreoffice-core-3.6.1.1/vcl/unx/generic/printer/cupsmgr.cxx 2012-08-25 10:54:08.241733438 +0200 >@@ -517,7 +517,7 @@ > m_bUseIncludeFeature = true; > bUsePDF = true; > if( m_aGlobalDefaults.m_nPSLevel == 0 && m_aGlobalDefaults.m_nPDFDevice == 0 ) >- m_aGlobalDefaults.m_nPDFDevice = 1; >+ m_aGlobalDefaults.m_nPSLevel = 2; > } > // do not send include JobPatch; CUPS will insert that itself > // TODO: currently unknwon which versions of CUPS insert JobPatches >@@ -583,7 +583,7 @@ > aPrinter.m_aInfo.m_aContext = c_it->second; > } > if( bUsePDF && aPrinter.m_aInfo.m_nPSLevel == 0 && aPrinter.m_aInfo.m_nPDFDevice == 0 ) >- aPrinter.m_aInfo.m_nPDFDevice = 1; >+ aPrinter.m_aInfo.m_nPSLevel = 2; > aPrinter.m_aInfo.m_aDriverName = aBuf.makeStringAndClear(); > aPrinter.m_bModified = false;
diff -ru libreoffice-core-3.6.1.1/vcl/unx/generic/printer/cupsmgr.cxx~ libreoffice-core-3.6.1.1/vcl/unx/generic/printer/cupsmgr.cxx --- libreoffice-core-3.6.1.1/vcl/unx/generic/printer/cupsmgr.cxx~ 2012-08-25 10:54:08.219733232 +0200 +++ libreoffice-core-3.6.1.1/vcl/unx/generic/printer/cupsmgr.cxx 2012-08-25 10:54:08.241733438 +0200 @@ -517,7 +517,7 @@ m_bUseIncludeFeature = true; bUsePDF = true; if( m_aGlobalDefaults.m_nPSLevel == 0 && m_aGlobalDefaults.m_nPDFDevice == 0 ) - m_aGlobalDefaults.m_nPDFDevice = 1; + m_aGlobalDefaults.m_nPSLevel = 2; } // do not send include JobPatch; CUPS will insert that itself // TODO: currently unknwon which versions of CUPS insert JobPatches @@ -583,7 +583,7 @@ aPrinter.m_aInfo.m_aContext = c_it->second; } if( bUsePDF && aPrinter.m_aInfo.m_nPSLevel == 0 && aPrinter.m_aInfo.m_nPDFDevice == 0 ) - aPrinter.m_aInfo.m_nPDFDevice = 1; + aPrinter.m_aInfo.m_nPSLevel = 2; aPrinter.m_aInfo.m_aDriverName = aBuf.makeStringAndClear(); aPrinter.m_bModified = false;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4521
: 2729