LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2009, 09:46 AM   #1
mhtrinh
LQ Newbie
 
Registered: Jan 2006
Location: Avignon, France
Posts: 16

Rep: Reputation: 0
Howto setup printer on linux with only Windows driver ?


Hi all,

I have an Oce CS173 printer. On the Oce website, there is only driver for windows. I use Fedora 8 x86_64, KDE 3.5. (kde don't have the driver)

I search for a driver on http://openprinting.org but they don't have the driver for this model (CS173)

Is there anyway to use the Windows driver on Linux ???

I don't know if this will help : the printer is on the local network. I can print from a Windows pc by going at : \\tecpal\OCE-CS173

Thanks for you help

Last edited by mhtrinh; 02-25-2009 at 09:57 AM.
 
Old 02-25-2009, 11:46 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
The OCE website claims to support linux but does not provide any drivers either. You can use the windows postscript PPD file or possibly select a similar printer with postscript or PCL 5 capabilities.
 
Old 02-26-2009, 02:16 AM   #3
mhtrinh
LQ Newbie
 
Registered: Jan 2006
Location: Avignon, France
Posts: 16

Original Poster
Rep: Reputation: 0
Hi,

It's been a day that I'm searching and learning about printing on Linux ... it a bit messy for me, even after several tutorial.
Here what I have :
- I have CUPS installed and work perfectly with several printers that have Linux driver (eg : HP Color Laserjet 5550)
- I download the windows drivers on Oce website. Inside I found .inf and .ppd files
- I tried to install on CUPS, the new printer using ppd but I got the error message :
Code:
Missing asterisk in column 1
- I test the ppd file on cups.org website : http://cups.org/testppd.php an got the error :
Code:
173PGB.PPD: FAIL
      **FAIL**  Unable to open PPD file - Missing asterisk in column 1 on line 269.
                REF: Page 15, section 3.2.
        WARN    Non-Windows PPD files should use lines ending with only LF, not CR LF!
- I attached the ppd file to the thread. It come from OOFD package on Oce website : http://global.oce.com/products/cs173...oads.aspx#tab1
- Weird thing : I download a ppd file on openprinting.org : http://openprinting.org/ppd-o-matic....-cm2520&show=1 . Then I test this file on cups.org and I got error message too !!

Any suggestion on my next step will much appreciate :-)
Attached Files
File Type: txt 173PGB.ppd.txt (23.7 KB, 59 views)
 
Old 02-26-2009, 05:54 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
You can convert the file via the dos2unix utility. This will remove the CR.
You can also edit the file and add the missing asterisk per the error message.
And then see what happens.
 
Old 02-27-2009, 03:37 AM   #5
mhtrinh
LQ Newbie
 
Registered: Jan 2006
Location: Avignon, France
Posts: 16

Original Poster
Rep: Reputation: 0
Hi,

I edit the ppd file using ppd format guide provide by Adobe. I hack also by adding some option I found on another ppd file from windows driver folder.
I converted using dos2unix.

Now cups accept the ppd file : ok

The problem is that I can send an test page to print to the printer but, on the printer it got error "identification error". I see in the printer log : username : "PRINT"
Job that have username "Public" pass. Theses job come from Windows pc.

So the question is : when cups send job to the printer, it seems to use an username "PRINT" but I did not found where to change it in the cups configuration.

Anyone have an idea ?? Maybe I have to post a new thread for this question ?

Last edited by mhtrinh; 02-27-2009 at 03:43 AM.
 
Old 03-08-2009, 02:03 PM   #6
jonarne
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Arrow Bump

I have the exact same problem with the exact same printer. Did you find any sollution?
 
Old 03-09-2009, 02:50 AM   #7
mhtrinh
LQ Newbie
 
Registered: Jan 2006
Location: Avignon, France
Posts: 16

Original Poster
Rep: Reputation: 0
No, still nothing ... I saw that you found my post there : http://forums.linux-foundation.org/r...p?27,3678,8376

I try once more on CUPS forum : http://www.cups.org/newsgroups.php?s...eral+v18231+T0

For now, waiting to have a reply ...
 
Old 03-22-2010, 10:16 AM   #8
fallino
LQ Newbie
 
Registered: Mar 2010
Distribution: Ubuntu 9.10
Posts: 2

Rep: Reputation: 0
Hi all,

I'm in the same office that mhtrinh (with an OCE CS173 printer) so i have done all the steps mentionned above and made an new PPD file from this one :

OOFD Windows XP English-UK 5.4.2 ps 2379 KB
available at http://global.oce.com/products/cs173/downloads.aspx


by changing just the lines 269 :
Code:
?*FCacheSize 1126400  by *?FCacheSize: 1126400
and erasing the lines 270, 410 and 448
(?SortBegin , ?SortEnd and *DefaultGuaranteedMaxSeparations: 1)

and then replacing the line 446 by this:
Code:
*DefaultColorSep: ProcessBlack.90lpi.635dpi/90 lpi / 635 dpi: "89.8026"
and finally using dos2linux (package tofrodos on ubuntu) to remove the CR.
For each step i checked with cupstestppd on command-line.

A thing I have to tell you is that the printer was out of order and has been checked by a technician and no longer prevents the user PRINT from printing ... I can print but only one-sided pages. That's a beginning ...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedoracore6 windows printer setup jcopeny Linux - Software 2 04-14-2007 07:35 AM
how to run windows printer driver with wine ? jabka Linux - Newbie 4 07-22-2006 04:09 AM
Printer setup - printer is on Windows server fawnridge Linux - Hardware 1 04-26-2006 09:39 AM
can I use a Windows printer driver? joshknape Linux - Hardware 1 07-24-2005 08:56 PM
lexmark x1185 printer driver from windows to linux Cii Linux - Hardware 2 02-13-2005 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:45 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
Open Source Consulting | Domain Registration