LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-20-2012, 05:47 PM   #1
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Rep: Reputation: 176Reputation: 176
LibreOffice 3.5..2.2: Printing Envelopes.


Tried printing a number 10 envelope in LibreOffice 3.5.2.2 and have ran into a problem.
I've check and re-checked the procedure and I'm doing it properly.
When the envelope goes to the printer it prints the return address correctly, but only prints the first 3 letters or digits of each line of the addressee's name and address, moves over a couple of inches and, again, only prints the first 3 letters or digits of each line and then shoots out the envelope as if it were properly done.

It is not the printer, it has to be LibreOffice. I've search the 'Net and there are various envelope printing problems being reported, but little to nothing in the way of solutions.
Is this a bug in LibreOffice? Am I going to have to fire up, ugh, ms-word just to print an envelope?
Anyone know a solution?
Thanks.

Last edited by cwizardone; 04-20-2012 at 05:51 PM.
 
Old 04-21-2012, 12:20 AM   #2
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
Update: Deleted the libreOffice configuration files and did a fresh install of LibreOffice.
Now it won't print any part of the name and address of the addressee. It does still print the return address.
Fired up ms-word and printed an envelope just to confirm there is nothing wrong with the printer.
 
Old 04-21-2012, 09:03 PM   #3
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
The problem is solved in a roundabout way.
LibreOffice uses PDF as the default "Printer Language type."
By changing it to Postscript the envelope printed, BUT LibreOffice changes the "Printer Language type" back to PDF almost immediately.
I have yet to find a setting that will allow the default printer language to be set to Postscript.
That and it prints the envelope upside down, i.e., if you insert the envelope into the printer as per the manufacturer's instructions, it will be printed upside down. The easy solution is to turn the envelope around before putting it into the printer.
Oh, well.. Better than not being able to print envelopes at all.... I guess.....

To change (temporarily) the printer language (driver) go to, "Printer Settings" to "Properties" to "Device" and change the "Printer Language type."

Last edited by cwizardone; 04-21-2012 at 09:10 PM.
 
Old 04-21-2012, 09:55 PM   #4
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
OK. Here is how to change the default "printer language type" in LibreOffice.
As user go to, /usr/lib64/libreoffice/program/
and launch this utility, spadmin (not spadmin.bin). I did it by simply clicking on the it while in a file manager.
At first I selected, "Postscript (level from driver)," but when I later checked the printer settings in LibreOffice it had been changed back to PDF. I then selected "Postscript Level 3," but when I checked the printer settings in LibreOffice it had been changed to "Postscript Level 2." I've left it there and it has not been changed back to PDF.
So, there is the answer.

Last edited by cwizardone; 04-21-2012 at 09:57 PM.
 
1 members found this post helpful.
Old 04-22-2012, 09:13 AM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,379

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
Thanks for this. It motivated me to get envelope printing working on my setup and the Printer Language type was a necessary part of the solution.
 
Old 04-22-2012, 02:36 PM   #6
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
You are welcome!
 
Old 08-06-2012, 05:21 PM   #7
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 379

Rep: Reputation: 37
Printer Language type

Apologies for butting in here.

Thanks. I had a similar problem trying to print a booklet. It would only work with one of the PostScript levels in the "Printer Language type" listbox. I too couldn't get it to stick at PostScript (Level from driver) or PostScript Level 3 after closing and restarting /usr/bin/spadmin

Looking at the source code I see this -

Code:
ListBox RID_RTS_DEVICE_PRINTLANG_BOX
    {
        HelpID = "padmin:ListBox:RID_RTS_DEVICEPAGE:RID_RTS_DEVICE_LEVEL_BOX";
        DropDown = TRUE;
        Pos = MAP_APPFONT( 120, 130 );
        Size = MAP_APPFONT( 105, 200 );
        StringList [en-US] =
        {
            < "PostScript (Level from driver)" ; 1; > ;
            < "PostScript Level 1" ; 2; > ;
            < "PostScript Level 2"; 3; > ;
            < "PostScript Level 3"; 3; > ;
            < "PDF"; 10; > ;
        };
    };
The line "PostScript Level 3"; 3; looks to be partially a repeat of the previous line. I wonder if it should have been "PostScript Level 3"; 4;

BTW changing the PostScript level changes the contents of this file -

./.config/libreoffice/3/user/psprint/psprint.conf

For my printer changing to -

"PostScript (Level from driver)" would revert to "PDF
"PostScript Level 3" would revert to "PostScript Level 2"
"PostScript Level 1" would stick with "PostScript Level 1"
"PostScript Level 2" would stick with "PostScript Level 2"
"PDF" would stick to "PDF"

A bit quirky - maybe there's a bug report for this issue. Not looked yet and probably won't do so for several weeks.
 
Old 01-29-2014, 07:16 AM   #8
jgp-bhr
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
LibreOffice printing issues

I know this thread was solved 1.5 years ago, but I wanted to thank cwizardzone for their posts. The information supplied in their 04-20-2012 06:47 PM post solved a number of printing issues I had been experiencing for some time, but didn't know how to resolve them. #10 envelopes and many documents and spreadsheets would not print correctly. As a work around I had been printing documents and spreadsheets first to a PDF file, then used Okular to print the PDF files, but this method wouldn't work for envelopes. Thanks again!
 
Old 01-30-2014, 10:46 AM   #9
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
You are welcome!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Printing two sheets on one paper on HP Officejet Pro k8600dn with Libreoffice ToK Linux - Hardware 3 10-16-2011 03:10 AM
Cannot print envelopes with LibreOffice Writer, HP LaserJet 5M pwabrahams Linux - General 2 06-22-2011 08:00 AM
[SOLVED] Printing Addresses on Envelopes rmknox Linux - Newbie 4 11-21-2010 10:15 AM
Printing addresses on envelopes /w A4 printers square_eyes Linux - Software 1 01-26-2008 04:00 AM
printing on envelopes ??? YellowFin Linux - General 1 11-14-2005 02:25 PM


All times are GMT -5. The time now is 09:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration