LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Howto setup printer on linux with only Windows driver ? (https://www.linuxquestions.org/questions/linux-general-1/howto-setup-printer-on-linux-with-only-windows-driver-707449/)

mhtrinh 02-25-2009 09:46 AM

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

michaelk 02-25-2009 11:46 AM

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.

mhtrinh 02-26-2009 02:16 AM

1 Attachment(s)
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 :-)

michaelk 02-26-2009 05:54 PM

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.

mhtrinh 02-27-2009 03:37 AM

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 ?

jonarne 03-08-2009 02:03 PM

Bump
 
I have the exact same problem with the exact same printer. Did you find any sollution?

mhtrinh 03-09-2009 02:50 AM

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 ...

fallino 03-22-2010 10:16 AM

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 ...


All times are GMT -5. The time now is 11:02 PM.