I had the same problems. Everytime I printed something from a Winblows
machine, samba would crash. Instead I installed TCP/IP Printing on my
Winblows client and then configured my Linux box to allow remote lpd by
adding the following line to /etc/inetd.conf:

printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd

... and then did a killall -1 inetd to reload the config file.

Luis

 On Sun, 4 Feb 2001, [X-UNKNOWN] Pe�a Arellano Fabian Erasmo
wrote:

>         Hello to all,
>
>         I am writing since I have a problem trying to print into a samba
> server from any X Windows
> application using cups. The computer I am trying to print from uses Linux
> Mandrake version 7.2 and
> the cups related program versions, according to the "rpm -qa |grep
> cups" command output, are
>
>         libcups1-1.1.5-3mdk
>         cups-common-1.1.5-3mdk
>         libqtcups1-1.1-2.1mdk
>         qtcups-1.1-2.1mdk
>         cups-1.1.5-3mdk
>         cups-drivers-1.0-3mdk
>
>         From a shell I am able to print a text file using lpr normally.
>
>         After trying to print from any X Windows application, the printer
> is disabled as the lpq
>  command reports:
>
>
>         [fabian@ahuizotl fabian]$ lpq
>         lp is not ready
>         Rank    Owner   Job     File(s)                         Total Size
>         1st     fabian  34      (stdin)                         606208
> bytes
>
> The content of /var/log/cups/error_log is the following:
>
> I [04/Feb/2001:09:56:35 +0000] Job 34 queued on 'lp' by 'fabian'.
> I [04/Feb/2001:09:56:35 +0000] Started filter /usr/lib/cups/filter/pstops (PID 
>30895) for job 34.
> I [04/Feb/2001:09:56:35 +0000] Started backend /usr/lib/cups/backend/smb (PID 30896) 
>for job 34.
> E [04/Feb/2001:09:56:35 +0000] ERRDOS - ERRfilexists (The file named in a Create 
>Directory, Make
>   New  File  or  Link  request already exists.) opening remote file (stdin)
> E [04/Feb/2001:09:56:35 +0000] PID 30896 stopped with status 1!
> I [04/Feb/2001:09:56:35 +0000] Saving printers.conf...
>
> I must remove the job:
>
>         [fabian@ahuizotl fabian]$ lprm 34
>         [fabian@ahuizotl fabian]$ lpq
>         lp is not ready
>         no entries
>
> and enable the remote printer with "lpadmin -plp -E" as root:
>
>         [root@ahuizotl /root]# lpadmin -plp -E
>         [root@ahuizotl /root]# lpq
>         lp is ready
>
>
>         Does anyone know how to fix this ? Any idea would be greatly
> appreciated.
>
>         Fabian.
>
>
>


Reply via email to