Click to See Complete Forum and Search --> : print to hp1215 on WinXP box


Bubba56
05-03-2004, 02:17 PM
OK, I have been looking for a solution here on JL forums, searched for "printing to shared printer on WinXP machine, etc. I found many threads but haven't seen any answers/solutions that worked yet. I have fedora Core one setup and working, and I want to print to an HP Photosmart 1215 on a WinXP box. The printer is shared, no password necessary. I have all of our pc's connected on a Netgear Router attached to our cable modem. I setup the printer on the Linux box, had it search for printers, it found mine and my wifes multifunction printer, I selected the 1215, installed the drivers that do come with Core one. I then sent a test page, and nothing shows, no print job, nothing in the printer folder, no flashing light like it wants to print etc. I thien answered the question "did the job show up" as no and got the following:

[04/May/2004:11:00:30 -0500] Adding start banner page "none" to job 3.
I [04/May/2004:11:00:30 -0500] Adding end banner page "none" to job 3.
I [04/May/2004:11:00:30 -0500] Job 3 queued on 'HP1215' by 'root'.
I [04/May/2004:11:00:30 -0500] Started filter /usr/lib/cups/filter/pstops (PID 9104) for job 3.
I [04/May/2004:11:00:30 -0500] Started filter /usr/lib/cups/filter/foomatic-rip (PID 9105) for job 3.
I [04/May/2004:11:00:30 -0500] Started backend /usr/lib/cups/backend/smb (PID 9106) for job 3.
E [04/May/2004:11:00:38 -0500] [Job 3] Connection failed with error NT_STATUS_ACCESS_DENIED
E [04/May/2004:11:01:38 -0500] [Job 3] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED
E [04/May/2004:11:02:38 -0500] [Job 3] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED
E [04/May/2004:11:03:38 -0500] [Job 3] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED
E [04/May/2004:11:04:38 -0500] [Job 3] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED


Does this mean that I have to have SOME password or something setup on the WinXP box or is there some other piece of Samba software that I need?? I have tried both a CUPS test page and a US letter test page(This error from that). I didn't see anything on the linuxprinting page either (not that I would klnow what to see as a solution, they mostly provide drivers that I can see).

Bubba56
05-03-2004, 10:33 PM
hhmmm uh bump?? purty please?

hard candy
05-03-2004, 11:39 PM
Is the WinXP set to allow shares?Is the printer set up to be shared in WinXP?

Bubba56
05-04-2004, 12:12 AM
"The printer is shared, no password necessary."

ya I have NO passwords on network, just me and wife, I can see the printer but no output, not sure what the error message means, like; do I NEED a password, or ... amd I missing something in Samba etc, very confused.

XiaoKJ
05-04-2004, 05:38 AM
Is is connected to a print server or a win XP box?

if it is connected to the win xp box, you will need samba working and you will need the win xp box ON(obviously) and set the printer up for sharing.

If its connected to a print server I do not know how to help you.

Hope this clarifies something, but I know I am not helpful...:D Sorry..

hard candy
05-04-2004, 06:15 AM
From a printer setup Howto:
The following is an example of creating a connection to a Windows PC:
From the command line as "su": "smbclient -L WinXPcomputername -N"
added interface ip=10.6.7.234 bcast=10.6.7.255 nmask=255.255.255.0
Got a positive name query response from 10.6.7.8 ( 10.6.7.8 )
Sharename Type Comment
PRINTER$ Disk
INKJET Printer
STUFF Disk
IPC$ IPC Remote Inter Process Communication

The command shown asks for a list of shares on a Windows PC named "WinXPcomputername", with no password given. The results show a printer named "INKJET".

If Windows naming service is unavailable you will need to specify the IP address of the Windows PC with the -I switch as in:

smbclient -I 10.6.7.8 -L rice -N

CUPS Configuration
Once you have found a Windows printer you may configure CUPS. First verify that your installation of CUPS has the smb backend with the following command:

ls -l /usr/lib/cups/backend/smb

If this file does not exist create it by issuing the following:

ln -s `which smbspool` /usr/lib/cups/backend/smb

The following is an example of setting up the printer shown above:

lpadmin -p "WinXPPrinter" -v smb://WinXPcomputername/INKJET -P /root/inkjet.ppd
enable WinXPPrinter
accept WinXPPrinter
lpadmin -d WinXPPrinter

See Section 2.3 for an explanation of the commands above. If Windows naming service is unavailable, add the switch -h followed by the IP address of the Windows PC to the first lpadmin command as in:

lpadmin -p WinXPPrinter -h 10.6.7.8 -i smb://rice/inkjet-P /root/inkjet.ppd

Your printer is now ready to test. Send a file to the printer with the lp command followed by a filename, or by printing a document from within an application.

Bubba56
05-05-2004, 10:00 PM
OK trying to follow your directions here.

I ma assuming in the first command where it says WinXP computername you want the actual WinXP pc name, I typed the following:

[root@localhost root]# smbclient -L cb46025a -N
Connection to cb46025a failed

Then I tried this:

[root@localhost root]# smbclient -I 192.168.0.5 -L rice
Password:
Domain=[CB46025-A] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_DUPLICATE_NAME


I do not understand the duplicate name 192.168.0.5 is the WinXP box, the Linux box is 192.168.0.4. SO I am very confused as to what the &^$#@* is goin on. I have mentioned before that I don't understand the commandline so maybe I typed in the wrong thing?? Or... can someone explain this to me in small words, preferably under 2 syllables and if I need to type something in can you write it line by line. I am sorry for being so useless but I am having a hell of a time just getting a Linux box to do basic crap, not even trying to burn cd's or listen to music etc. Help?? please

happybunny
05-07-2004, 02:46 PM
in think the redhat-config tools work in fedora, dont' they?

anyway, did you try the

redhat-config-printer and fill in the correct info?

On XP box....do you log into that with an account in any way? you say you share the box with the misses...do you both have an account?

When you set the printer up to share, did you indicate with what other operating system you were sharing with?

Bubba56
05-08-2004, 05:52 PM
Fixed !! Altho I don;t enter a password, I do have a "profile" on the XP box, so on the Printer config I tried entering that profile username and blank password and it worked. Will wonders never cease, thats one more thing of my "basic things to do list" for Linux :) I sure I will have more incredibly ignorant questions for you all, thanks much for the help :)))