Printing an envelope

I tried to print a #10 envelope. I am using the LibreOffice snap version 358 on Ubuntu 24.04. My printer is an Epson WF-3540. All attempts have failed, which according to all the other posts on this subject is a fairly common outcome. The steps I took are as follows:

  1. Opened LibreOffice writer
  2. Clicked on Insert tab, then envelope
  3. Filled in addressee and sender addresses under the Envelope tab
  4. Then clicked on the Format tab, #10 Envelope was selected and positions seemed fine.
  5. Clicked on printer tab and selected vertical center, print from top
  6. Then clicked on the Epson printer setup button on the same window.
  7. On the printer setup dialog that opened I selected properties. Then changed paper size to envelope #10, Orientation to landscape, paper tray set to automatic. then clicked OK. then OK again
  8. then I selected New Document, which opened a new window showing the envelope with the addresses.
  9. Then from the main menu bar I select File and then Print. This shows the print dialog window.
  10. If I hit Print, I get notified that the print job has been created, but it never prints. Eventually I have to delete it from the print que. where it is shown as paused.

All other documents seem to print just fine. I just can’t print an envelop.
I ended up loading up a copy of MS Office 2007 on a Windows 11 Virtual Machine and had no dificulties printing an envelope. Seems to be a problem with LibreOffice.