LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-13-2006, 04:21 AM   #1
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Rep: Reputation: 31
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
 
Old 01-13-2006, 10:26 AM   #2
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Try www.debianhelp.co.uk for setting up printer and samba. Good luck.
 
Old 01-16-2006, 01:27 AM   #3
GosthMan
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Sarge,Ubuntu,RHE 5, Gentoo,CentOS 5
Posts: 24

Rep: Reputation: 15
did u suceeded to install that printer
i have intaled mine but not with samba, with cups
 
Old 01-16-2006, 10:54 AM   #4
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30
Quote:
Originally Posted by GosthMan
did u suceeded to install that printer
i have intaled mine but not with samba, with cups
can give a short explanation how to do it plz?
 
Old 01-17-2006, 09:24 AM   #5
robbow52
Member
 
Registered: Oct 2003
Location: Kentucky, USA
Distribution: Debian "SID"
Posts: 110

Rep: Reputation: 15
Just a couple of thoughts...

No doubt you have already done this, but have you enabled "Print Services for Unix" on the XP box (Windows 5.1)? (It is disabled by default.)

Control Panel/Add-Remove Programs/Add-Remove Windows Components/Other Network File and Print Services/Print Services for Unix

Once this is done, you should be able to connect to the printer share on the XP box from Linux via Samba/Cups.

The other thought is did you restart CUPS after you installed the ppd file?
 
Old 01-18-2006, 06:08 AM   #6
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228

Original Poster
Blog Entries: 1

Rep: Reputation: 31
The manual below helped me to solve problem I had, and help all of you.
Thank you.



http://www.ibiblio.org/pub/linux/doc...d-Printing.pdf
 
Old 01-20-2006, 11:06 PM   #7
GosthMan
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Sarge,Ubuntu,RHE 5, Gentoo,CentOS 5
Posts: 24

Rep: Reputation: 15
i will post in 4 hours what i have done meanwhile i have to make 4 more posts
 
Old 01-21-2006, 12:54 AM   #8
GosthMan
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Sarge,Ubuntu,RHE 5, Gentoo,CentOS 5
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by robbow52
Just a couple of thoughts...

No doubt you have already done this, but have you enabled "Print Services for Unix" on the XP box (Windows 5.1)? (It is disabled by default.)

Control Panel/Add-Remove Programs/Add-Remove Windows Components/Other Network File and Print Services/Print Services for Unix

Once this is done, you should be able to connect to the printer share on the XP box from Linux via Samba/Cups.

The other thought is did you restart CUPS after you installed the ppd file?


on my laptop i have xp home edition and i didn't instaled that because i don't need it because i use just cups for printer sharing,the only thing i instaled on laptop is the windows drivers for the printer

to print with my network printer i use an link something like this: "http://Ip of printing server:631/printers/printername"
where:- Ip of printing server is the ip of the server
- 631 ---> the port used by cups to broadcast and receve commands
-printername is the name of the instaled printer
by the way on server i have : debian sarge,cups and samba (not configurated)instaled with aptitude, and an Samsung ML-1610 laser printer instaled with the ppd file from samsung site using cups administration web interface
using that link and drivers instaled on the boxes who want to print i can print from my whole network (network with 7 C clases)
the acces to printer is configurated in cups conf file and instaled firewall
 
Old 04-30-2008, 11:08 PM   #9
tomismyname
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
Lexmark E232 Network printer

I had a dickens of a time getting my lexmark e 232 printer to print from a windows 2000 client laptop. I kept trying to install printer on laptop, it saw it but could not print to it and showed errors when I clicked on properites. While installing a new video card on my main windows 2000 machine it crashed so I had to run the setup disk. I got the video cards driver from driverguide.com. I also had to reinstall the printer. I got the printer driver from driverguide.com also. Now I can print from my laptop. The driver for lexmark e 232 was called Lexmark_AAL_Win2K_PCL_sys_en.exe its just a little over 1 meg.(1.060 kb)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd not list files when viewed from deifferent win machine win ftp application in anuj_sharma25 Linux - Newbie 2 11-22-2005 11:08 PM
installing win xp on my linux machine kinghimself Linux - General 3 11-09-2003 10:52 PM
Printing to my XP machine james.farrow Linux - Networking 1 04-06-2003 01:59 PM
port forwarding to win 2k machine. Morphey Linux - Security 2 04-13-2002 01:07 AM
port forwarding to win 2k machine. Morphey Linux - Networking 0 03-30-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration