[Libreoffice-bugs] [Bug 140816] New: Unable to select MediaType "Envelope" even when an envelope PageSize has been selected

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 5 10:09:44 UTC 2021


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

            Bug ID: 140816
           Summary: Unable to select MediaType "Envelope" even when an
                    envelope PageSize has been selected
           Product: LibreOffice
           Version: 7.0.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mavoga at gmail.com

Description:
Running LibreOffice v7.0.4.2 on Debian testing.

With my Samsung SL-M4020ND printer I'm unable to print envelopes even after
fixing the PPD until cupstestppd is happy and by deleting all the constraints
with MediaType none (this allows at least to select envelope paper sizes).

In order to correctly print an envelope fed into the manual feeder (it needs to
be printed at the center of the page) I have to select the "Envelope"
MediaType: all the constraints now look ok but when I select any envelope
PageSize (i.e.: "EnvDL") only the "Printer Default" MediaType remains
available.

I triple checked all the UIConstraints in the PPD file and I'm unable to figure
out what's preventing the selection.

Commenting out the stanza

*UIConstraints: *PageRegion [all but envelope/none page regions] *MediaType
Envelope 
*UIConstraints: *MediaType Envelope *PageRegion [all but envelope/none page
regions]

(lines 1361 to 1383 of my PPD) allows "Envelope" MediaType selection; oddly
enough, it seems that commenting out the single 

*UIConstraints: *PageRegion Letter *MediaType Envelope

row is enough (see bug 106963 comment 15): perhaps the selected
PageSize/PageRegion is ignored and the default is taken into consideration?

Attaching the PPD and some screenshots, thanks

Steps to Reproduce:
1. prepare a DL sized (110mmx220mm) document
2. select "Print..."
3. verify that the paper size matches, if it doesn't select "DL Envelope 110mm
x
   220mm"
4. press the "Properties..." button
5. verify that the paper size matches the document, if it doesn't check "Use
   paper size from printer settings" and select "DL Env.", "Horizontal"
6. select the "Device" tab
7. select "Paper Type"

Actual Results:
Only "Printer Default" paper type appears

Expected Results:
"Printer Default" and "Envelope" paper types can be selected


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: it-IT (it_IT.UTF-8); Interfaccia utente: it-IT
Debian package version: 1:7.0.4-3
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210305/ddeb994f/attachment.htm>


More information about the Libreoffice-bugs mailing list