Operating System - Linux
1830232 Members
1847 Online
109999 Solutions
New Discussion

Re: Printing from Debian machine to Win machine, What I did wrong.

 
debian111
Regular Advisor

Printing from Debian machine to Win machine, What I did wrong.

Hi,
I want allow printing from my linux machine on windows share printer. My OS is Debeian Sarge
I installed next packages: (as root I made all this )

apt-get install cupsys cupsys-bsd cupsys-client foomatic-bin samba smbclient gs-esp a2ps

After that as root I wrote below command
/usr/bin/smbclient -L rico -U homer ( rico is Win machine, homer is user account on Win machine)
an I got output

Password:
Domain= dddddd OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
LexmarkE Printer Lexmark E232
sms Disk
vox-ovi Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Domain=[dddddd] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

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

Workgroup Master



After I downoladed proper driver for Lexmark printer and tipe next
/usr/sbin/lpadmin -p ricoLexmarkE -v smb://homer:wewww/LexmarkE -p root/Generic-PCL_6_PCL_XL_Printer- pxlmono.ppd

and I got next output:( I think the problem lies in last command but I do not know what to change in order to make it works )
lpadmin: add-printer (set device) failed: client-error-not-possible

I do not what to do now, does anybody has similar experineces in configuring printers on debian sarge
thank you



5 REPLIES 5
Matti_Kurkela
Honored Contributor

Re: Printing from Debian machine to Win machine, What I did wrong.

"client-error-not-possible" might be the dumbest error message CUPS has.

Check the log files in /var/log/cups: they might have more information about what went wrong.

Try adding the printer using CUPS web user interface: point your browser to http://localhost:631 and proceed from there.
MK
Steven E. Protter
Exalted Contributor

Re: Printing from Debian machine to Win machine, What I did wrong.

Shalom,

The error pretty much means something happened, I can't do what you want, but I don't know why.

Reminds me of the ORA-600 error which pretty much means the same thing and is ultimately useless in diagnosis.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Thorsteinson
Honored Contributor

Re: Printing from Debian machine to Win machine, What I did wrong.

Try using the samba client to browse the
print server. You must be able to see the
printer when browsing in order for
CUPS to print to it.

I would suggest using the web interface to
add the printer.

If the printer is network attached, bypass
Windows and create a spool directly to the
printer.

debian111
Regular Advisor

Re: Printing from Debian machine to Win machine, What I did wrong.

Thank you all of you, I made it and now it works.

I had some problems because of mistyping and i solved them today later.
Thank you again.
debian111
Regular Advisor

Re: Printing from Debian machine to Win machine, What I did wrong.

I found solution, look thread before.