[Issue] Printing .xls files (Calc) from context menu fails

Issues with installing under all versions of MS Windows
Post Reply
fechtelm
Posts: 2
Joined: Tue Oct 21, 2008 5:27 pm

[Issue] Printing .xls files (Calc) from context menu fails

Post by fechtelm »

Dear all,

I have installed open office 3.0 on WinXP Pro SP 3. I tried to print excel sheets (Extension .xls) by right-click and selecting "Print" from the context menu, which fails. Other file types (e.g., .doc) print properly from the context menu.

Is this a bug in the current version?

Best regards
Michael
Last edited by Hagar Delest on Wed Nov 12, 2008 2:34 pm, edited 2 times in total.
Reason: Tagged the thread as issue (link to a bug report).
OOo 3.0.X on Ms Windows XP
thomasjk
Volunteer
Posts: 4451
Joined: Tue Dec 25, 2007 4:52 pm
Location: North Carolina

Re: printing .xls files (calc) from context menu fails

Post by thomasjk »

I can confirm this behavior. .XLS goes nowhere while .doc prints. Don't know if this issue existed in V2.4.1 or not. I did a quick search of issues and didn't see one. You can open a new issue here http://qa.openoffice.org/ooQAReloaded/D ... Start.html.
Tom K.
Windows 10 Home version 1803 17134.165
LibreOffice 5.4.7.2
User avatar
Bhikkhu Pesala
Posts: 1253
Joined: Mon Oct 08, 2007 1:27 am

Re: printing .xls files (calc) from context menu fails

Post by Bhikkhu Pesala »

It looks like it is a bug. You're having the exact same issue as in this thread.

I checked the File Type info for xls files and found these actions:

print = "C:\Program Files\OpenOffice.org 3\program\\scalc.exe" -p "%1"
printb = "C:\Program Files\OpenOffice.org 3\program\\scalc.exe" -pt "%2" "%1"

C:\Program Files\OpenOffice.org 3\program
I wonder why it doesn't work. Maybe it is the extra backslashes?

This is the info for OpenOffice Spreadsheets:

print = "C:\Program Files\OpenOffice.org 3\program\soffice.exe" -p "%1"
printb = "C:\Program Files\OpenOffice.org 3\program\soffice.exe" -pt "%2" "%1"
Idiot Compassion
LibreOffice 6.0.4 on Windows 10
fechtelm
Posts: 2
Joined: Tue Oct 21, 2008 5:27 pm

Re: printing .xls files (calc) from context menu fails

Post by fechtelm »

Thanks Bhikkhu for your reply!
I checked the File Type info for xls files and found these actions:

print = "C:\Program Files\OpenOffice.org 3\program\\scalc.exe" -p "%1"
printb = "C:\Program Files\OpenOffice.org 3\program\\scalc.exe" -pt "%2" "%1"

C:\Program Files\OpenOffice.org 3\program
I wonder why it doesn't work. Maybe it is the extra backslashes?
The extra backslash does not matter, since it is also existent for the .doc type and swriter.exe:
here:

print = "C:\Program Files\OpenOffice.org 3\program\\swriter.exe" -p "%1"

But there it works..

Best regards
Michael
OOo 3.0.X on Ms Windows XP
efsq
Posts: 6
Joined: Tue Nov 11, 2008 3:42 pm

Re: printing .xls files (calc) from context menu fails

Post by efsq »

I encounter the same issue.
For people and webspiders:
There is a bugzilla issue for this: http://qa.openoffice.org/issues/show_bug.cgi?id=95280
and this: http://www.oooforum.org/forum/viewtopic.phtml?t=76563 is related.
OOo 3.0.X on Ubuntu 8.x + Windows XP
efsq
Posts: 6
Joined: Tue Nov 11, 2008 3:42 pm

[SEMI-SOLVED] Printing .xls files (Calc) from context menu f

Post by efsq »

It turns out that when opening a .xls document for printing only, no individual sheet is "selected", like it would be when opening a spreadsheet for editing. Calc then correctly observes the setting in

Tools > Options > Calc > Printing > Print only selected sheets

This option is checked by default, so Calc prints nothing.

See also: http://www.oooforum.org/forum/viewtopic ... highlight=

--
Jaap
OOo 3.0.X on Ubuntu 8.x + Windows XP
sa999sa
Posts: 6
Joined: Sat Jul 03, 2010 12:02 am

Re: [Issue] Printing .xls files (Calc) from context menu fai

Post by sa999sa »

i am having same problem with Linux soffice -p command
it is printing .doc but not the spreadsheet,
can anybody help?

Please don't double-post the same question in different areas of the forum. I have removed your other identical post. See: The Survival guide (TheGurkha, Moderator)
Openoffice 3.2 on RedHat Linux
Post Reply