LinuxQuestions.org
Review your favorite Linux distribution.
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 05-24-2009, 02:54 PM   #1
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
Issues using Samba to connect to a Vista shared printer


Hey,

I'm trying to set up a Samba printer in Debian linux. The printer is being shared by a computer running windows vista.

Below is some of the information I've gotten in the process.

Sharing seems to be working, the printer seems to be detected and authenticating (I've tried invalid values and the utility I'm using to set things up says it cannot verify when I use invalid values, but with things as they are it claims everything checks out)

When I go into CUPS it says it detects the printer and everything is working.

However, printing a test page causes the job to be immediately complete and nothing happens.

It seems that the job is getting lost somewhere in the process. Could it be a firewall issue? I feel like the right ports must be unblocked since I can query the computer and verify the printer, etc.

I have a laptop with vista which I installed a printer on and was able to print to that computer just fine. So it doesn't seem to be a Vista thing...

I'm really not sure what it could be.

Any ideas? / Is this the right place to ask?

Code:
Domain=[OFFICECOMPUTER] OS=[Windows Vista (TM) Home Premium 6000] Server=[Windows Vista (TM) Home Premium 6.0]

	Sharename       Type      Comment
	---------       ----      -------
	ADMIN$          Disk      Remote Admin
	C$              Disk      Default share
	D$              Disk      Default share
	HP Deskjet D1500 series Printer   HP Deskjet D1500 series
	IPC$            IPC       Remote IPC
	print$          Disk      Printer Drivers
session request to 192.168.0.10 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available

Code:
OfficePrinter (Default Printer)        Description: 
Location: 
Printer Driver: HP Deskjet d1500 Series hpijs, hpijs 3.9.2
Printer State: idle, accepting jobs,  published. 
Device URI: smb:///192.168.0.10/HP%20Deskjet%20D1500%20series
Code:
ID* Name* User* Size* Pages* State* Control*
     OfficePrinter-6* Test Page* anonymous* 17k* Unknown*   completed at
Sat 23 May 2009 08:28:39 PM CDT
 
Old 05-24-2009, 04:25 PM   #2
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by war1025 View Post
Hey,

I'm trying to set up a Samba printer in Debian linux. The printer is being shared by a computer running windows vista.

Below is some of the information I've gotten in the process.

Sharing seems to be working, the printer seems to be detected and authenticating (I've tried invalid values and the utility I'm using to set things up says it cannot verify when I use invalid values, but with things as they are it claims everything checks out)

When I go into CUPS it says it detects the printer and everything is working.

However, printing a test page causes the job to be immediately complete and nothing happens.

It seems that the job is getting lost somewhere in the process. Could it be a firewall issue? I feel like the right ports must be unblocked since I can query the computer and verify the printer, etc.

I have a laptop with vista which I installed a printer on and was able to print to that computer just fine. So it doesn't seem to be a Vista thing...

I'm really not sure what it could be.

Any ideas? / Is this the right place to ask?

Code:
Domain=[OFFICECOMPUTER] OS=[Windows Vista (TM) Home Premium 6000] Server=[Windows Vista (TM) Home Premium 6.0]

    Sharename       Type      Comment
    ---------       ----      -------
    ADMIN$          Disk      Remote Admin
    C$              Disk      Default share
    D$              Disk      Default share
    HP Deskjet D1500 series Printer   HP Deskjet D1500 series
    IPC$            IPC       Remote IPC
    print$          Disk      Printer Drivers
session request to 192.168.0.10 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available
Code:
OfficePrinter (Default Printer)        Description: 
Location: 
Printer Driver: HP Deskjet d1500 Series hpijs, hpijs 3.9.2
Printer State: idle, accepting jobs,  published. 
Device URI: smb:///192.168.0.10/HP%20Deskjet%20D1500%20series
Code:
ID* Name* User* Size* Pages* State* Control*
     OfficePrinter-6* Test Page* anonymous* 17k* Unknown*   completed at
Sat 23 May 2009 08:28:39 PM CDT
is the printer attached to the linux box or the windows box?

also please post /etc/cups/cupsd.conf and etc/samba/smb.conf
 
Old 05-24-2009, 04:47 PM   #3
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
printer is on the windows box. I'll post the files when I get access to them.
 
  


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
connect vista to ubuntu printer jbumgarjr Linux - Networking 2 06-06-2009 10:38 PM
Problem Printing to Vista Shared Printer PerfectReign Linux - General 6 05-17-2009 11:23 PM
I can't connect to Shared Printer "HP LASERJET 1010" over samba m.alshafay Linux - Newbie 5 09-24-2008 04:39 PM
How to connect windows shared printer with suse 9.3? noorudin Linux - Software 1 03-07-2006 04:16 AM
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 10:44 PM

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

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