[Libreoffice-bugs] [Bug 51132] After one success, PRINTING of #10 ENVELOPES failed to print properly, apparently due to incorrect formatting of the envelope document by the 'Insert Envelope' wizard.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 26 06:43:43 UTC 2019


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

--- Comment #27 from Howard Johnson <webmaster at OutWestClassifieds.org> ---
I finally found a simple workaround to this bug, at least for my current
printer.

NOTE: The best solution is probably to buy or borrow another, better printer,
because as near as I can tell, this bug is more about printer limitations, than
it is about LibreOffice.  

In other words, note well that, my HP laser printer prints envelopes correctly
from LO.  It has a better printer driver.



NOW HERE'S THE WORKAROUND, AT LEAST FOR MY CHEAP CANON MG2900 PRINTER


1) First install a 2nd driver (for the same printer).
   Name it with a suffix something like '-com10'.  

     In my case my first driver is named Canon-MG2900, and 
       this second driver is named Canon-MG2900-Com10.


2) Edit this printer driver's ppd file.  

     For me this is: /etc/cups/ppd/Canon-MG2900.ppd

   Change this line from:  *LandscapeOrientation: Plus90

                      To:  *LandscapeOrientation: Plus270


3) Open LibreOffice.  Create a new writer document.  

   Then select Menu> Insert> Envelope...

   * Select the 'Envelope' tab.  
       * Enter the 'Addressee' (address to send to), and below it
         enter the 'Sender'    (your return address).

   * Next select the 'Format' tab.  
       * Under 'Size', for 'Format' select '#10 Envelope'.

   * Next select the 'Printer' tab.  
       * Under 'Envelope Orientation', choose the 4th icon from the left, 
         or the one in landscape mode with the envelope to the left of center.

            This will get rotated by 180 degrees, so the envelope will feed 
            into the printer first, and thus print the return address first.
            Also with my printer I can only adjust the paper slot to the right
            side for the envelope feeding, so that's why this position matters.

       * Also on this tab select the 'Print from top' radio button.

       * Finally also on this tab, under 'Current Printer' make sure your new
         *-Com10 printer driver is selected for this document.  If it's not
         click on 'Setup...' and set it.

   Once all of that is done, click the 'Insert' button at the bottom, (or 
   'Modify' if you're editing a previously created envelope).

   The main view of LibreOffice now returns.  You should see a landscape page
   with the envelope at the bottom.'ll see the envelope layout.  In other words
   unlike with my HP printer, which correctly shows the Com10 envelope without
   all of this fuss above, this printer lays out the envelope on a Letter sheet 
   of paper in landscape mode.

   Now just hit ^P (Control-P) to print.  

     In the 'Print' dialog, make sure the envelope preview on the left is
     correct.  You're looking for two things:  1) The paper is a 8.5x11" 
     landscape sheet.  

       If it says 'A5' instead of 'Letter', select the Properties
       button and on the Paper tab, check the box below the word 'Paper',
       for 'Use only paper size from printer preferences, and then set 'Paper
       size:' to 'Letter', and 'Orientation:' to 'Landscape'.  And then click
       'Ok'.  Now again confirm that the paper is Letter in landscape mode 
       in the preview.

   Finally to save paper limit this to just the first page: Pages 1.  And 
   Click 'Ok' to print.


NOTES

* You can insert comments in the ppd file with a *% line prefix.

* I think you need to close and restart LO after you make any edits to the ppd
file.

* You can edit the envelope settings in LO with Menu, Insert, Envelope...
    Yes, I know it kind of doesn't make sense that edit comes from Insert, but
    that's how it works, i.e. it doesn't insert a 2nd envelope, but rather it
    just edits your previously inserted envelope.

* When I feed the Com10 Envelope into my printer, I need the leading edge
  to be my working edge and nearest the return address.  I tried and tried 
  to get this to work without rotating this, but in the end every effort 
  failed.  So rotate 180 does the trick to have the envelope move thru the 
  printer right.  The the rest of this is to get the envelope to either the
  right, left or center, for whatever type of paper feeder you have. 

* When I open my System Settings (from my main Cinnamon menu) and 
    select the Printers icon, and 
      get 'Print Settings - localhost', and 
        then click Unlock in the upper right corner, 
        enter my system (not user) password, and 
          then right click on my new driver, 'Canon-MG2900-Com-10, and 
            select Properties,
              Under 'Job Options' 'Common Options', 'Orientation', you can
                 select 'Reverse Landscape (270 degrees).  This also 
                 seems to do the necessary rotation.

-- 
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/20190126/928bfd2b/attachment.html>


More information about the Libreoffice-bugs mailing list