Re: Printing to a Linux/CUPS/Samba printer from Windows machines
From: Matt Payton (mattpayton_at_hotmail.com)
Date: 01/27/04
- Next message: David Douthitt: "Re: how to tar"
- Previous message: AlV: "Re: Mike releases the "home" command, Version #2"
- In reply to: Balwinder Singh Dheeman: "Re: Printing to a Linux/CUPS/Samba printer from Windows machines"
- Next in thread: Matt: "Re: Printing to a Linux/CUPS/Samba printer from Windows machines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Jan 2004 16:44:59 GMT
Balwinder Singh Dheeman wrote:
> Matt Payton wrote:
>
[...]
>
>
> and the log entries (errors and, or messages I read in my current log
> files):
>
> [2004/01/26 20:57:48, 0] printing/print_cups.c:cups_job_submit(655)
> Unable to print file to lp0 - client-error-document-format-not-supported
> [2004/01/27 02:14:30, 0] printing/print_cups.c:cups_printername_ok(291)
> Unable to get printer status for
> ::{2227a280-3aea-1069-a2de-08002b30309d} - client-error-not-found
> [2004/01/27 02:14:30, 0] smbd/service.c:make_connection(252)
> cto (203.152.135.66) couldn't find service
> ::{2227a280-3aea-1069-a2de-08002b30309d}
> [2004/01/27 02:23:02, 0] printing/print_cups.c:cups_job_submit(655)
> Unable to print file to lp0 - client-error-document-format-not-supported
>
> Please not that we can print, but only text files to this shared
> Linux/CUPS/Samba printer.
So, just to confirm, you manually loaded the print drivers on the pc(s)
you're printing from ?
If so, try creating a printer on Linux that is basically a plain text
printer, and map the Win machines to that...It looks to me that Windows
is formatting the print job with it's driver, the job is getting to
CUPS, and the CUPS driver is rejecting it...This is over-simplified.
Anyway, I'm not all that familiar with CUPS, but when using either bsd
lpr or LPRng I typically set up 2 spools for each individual
printer...One for printing from *nix, and one for printing from Win
machines. The one for printing from Win has no filter associated with
it, so it just passes the raw data to the printer...This works because
they are already "formatted" by the Windows drivers.
So a typical entry in /etc/printcap looks something like :
lp:\
mx#0:\
sd=/var/spool/lpd/lp:\
sh:lp=/dev/lpt0:\
if=/usr/local/libexec/if-simple:
lpwin:\
mx#0\
:sd=/var/spool/lpd/lpwin:\
sh:\
sf:\
lp=/dev/lpt0:
There are of course other ways of getting this to go, but this has
always worked for me...
-- - Matt -
- Next message: David Douthitt: "Re: how to tar"
- Previous message: AlV: "Re: Mike releases the "home" command, Version #2"
- In reply to: Balwinder Singh Dheeman: "Re: Printing to a Linux/CUPS/Samba printer from Windows machines"
- Next in thread: Matt: "Re: Printing to a Linux/CUPS/Samba printer from Windows machines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|