LinuxQuestions.org
Review your favorite Linux distribution.
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 11-14-2013, 04:34 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,185

Rep: Reputation: 167Reputation: 167
CUPS, Wine, Office 2007 - A very specific problem


Hi, I am running a machine as a print server with Linux Mint 15 x86 to avoid windows viruses that comes with pendrives. There, we have 2 network printers connected to a router, which is connected to the PC. One is the Brother HL-5350DN and the other is a Ricoh Aficio 2600SP, both with duplex capabilities. I had to install Office 2007 because they were using it before and they couldn't replace it. My problem is: CUPS is completely ignoring Office 2007's page setup. If the default option on CUPS is two-sided printing it will ALWAYS print two-sided, no matter if you set it as "one-sided" on Office 2007. It doesn't happens on Linux native softwares, so I think it might be a Wine problem. Thanks and sorry for my english.
 
Old 11-14-2013, 09:59 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 14,172

Rep: Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916
and you will

run the OLD Microsoft Windows Office 2007
on Windows XP sp3

it will not run well in wine

Quote:
so I think it might be a Wine problem
no it is a microsoft problem
run MS office 2007 on XP sp3


PS
Libreoffice4 opens and saves to the MS 2007 docx format
and to the 2010 and 2012 docx format and teven to the ancient MSoffice 2003 doc format
 
Old 11-15-2013, 05:14 AM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,185

Original Poster
Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by John VV View Post
and you will

run the OLD Microsoft Windows Office 2007
on Windows XP sp3

it will not run well in wine


no it is a microsoft problem
run MS office 2007 on XP sp3


PS
Libreoffice4 opens and saves to the MS 2007 docx format
and to the 2010 and 2012 docx format and teven to the ancient MSoffice 2003 doc format
The problem with Windows is the pendrive viruses, since it is a college service and we use lots of pendrives on a daily basis. And from what I've seen LibreOffice doesn't always opens the files on the right way, it always messes up with the page's formatting. Are you sure there is no solution with Linux and Office?
 
Old 11-15-2013, 07:08 PM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,787

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
My suggestion is to create RAW print queues in CUPS and direct the output from MS Office 2007 through those. That way all formatting is done by MS Office 2007 and CUPS simply passes the output to the printers unchanged.
 
Old 11-15-2013, 07:12 PM   #5
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,185

Original Poster
Rep: Reputation: 167Reputation: 167
I am not saying I am a Linux master (far from that but I have a few experience on it) but the machine is not operated by me, and there is no such a thing like "printing queue" since all the prints are made on demand. Also, the people operating it don't have enough knowledge to do what you said. And no time, either.
 
Old 11-15-2013, 07:23 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 14,172

Rep: Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916
the only thing i can offer to solve the problem is

run CentOS6.4 and a VM
install XP on the VM
install MS office 2007 on the virtual xp install

make a copy of the VM image
replace the vm image everyday with the known good ( virus free) copy
 
Old 11-15-2013, 07:26 PM   #7
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,185

Original Poster
Rep: Reputation: 167Reputation: 167
Hmm, I can't implement that either, it would be an annoyance and they probably wouldn't be able to do it.
I am not there every day, actually I am never there, I am just there to try to go around a problem (pendrive viruses) and Linux was my best guess, but it didn't work as expected (like Windows).
 
Old 11-15-2013, 07:33 PM   #8
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,787

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
Quote:
I am running a machine as a print server with Linux Mint 15 x86
then
Quote:
but the machine is not operated by me
I am confused. Do you have the access to administer CUPS?

As I understand it, the printers are currently configured in CUPS with drivers. It is also possible to configure printers in CUPS without drivers (i.e. RAW). So you can have two printer names ( i.e. printer queues ) that point to the same printer; one using CUPS drivers and a second without CUPS drivers that just passes a previously formatted print job directly to the printer.
 
Old 11-15-2013, 07:36 PM   #9
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,185

Original Poster
Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by allend View Post
then

I am confused. Do you have the access to administer CUPS?

As I understand it, the printers are currently configured in CUPS with drivers. It is also possible to configure printers in CUPS without drivers (i.e. RAW). So you can have two printer names ( i.e. printer queues ) that point to the same printer; one using CUPS drivers and a second without CUPS drivers that just passes a previously formatted print job directly to the printer.
My job there is just make things go work, after that all the printing stuff is done by other people (students and the guy that works there). Is what you said complicated to do and replicate? Because if it is slightly difficult it will become an annoyance and won't/can't be done.
 
Old 11-15-2013, 07:46 PM   #10
John VV
Guru
 
Registered: Aug 2005
Posts: 14,172

Rep: Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916
this is at Univ.
why then can not the University's IT department take care on this common print server ?

running a known good CLEAN ( virus free) VM image everyday is the least hardest to implement
and the most hassle free


you use a new copy of the vm image on boot up

so every time the print server is booted a virus free image is used and MS office 2007 is running on xp and xp can print through the vm bridge


or

do not run Microsoft ONLY software on Mint 15
 
Old 11-15-2013, 07:51 PM   #11
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,787

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
To configure CUPS with two new printer queues as RAW is quick and easy. All you need to do is replicate the existing entries changing the Make of printer to raw.
 
Old 11-15-2013, 07:54 PM   #12
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,185

Original Poster
Rep: Reputation: 167Reputation: 167
Because it is not an university service, it just happens to be located at it. And what is wrong with Mint? You have to realise that most of the people there have no idea about computers, they just want and they need a system where they can just click and get it working. Do you think a VM it is a reasonable solution? I don't think so. What if the machine gets a virus mid day? What are people supposed to do? "Oh no you can't print right now, I am restoring the system". That is unpractical.
 
Old 11-16-2013, 02:27 PM   #13
Virneto
LQ Newbie
 
Registered: Jan 2013
Location: Azores
Distribution: Fedora
Posts: 15

Rep: Reputation: Disabled
Sorry if this is foolish, but I'm wondering... why don't you make everybody print their files into pdf. then just receive and print pdfs on the printer.
 
Old 11-16-2013, 02:32 PM   #14
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,185

Original Poster
Rep: Reputation: 167Reputation: 167
"Sorry, we only print PDF files" yeah, great idea
They all know what a PDF is, how to create one and why it wouldn't be a problem. That wouldn't be restrictive and annoying at all.
 
  


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
MS Office 2007 in Zorin\Wine mattpg1 Linux - Virtualization and Cloud 7 02-24-2013 11:07 PM
How to MS Office 2007 Using WINE on Fedora 10 rcmonroig Linux - Newbie 4 11-26-2009 12:21 PM
LXer: Office 2007 in Ubuntu 9.10 with Wine 1.1.32 LXer Syndicated Linux News 0 11-12-2009 05:00 PM
LXer: Microsoft Office 2007 on Linux with Wine LXer Syndicated Linux News 2 10-11-2009 07:47 AM
Would Office 2007 work with Wine? Pandemic187 Linux - Software 5 03-26-2007 08:42 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration