<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Wrong orientation in print preview of printer dialog for label printer"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134340">134340</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Wrong orientation in print preview of printer dialog for label printer
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.0.0.beta1+
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Printing and PDF export
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hpj@urpla.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When using a label printer (using a Zebra ZTC GK420d here) with 3,50x1,50"
labels, the print preview in the printer dialog is confused.

First attempt to print attached document results in screenshot 1. The
orientation is wrong, print is fine. Selecting print properties and enabling
"Use this paper format only" results in ss 2, print is fine. 

Choosing the correct format in the print dialog (89x38mm) results in ss 3,
print failed (wrong orientation).

Steps to Reproduce:
Setup Zebra printer with 3,50x1,50" labels.
Print attached label document on label printer.
Notice the print dialog

Actual Results:
The printer dialog initially shows previews with wrong orientation
After setting the correct paper format in the print dialog, the preview is
confused (looks, like some default borders are taken into account, not the
one's from the document). Now, printing result is broken (wrong orientation and
some arbitrary page borders seem to have been taken into account).

Expected Results:
The printer dialog show the preview in the correct orientation (such as after
setting the forced paper format in the printer properties). 
The printer dialog show the correct paper format and orientation.
The print preview/result isn't broken after setting the correct paper format
and orientation.



Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.beta2
Build ID: 00(Build:0)
CPU-Threads: 8; BS: Linux 5.7; UI-Render: Standard; VCL: kf5
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>