[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#16312: CUPS client with Samba-lpd remote printer
From:       "Mr.Y.SHIVAKANT" <karnatic () eth ! net>
Date:       2000-12-01 4:33:40
[Download RAW message or body]


-----Original Message-----
From: Jean-Marie Gouarné <jm_g@genicorp.fr>
To: submit@bugs.kde.org <submit@bugs.kde.org>
Date: Thursday, November 30, 2000 11:18 PM
Subject: Bug#16312: CUPS client with Samba-lpd remote printer


>I'm not sure it's really a CUPS bug, but...
>
>I'm working with a Linux workstation with CUPS and the Samba client.
>My printer is in ordinary time attached to a Samba/Linux server. On the
>server side, there is a classic lpd system (not CUPS).
>
>When I issue a "lpr filename" or "lp filename" from my station, all is OK.
>But if I launch a "cat | lpr" without filename/jobname spec, the remote
queue
>is blocked, and I get a message like : ""ERRDOS - Errfileexists (The file
>named in a Create Directory. Make new file or Link. request already
>exists.) opening remote file (stdin)"
>
>This problem desn't occur with a locally connected printer.
>So, the lpr-cups command, when used with a pipe to stdin, without any
>filename nor explicit jobname, desn't allow the print server to create and
>execute a valid job.
>As a result, while many applications use to print with a piped lp or lpr
>command without explicit jobname/filename, it's very difficult to print
over
>a network.
>
>I found only one (ugly) workaround : I've replaced the /usr/bin/lpr
symbolic
>link to lpr-cups by my own lpr script, which calls lpr-cups with a forced
"-J
>random_jobname" option. When an application pipes a flow to lpr, the really
>executed command is now : "cat | lpr-cups -J my_random_jobname"
>In the same way, I've renamed the /usr/bin/lp binary as /usr/bin/lp2 and
>created my own  lp script which calls /usr/bin/lp2 with a "-t title"
option.
>So, my applications can print now. But it's a non-standard, non-elegant
>solution.
>
>Is it a configuration error in my installation, a generic CUPS
compatibility
>problem with samba-lpd servers, or a bug ?
>I don't know. It's a question...
>
>Thanks for your work.
>
>>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
unsubscribe <<



whats the best the the best the best the best the best thing to do in linux
HA!HA!HA!HA!


YOURS SINCERELY
SHIVAKANTH

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic