LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2005, 05:15 PM   #1
mvo
Member
 
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42

Rep: Reputation: 15
Print on Windows from Linux with LDP


Hola!

From a Linux-client I try to print on a HP Laserjet 1300 connected in the same LAN to a W2K-machine. I tried to make it work with LDP but after configuring it seems to print but nothing comes out of the printer neither do I find an error...n

I added the Unix printing support on the w2k machine, and configured with the GUI a LDP printer with server-IP of the w2k-machine and its printername.
The Printerdriver is set to Postscript where I found the HP1300 in the list.

Even the test possibility in the GUI gives no error and says the following:
Job 10 queued on 'IPPRINT' by 'root'.

How to solve this printing problem?

Thanks!
 
Old 05-04-2005, 08:55 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
Are you dead set on using LDP to print? I have managed to figure out how to print to a Windows machine using CUPS/SAMBA and I'd be glad to share my experience with you if you'd like.
 
Old 05-05-2005, 02:12 PM   #3
mvo
Member
 
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42

Original Poster
Rep: Reputation: 15
I would be very interested knowing how you print on a windows machine using samba/ cups. I hope to hear the story!!!
 
Old 05-06-2005, 09:28 PM   #4
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
Sorry for the delay. I've found that I needed to enable both the CUPS and SAMBA daemons locally on my laptop (which is Slackware). Then, you need to add an entry to your /etc/cups/printers.conf file ... either by modifying the file directly with a text editor, going through the "add printer" wizard in the KDE Control Center, or in the cups admin page on your local machine (http://localhost:631). Either way, you'll end up with at least this in your printers.conf file. This is an example of a HP LaserJet 4 on my windows network at work:

<DefaultPrinter My_HPLJ4>
Info HP LaserJet 4
Location Front of the office
DeviceURI smb://domain\username:password@DOMAIN/SERVERNAME/HPLJ4
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
AllowUser tino27
</Printer>

If you'll notice, the important parts are the DeviceURI

smb:// <-- this tells CUPS to channel through SAMBA

Then, then NT domain, username, password combination

domain\username:password

Then the '@' followed by the path to the specific windows computer and printer name. Make sure you get the '\\' and '/' going in the correct direction.

If you don't have an NT domain (just workstations joined together in a group), then the username/password combination must be a local account on the Windows box you are trying to print to (and you can obviously leave out the domain values in the above example).

Good luck.

Last edited by Tino27; 05-06-2005 at 09:30 PM.
 
Old 05-09-2005, 05:22 PM   #5
mvo
Member
 
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42

Original Poster
Rep: Reputation: 15
Thank you, it is working proper now!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Print from Windows to Linux ? apalmela Linux - Networking 7 10-31-2005 07:40 PM
Print via ldp with cups Drunkalot Linux - General 1 02-28-2005 04:47 PM
Linux Print Server for Windows Clients ericpolanco Linux - Wireless Networking 2 02-24-2005 12:57 PM
Cannot print to Linux printer from Windows 2k paranoia1980 Linux - Hardware 5 09-16-2003 11:29 PM
Can't print to Windows printer from Linux RedHat 7.2 LinuxJuanaBe Linux - Newbie 10 05-05-2002 11:47 PM


All times are GMT -5. The time now is 01:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration