Hello,

I have a problem with configuring Cups so that I can print to a Windows printer, I was used osme Howto when doing this but its doesnt seem to work for me, below are the steps i took;-

1- I started by installing the packages;
#apt-get upgrade
#apt-get install cupsys cupsys-bsd cupsys-client foomatic-bin gs-esp a2ps samba

After installing all those Packages, from the How to I was told to check if i can access the shared Printer from my Debian PC so i did :-

# Yusuf:/home/mats# smbclient -L MONITOR5 -N
Domain=[MONITOR5] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
BBBBBB Printer hp LaserJet 1300 - 2 PCL 6
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
Monitor5 BNW Printer hp LaserJet 1300 PCL 6
Domain=[MONITOR5] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------
Yusuf:/home/mats#

N.B - BBBBBB - Is the share name os the printer i want to access.

Next I issued this command;

Yusuf:/home/mats# lpadmin -p MONITOR5Printer -v smb://MONITOR5/BBBBBB -P /root/laser.ppd
lpadmin: No such file or directory
Yusuf:/home/mats#

Problem - I keep getting lpadmin: No such file or Directory

Yet lpadmin is installed on my distrib. as u can see below

Yusuf:/home/mats# whereis lpadmin
lpadmin: /usr/sbin/lpadmin /usr/share/man/man8/lpadmin.8.gz
Yusuf:/home/mats#

Am requesting for your Help.

Thanks a banch.

YM