Update to the newest packages of SAMBA, CUPS (20mdk, 15-19mdk have a
SEVERE bug), GhostScript, CUPS-Drivers, xpp, and KUPS.
Restart the CUPS daemon. The SMB daemon does not need to be running. If
you have Mandrake 7.1 you cannot have LPR installed, remove it. If you
are running a Cooker, take care that you have either not installed the
LPR package or at least version 0.50-6mdk.
If you have Mandrake 7.1, always install CUPS with the "--nodeps" option
and set the following links:
cd /usr/bin
ln -s lpr-cups lpr
ln -s lpq-cups lpq
ln -s lprm-cups lprm
cd /usr/sbin
ln -s lpc-cups lpc
If you use a Cooker all this is managed automatically. Simply install al
packages with the usual "rpm -Uvh ...".
When you have resarted the CUPS daemon after the installation of ALL
packages (especially SAMBA) start KUPS entering
kups &
Click on the "Add Printer" icon and on the "Backend Selector" page of
the wizard choose "SMB (Windows shared printer)" and on the next page
choose either whether you want to access to the printer as a guest user
or with a login. In the cas of a login, enter the login and password of
your account of the Windows NT/2000 server where the printer is
connected to. On the next page click on "Scan Network" and search the
desired printer in the list. Then do the things as usual: choose the
manufacturer and the model, enter the printer's name, location and
description and confirm your configuration on the last screen.
Now the wizard should have disappeared and you can right-click on the
icon of the printer in the list of printers. In the pop-up menu
configure the options for the printer (take care of the paper size) and
print a test page. Now it's done. So it is not difficult. Try it!
Till
Ed Wilts wrote:
>
> I'm trying out cups for the first time, and I'm having a few problems, mostly
> because I don't think I understand the architecture well enough.
>
> I first thought that it replaced lpr, but now I'm not so sure. Which
> packages should I have installed? I'm only printing to an SMB printer for
> the time being. I've got what I think is a half-baked installation:
>
> [ewilts@linux1 Mail]$ ls -l /usr/bin/lp*
> -rwxr-xr-x 1 root root 7276 Sep 9 10:16 /usr/bin/lp*
> -rwxr-xr-x 1 root root 6016 Sep 9 10:16 /usr/bin/lphelp*
> -rwxr-xr-x 1 root root 7736 Sep 9 10:16 /usr/bin/lpoptions*
> -rwsr-xr-x 1 root root 8192 Sep 9 10:16 /usr/bin/lppasswd*
> -r-sr-sr-x 1 root lp 15824 Mar 22 08:44 /usr/bin/lpq*
> -rwxr-xr-x 1 root root 8404 Sep 9 10:16 /usr/bin/lpq-cups*
> -rwxr-xr-x 1 root root 2406 Aug 9 02:19 /usr/bin/lpqall.faces*
> -r-sr-sr-x 1 root lp 18672 Mar 22 08:44 /usr/bin/lpr*
> -rwxr-xr-x 1 root root 7500 Sep 9 10:16 /usr/bin/lpr-cups*
> -r-sr-sr-x 1 root lp 16528 Mar 22 08:44 /usr/bin/lprm*
> -rwxr-xr-x 1 root root 6164 Sep 9 10:16 /usr/bin/lprm-cups*
> -rwxr-xr-x 1 root root 16404 Sep 9 10:16 /usr/bin/lpstat*
> -rwxr-xr-x 1 root root 3212 Mar 22 08:44 /usr/bin/lptest*
> -rwxr-xr-x 1 root root 2511 Aug 17 04:25 /usr/bin/lpunlock*
>
> Should not lpr-cups replace lpr and similarly for the rest? Although I have
> installed lpr, I installed cups afterwards, and from reading how cups should
> operate, I suspect that I may need links from lpr to lpr-cups. Here's the
> packages I have installed:
>
> [ewilts@linux1 Mail]$ rpm -qf /usr/sbin/lpd
> lpr-0.50-2mdk
> [ewilts@linux1 Mail]$ rpm -q lpr
> lpr-0.50-2mdk
> [ewilts@linux1 Mail]$ rpm -qa | grep cups
> qtcups-1.0-7mdk
> cups-1.1.2-19mdk
> cups-drivers-0.3.6-9mdk
>
> What should I do to get this mess cleaned up?
>
> Thanks,
> .../Ed
>
> --
> Ed Wilts
> Mounds View, MN USA
> mailto:[EMAIL PROTECTED]