https://bugs.documentfoundation.org/show_bug.cgi?id=150104

            Bug ID: 150104
           Summary: Printer settings not loaded from doc for long
                    printer/driver name
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: m.wegh...@posteo.de
            Blocks: 64679

When saving printer settings to a document, those are not correctly restored
when opening the document again on Windows when the printer name is longer than
63 characters or the driver name is longer than 31 characters (ASCII
characters, number is even lower when non-ASCII characters are involved).

= Steps to reproduce: =

1) install PDF Creator, available from here:
https://www.pdfforge.org/pdfcreator 
2) rename the "PDFCreator" printer to a name longer than 64 characters:
  a) Go to "Printers & scanners" module in Windows system settings
  b) select the "PDFCreator" printer -> "Manage" -> "Printer properties"
  c) in the "General" tab, set the following new name:
"PDFCreator_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"
3) optional, but makes the problem even clearer: Set another printer as default
printer in Windows settings, e.g. "Microsoft Print do PDF"
4) make sure that the following two options are enabled in LO settings under
"Load" -> "General" (which they are by default):
* "Load user-specific settings with the document"
* Load printer settings with the document
3) open a new Writer doc
4) go to "File" -> "Printer Settings"
5) select the printer renamed above
6) go to "Properties..." ->  "Paper/Quality" and select "Black & White" instead
of "Color" (the default set for the printer in Windows settings) in the
"Paper/Quality" tab
7) confirm all open dialogs
8) save the document
9) close the document
10) open the saved document again
11) check the printer settings under "File" -> "Printer Settings"

= Actual result: =

* the system default printer is selected
* when selecting the printer set up above, "Color" is selected in the printer
properties

= Expected result: =

The printer settings previously set should be restored, i.e.
*
"PDFCreator_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"
should be preselected as printer
* "black & white" should be selected in the color settings in the printer
properties


Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=64679
[Bug 64679] [META] Printer settings related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to