LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-08-2004, 05:09 PM   #1
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Printing to WinXP printer from linux using samba


I have been trying to find information on how to set this up but I haven't found any for my situation.

On a LAN I have my computer running Gentoo linux (without Gnome or KDE) running CUPS and a computer running Windows XP Home Edition with an Hp OfficeJet printer hooked up. I can currently see the shares of the XP machine and I can see the shared printer. I have been able to access WinXP shares after supplying LinNeighborhood with user as Administrator and a password. When I print to the printer however I get this error
Quote:
"Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED"
How do I specify a password for this WinXP printer?

Thanks,
 
Old 07-09-2004, 06:01 PM   #2
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
/\ bump /\
 
Old 07-10-2004, 06:26 PM   #3
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by darin3200
/\ bump /\
 
Old 07-10-2004, 08:58 PM   #4
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
Here the answers.
In the path to printer instead of

smb://computer/printer

change the path to this

smb://user:pass@computer/printer


:)
 
Old 08-07-2004, 12:37 AM   #5
psoup
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Thank you

I am using Fedora Core2 with a driver for the Minolta 1250W (w is for windows) and the printer is connected to my XP Pro Machine. I did as you suggested with adding the username to the printer path and it worked great! (Device URI: smb://lovers/paul:@speedy/MINOLTA) Thank you.
The only new concern now is I must get off my butt and hit the manual feed button on the printer, but the quality is awesome.

The folks at Minolta said this is impossible to do that there is NO POSSIBLE WAY to print to this printer in any way other than with a Windows machine.
 
Old 08-07-2004, 10:43 AM   #6
bhtooefr
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 10.0 Community
Posts: 19

Rep: Reputation: 0
I assume you're using min12xxw, psoup?

Why do you have to hit the manual feed button?

BTW, I've been printing to my 1250W from Linux for longer than min12xxw (or even beetman's driver) has been around. I used Ghostscript+Redmon on the Windows box it was hooked up to, created an "HP LaserJet 4100" that was really a Redmon printer, shared it, and then created the same printer on the Linux box, telling it to use the Samba share. It worked nicely, except for the command prompt window coming up on the Windows box whenever I printed.

Now it's hooked straight to the Linux box (it got replaced by a 2300DL, so the 1250 got moved to here). I now have to use min12xxw, of course.

The reason Minolta told you that you could NEVER print on Linux is because they didn't WANT it working on anything other than Windows (they want you to buy a much more expensive 1250E to print on a Mac, and don't actually support Linux with that, but it's a PPD away, seeing as it's a PostScript/PCL printer). They never released specs - min12xxw was written by sniffing the USB port while the Minolta driver was outputting to the printer. They just didn't realize that someone would actually DO that.
 
Old 08-07-2004, 12:54 PM   #7
psoup
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
2350W Driver

I am using PBM2PRN by beetman.

I am not using anything on the Windows box except for the factory drivers and what comes with XP pro. I am using CUPS with the smb share.

I believe the problem with having to hit the button is the tray source, I have not looked at the config, but it is showing tray1 in the config at a quick glance.

I may try the min12xxw driver, but at this pont it is just a small inconvience, but no real bother.

I have not tried to connect the printer direct to the Linux box, since the network config. is more user friendly to my office this way.

I have been using Linux for many years, but I have never tried to connect to a windows printer through smb and decided to give it a try, usually using the linux box as a print server is the way to go.

Is there a real advantage to using the min12xxw driver over beetman's?
 
Old 08-07-2004, 07:59 PM   #8
bhtooefr
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 10.0 Community
Posts: 19

Rep: Reputation: 0
min12xxw supports the 1[2|3]xxW page counter as of 0.0.5, and is faster than Beetman's driver (according to min12xxw's developer - it IS a fork of Beetman's driver at least in spirit). Also, 0.0.5 supports the 13xxW printers, which doesn't benefit you (trust me, the only real advantages to the 1350W are 21PPM over 17PPM, and better access door design, and the 1350W can't be expanded in any way, and takes twice as long to get from idle to printing as the old 1250W - the reasons why Konica Minolta's still selling it), but seeing as the 1250W is getting harder to find, it'll benefit anyone using Linux with a 1350W.

Also, you MIGHT get better quality, but I haven't done any comparisons between drivers. I do know that min12xxw 0.0.5 can't print at 1200x1200DPI worth a crap (600x600 is better quality - less banding, and it works well enough), but I haven't tried 1200x600DPI.

It seems that Beetman's driver is dead in the water; min12xxw is being actively developed.

Oh, and all of that Ghostscript and Redmon crap that I was talking about - you don't have to do that. That was because there was no Linux driver at the time.
 
Old 08-07-2004, 09:41 PM   #9
psoup
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
beetman's driver

I have no issues with the driver speed. I can submit the print job and it spools on the XP machine immediately. I have not tried the graphics. It is a good deal for the 13 series because I do use that printer also.

I am a Minolta reseller and I try all their products that I sell and I have found no need to replace my 1200 as of this time.

I have no plans on printing graphics on a B&W laser,for that I have a coulour which works great (which I have connection the same way).
 
Old 08-07-2004, 10:30 PM   #10
bhtooefr
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 10.0 Community
Posts: 19

Rep: Reputation: 0
I had a feeling that you wouldn't want a 1350... I posted that for those who wanted to use a 13xx on Linux.

Which model is your color? I've got a 2300DL (actually, I'm on my second one - the first one's (Minolta-QMS branded) laser broke after three days), and this one (Konica Minolta branded) has some firmware issues (DHCP doesn't work (stuck on 169.254.66.200, and I know it's getting the lease from the router for 192.168.0.101), and messing with it crashes the printer).
 
Old 08-08-2004, 12:04 PM   #11
psoup
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
2300EN that has a nic card and is ppd, pcl5/pcl6 and ps native printer. If you set it up with the ps printer drivers that are native with Linux it works great. It lists for about $1000, but is well worth it for a colour laser. This is the next step up from your DL.

I would chek your settings for the print server and set a static ip address for it rather than a DHCP lease, that iwll help in several areas including if your boot order of machines is different, you can still find it.
 
Old 08-08-2004, 04:08 PM   #12
bhtooefr
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 10.0 Community
Posts: 19

Rep: Reputation: 0
I already hand-set the IP. Boot order doesn't matter here, because the router has a little "Static DHCP" thing that basically lets me set a static IP for a DHCP client on the router, and as it's assigned via DHCP, no entering it on the computer/printer/other device.

I know about the 2350EN, but it costs $799 after rebate, and the 2300DL was $499 after rebate. Plus, I don't need the photo quality of the EN - my DL does quite well on photos.

Seeing as you're a Minolta reseller, could you possibly check a Konica Minolta branded 2300DL with DHCP, and see what happens? I got that IP from the config page. Here's what I've got:

Original settings:
(no addons)
Controller Firmware: 02.85S
Engine Firmware: 4131.50G1.0900
WINS/NetBIOS Resolution: Enabled
NetBIOS Name: MC2300DL****** (last six chars of NetBIOS name are last three octets of MAC address - something tells me those are the ones that can ID a particular MC2300DL)
Domain/Workgroup: WORKGROUP
Primary WINS: Blank
Secondary WINS: Blank
Rendezvous Discovery: Enabled
DHCP: On
BOOTP: Off
HTTP: On
SNMP: On
IP Address: 169.254.66.200
Subnet Mask: 0.0.0.0
Gateway Address: 169.254.1.1
Hardware Address: 00:20:6B:**:**:** (last three octets obfuscated)

After hand-entering the IP, here's what's different (items with *s were changed by me, and I'm not including total faces printed):
Primary WINS: 0.0.0.0
Secondary WINS: 0.0.0.0
DHCP: Off*
IP Address: 192.168.0.101*
Subnet Mask: 255.255.255.0*
Gateway Address: 192.168.0.1*

Hope this will help figure out the problem...
 
Old 08-08-2004, 08:21 PM   #13
psoup
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
The original ip addresses are default, it seems they are not being piked up by your DHCP server for some reason.

I would have entered the manual ones just like you did. I do not see a problem with them.

I assume with the static settings all is working ok?
 
Old 08-08-2004, 09:48 PM   #14
bhtooefr
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 10.0 Community
Posts: 19

Rep: Reputation: 0
Well, except for foo2zjs needing more horsepower than my old Linux box can give, yes - the Windows box works fine with it. I just am not comfortable recommending the 2300DL to other people when DHCP doesn't work at all on it...
 
  


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
Samba (printing from linux to a windows printer) gingins Linux - Networking 1 04-26-2005 11:05 PM
Printing from Linux to WinXP (SAMBA & CUPS) Yoda_Oz Linux - Networking 0 02-03-2005 09:20 PM
Printing on Winxp Printer via cups gotmonkey Slackware 10 11-30-2004 01:38 PM
Printing to WinXP shared printer from Linux? DStar Linux - Networking 6 12-25-2003 12:24 PM
SAMBA printing to winXP Printer Parksy Linux - Networking 3 06-12-2003 11:13 AM

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

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