LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Printing to CUPS from Win98 (https://www.linuxquestions.org/questions/linux-newbie-8/printing-to-cups-from-win98-53249/)

baldy3105 04-03-2003 12:45 PM

Printing to CUPS from Win98
 
I have a printer configured on CUPS, on which I can print anything I like from Linux itself. When I try to print from my work laptop (win98) my print just disappears. Windoze thinks its printed. If I look in the error log I can see this -

D [03/Apr/2003:19:09:43 +0000] ReadClient() 3 POST /printers/epson HTTP/1.1
D [03/Apr/2003:19:09:43 +0000] print_job: auto-typing file...
E [03/Apr/2003:19:09:43 +0000] print_job: Unsupported format 'application/octet-
stream'!
D [03/Apr/2003:19:09:43 +0000] Sending error: client-error-document-format-not-s
upported
D [03/Apr/2003:19:09:43 +0000] CloseClient() 3

All I am trying to print is text from notepad, how can it be unsupported? And why is it even bothering to look at the format? I thought that the printer driver, which is on the laptop, sorted out all the format malarky and cups is simply the conduit via which the print gets to the printer.

Thanks in advance for any help offered.

Pete

Tinkster 04-03-2003 02:49 PM

What printer driver are you using on the winDOHs end?
From my understanding cups prints through PostScript,
maybe you'll need to set the device in WinDOHs to use
a PostScript-Driver?

This is just a wild guess since I don't use winDOHs :}

Cheers,
Tink

baldy3105 04-04-2003 01:46 AM

Aha, a damn fine question, the answer to which I deliberately left out as a test...erm... ahem....its the same driver I use to print to the same printer when the printer is attached to a third Windoze machine. All I've done is to physically move the printer and then change the URI that the driver points to i.e. was CARTMAN\EPSON is now MRHAT\EPSON. (geddit? MRHAT? (if I actually used Redhat this would be a good joke no?))

Nothing else has changed, instead of a Windoze machine as the print server, I,ve got a Linux box.

So Windoze is generating print files, that when passed to another windoze machine are accepted and passed to the printer, but when passed to Linux, gets the above error. Odd.

I'm certain that its only the printer driver that must match the printer, the print server should be oblivious to the print format. I know this is true because I have used incorrect print drivers before now, on workstations, and the MS server doesn't complain the print just comes out wrong. Also you can connect one of those tinyŁ25 network print servers to any kind of printer you like and you don't have to install drivers on them.

Its just odd. Do I have to do something to the cups setup so that it treats prints coming from the network differently from prints sourced locally? Prehaps it is trying to pass my print through the onboard drivers?

Cheers

Pete


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