LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-15-2006, 03:33 PM   #1
Under Fire
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Rep: Reputation: 15
Linux printer doesn't print from Xp machine.


Alright,

I have setup my printer (HP Deskjet 3520) on my linux machine (FC 6) using CUPS. I use the http://localhost:631 page for this. Printing from the linux machine works without any problems (printing a testpage).

Now I want my Windows XP machine to use this printer to... well.. print. I setup my Samba to share the printer on the network.

The smb.conf file
Code:
[global]
    workgroup = workgroup
    server string = Linux Server
    hosts deny = ALL
    hosts allow = 192.168.1. 127.
    log file = /var/log/samba/%m.log
    max log size = 1000
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    bind interfaces only = True
    interfaces = eth0 192.168.1.1/32
    encrypt passwords = Yes

    load printers = Yes
    printing = cups
    printcap name = cups
    printer admin = root

[Printer]
    path = /tmp
    browseable = Yes
    public = Yes
    guest ok = Yes
    writable = Yes
    printable = Yes
    use client driver = Yes
A part of the setup comes from the linuxPrinting.org pages.

Now I can see the shared printer with my XP machine. I can also install it (using the drivers I have on the Xp machine). But when I try to print a test page with the printer nothing happends.

The printer does add a file to the /tmp directory inside linux, but after a few seconds this file disappears and nothing more happends.

I have tried a few other samba configs that I found on the forums here and internet, and this file is the last version I have. So none of the others worked.

In one of the other topics I have read to set the page type to a4 inside linux. Did this without any result.
 
Old 11-15-2006, 11:59 PM   #2
praveen_b744
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Rep: Reputation: 0
Me also facing the same problem.But it is quit different.My printer is connected to windows[XP Proff-SP2].And i am not able to print from the linux systems in the same network.

Linux OS : RHEL AS 3
Windos : XP-Proff[SP2]
 
  


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
My HP 720c printer isn't print at all in linux but print in windows. nadavvin Linux - Hardware 9 11-12-2006 09:30 AM
print to a network printer from win98 machine tulip4heaven Linux - Networking 3 04-07-2005 08:49 PM
need my WinXP to be able to print to the printer connected to man9.2 machine krome Mandriva 1 03-02-2004 03:53 AM
How can I print to a printer connected to a Windows XP machine? Other nebie questions powerismine Linux - Networking 4 04-02-2003 07:42 PM

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

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