LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-14-2003, 02:43 PM   #1
paranoia1980
Member
 
Registered: Jun 2003
Location: LA
Distribution: RedHat Linux 7.1
Posts: 34

Rep: Reputation: 15
Printing to Windows 2000 Server from RedHat 7.1


Hi all,

I've a HP LaserJet 5000 printer connected to the Windows 2000 Server machine and I'm trying to print to the printer from my RedHat 7.1 Linux box.

I tried to set up the printer by typing "printconf-gui" tool in KDE and I've entered the following information:

Queue Name: NetPrinter
Queue Type: Windows Printer (SMB Share)
Share: server_name/HPLaser5000
User: Martian
Host IP: 192.168.0.2 (IP of Windows 2000 Server box)
Password: (None)
Workgroup: DOMAIN
Translate \n => \r\n: enabled

and I've selected the appropriate driver in the Printer Driver list. Then I restarted the lpd daemon by clicking Apply and tried to print a test page. However, the HP printer does not respond at all.

My Linux box has joined the workgroup DOMAIN in which other Windows machines are and I've created an account for my Linux box at the Windows 2000 server too. All the other Windows machine can use the HP printer normally.

Here's how my /etc/printcap looks like:

NetPrinter:\
:sh:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/NetPrinter:\
:lp=|/usr/share/printconf/smbprint:\
:lpd_bounce=true:\
:if=/usr/share/printconf/mf_wrapper:

Does anyone know what I might have done wrong or missed? Thanks a lot!
 
Old 07-14-2003, 03:12 PM   #2
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
bah

Last edited by hakcenter; 07-14-2003 at 04:36 PM.
 
Old 07-14-2003, 04:30 PM   #3
paranoia1980
Member
 
Registered: Jun 2003
Location: LA
Distribution: RedHat Linux 7.1
Posts: 34

Original Poster
Rep: Reputation: 15
Hi hakcenter

I tried changing the slashes to backslashes but it didn't work. Plus, it says

//machinename/printer

in my RedHat customization guide.

I checked the /var/spool/lpd/NetPrinter/log file and I noticed the following:

Martian NetPrinter: Printer_open: printer 'NetPrinter' missing lp_device value.

Does this hint that I should include a line like

:lp=/dev/null:\

in my /etc/printcap file? Should I include the remote host line ":rm=remotehost:\" too? Thanks a lot!
 
Old 07-14-2003, 04:37 PM   #4
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
lol you shouldn't be asking, and more trying, sounds like they'd work.

Unfortunatly im not a super printer guru, hehe
 
Old 07-14-2003, 06:23 PM   #5
paranoia1980
Member
 
Registered: Jun 2003
Location: LA
Distribution: RedHat Linux 7.1
Posts: 34

Original Poster
Rep: Reputation: 15
Now I can print the test pages using the KDE print configuration tool. I can also print a text file by typing

lpr filename

at the command prompt. However, I cannot print at ANY of the KOffice tools, namely, KWord, KSpread, KPresenter and KIllustrator. I can print in web browser such a Mozilla though.

Does any body have a clue why it's like that? Thanks!
 
  


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
Problem printing to a Windows 2000 server from a Fedora Core 2 workstation RThomson Fedora 1 10-24-2004 03:59 AM
Problem printing to a Windows 2000 server from a Fedora Core 2 workstation RThomson Fedora 0 10-22-2004 08:56 AM
Redhat v Windows 2000 Server fuelinjection Linux - General 9 06-04-2004 07:40 PM
Redhat 9 versus Windows 2000 Server scorpatron Linux - General 23 11-19-2003 05:51 PM
Remote printing from Redhat 9 to a windows 2000 shared printer niverson Linux - Networking 2 07-07-2003 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:52 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