LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-05-2003, 11:09 AM   #1
kkempter
Member
 
Registered: Dec 2002
Posts: 187

Rep: Reputation: 30
Unhappy Samba Printing Issue


I am running Red Hat 9.0 and I have a windows 2000 box as well. I have an HP printer configured on the Red Hat box. I have samba configured on the Red Hat box as well.

I want to be able to print from my windows 2K box to the hp printer on the Linux box.

If I type the following from a CMD prompt window on the win 2K box it goes to the printer

echo "Hello" > \Isaiah\OfficeJet_V40

Any Ideas?
 
Old 06-05-2003, 11:37 AM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Re: Samba Printing Issue

Quote:
Originally posted by kkempter
If I type the following from a CMD prompt window on the win 2K box it goes to the printer
Did it print or not? If not you have to make sure that samba is running and sharing your printers. Also, make sure that your firewall isn't stopping samba from working.
 
Old 06-05-2003, 11:39 AM   #3
kkempter
Member
 
Registered: Dec 2002
Posts: 187

Original Poster
Rep: Reputation: 30
Yes it did print. However if I navigate to the printer from the "My network places" on the desktop and set it up as a windows printer it does not print
 
Old 06-05-2003, 11:51 AM   #4
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Are you getting any error messages in /var/log/messages?
 
Old 06-05-2003, 11:57 AM   #5
kkempter
Member
 
Registered: Dec 2002
Posts: 187

Original Poster
Rep: Reputation: 30
In the /vat/log/samba/spock.log (spock is the win2K box) it says this:

[2003/06/04 10:41:28, 0] printing/print_cups.c:cups_job_submit(655)
Unable to print file to OfficeJet_V40 - client-error-document-format-not-supported
 
Old 06-05-2003, 12:16 PM   #6
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Try using a few different programs to print (maybe notepad). Maybe you have to install the OfficeJet_V40 drivers on your windoows box.
 
Old 06-05-2003, 12:35 PM   #7
kkempter
Member
 
Registered: Dec 2002
Posts: 187

Original Poster
Rep: Reputation: 30
I also see this in the same log:

[2003/05/31 23:07:55, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = No route to host
 
Old 06-05-2003, 12:46 PM   #8
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by kkempter
I also see this in the same log:

[2003/05/31 23:07:55, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = No route to host
Did you try to print at that specific time? If not then that error may not be related.

Do you have OfficeJet drivers for Windows and is the printer configured to use them?

Do you have any firewall on either machine?
 
Old 06-05-2003, 12:49 PM   #9
kkempter
Member
 
Registered: Dec 2002
Posts: 187

Original Poster
Rep: Reputation: 30
not sure about the time - I see these errors in the log but I don't see any log activity at the time I to print.

The drivers are loaded on the windows box and both machines are behind a firewall but neither has a firewall locally installed.
 
Old 06-05-2003, 01:08 PM   #10
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by kkempter
not sure about the time - I see these errors in the log but I don't see any log activity at the time I to print.
If there's no time correlation between errors logged and printing then those errors are probably unrelated.


Are you sure you don't have iptables or ipchains firewall rules? You can do "/sbin/chkconfig --list" to see what services are enables/disabled and the firewall configs are located in /etc/sysconfig

Last edited by zmedico; 06-05-2003 at 01:11 PM.
 
Old 06-25-2003, 08:55 AM   #11
kedie
LQ Newbie
 
Registered: Jun 2003
Distribution: suse
Posts: 1

Rep: Reputation: 0
I had same problem, check privileges of the spool directory. Try to set them to 777 and if it woks then try to tune it so, you have access (under your WIN login).

It solved the problem with my printer.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cups Printing Issue Bigun Linux - Software 9 04-05-2005 09:39 PM
printing issue Furlinastis Slackware 3 12-21-2004 04:05 PM
Printing Issue. KevinGuy Linux - Networking 2 07-18-2004 10:50 AM
Printing Issue crash89 Linux - Networking 3 03-28-2004 08:26 AM
Printing Issue sphalen Linux - Hardware 1 12-29-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:38 PM.

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