can't print to windows xp printer

Using openSUSE 11.4 and winXP pro sp3

I am a complete noob to linux.

I went into YAST2 and added a printer–none were found. I used the connection wizard and selected Print Via Print Server Machine>>Windows or Samba.

i entered the winxp info

server: daddy
Printer Share Name: HP4200
Workgroup: MSHOME

I selected HP for printer manufacturer. When I did test connection it said access test failed:

Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
ping: unknown host daddy

Testing share ‘HP4200’ on ‘MSHOME/daddy’:
tree connect failed: NT_STATUS_ACCESS_DENIED

Share ‘HP4200’ on ‘MSHOME/daddy’ does not accept print jobs (share may not exist?)

Host ‘daddy’ unreachable (network issue or wrong host or firewall active?)

So i hit OK anyway, then selected

HP Deskjet d4200 series hpcups 3.11.1.1.19

the model is an HP deskjet d4260

So then I print a test page----and the file is sent to the print spooler and the printer makes noises but then it stops:

document name Remote Download Document
Status: Printing
Owner: Guest
Pages: N/A
Size 64KB/44.3 MB
Submitted: 11:25:04 AM 4/10/2011
Port: USB001

I did this tutorial previously:

How To Samba With openSUSE 11.2 and Windows and can successfully use the MSHOME workgroup.

I then tried this tutorial:

Printer Sharing: Windows Print Server for Suse/openSUSE Linux Clients [Samba and LPD]

when i go to http://localhost:631/ to Add printer it asks for my user name and password, the site says CUP—I enter my root user name and password and it says Unable to add printer: Forbidden

Please help! I am a complete Linux noob.

Does this help SDB:How to set-up a HP printer - openSUSE ?

On Sun April 10 2011 01:36 pm, crumpybumpy wrote:

>
> Using openSUSE 11.4 and winXP pro sp3
>
> I am a complete noob to linux.
>
> I went into YAST2 and added a printer–none were found. I used the
> connection wizard and selected Print Via Print Server Machine>>Windows
> or Samba.
>
> i entered the winxp info
>
> server: daddy
> Printer Share Name: HP4200
> Workgroup: MSHOME
>
> I selected HP for printer manufacturer. When I did test connection it
> said access test failed:
>
> Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> ping: unknown host daddy
>
>
> Testing share ‘HP4200’ on ‘MSHOME/daddy’:
> tree connect failed: NT_STATUS_ACCESS_DENIED
>
> Share ‘HP4200’ on ‘MSHOME/daddy’ does not accept print jobs (share may
> not exist?)
>
>
> Host ‘daddy’ unreachable (network issue or wrong host or firewall
> active?)
>
>
> So i hit OK anyway, then selected
>
> HP Deskjet d4200 series hpcups 3.11.1.1.19
>
> the model is an HP deskjet d4260
>
> So then I print a test page----and the file is sent to the print
> spooler and the printer makes noises but then it stops:
>
> document name Remote Download Document
> Status: Printing
> Owner: Guest
> Pages: N/A
> Size 64KB/44.3 MB
> Submitted: 11:25:04 AM 4/10/2011
> Port: USB001
>
> I did this tutorial previously:
>
> How To Samba With openSUSE 11.2 and Windows and can successfully use
> the MSHOME workgroup.
>
> I then tried this tutorial:
>
> Printer Sharing: Windows Print Server for Suse/openSUSE Linux Clients
> [Samba and LPD]
>
> when i go to http://localhost:631/ to Add printer it asks for my user
> name and password, the site says CUP—I enter my root user name and
> password and it says Unable to add printer: Forbidden
>
>
> Please help! I am a complete Linux noob.
>
>
crumpybumpy;

There is a problem with apparmor on 11.4 that prevents samba from running.
Go to Yast > Novell AppArmor > AppArmor Control Panel > Configure profiles
and set AppArmor to complain for both usr.sbin.nmbd and usr.sbin.smbd rather
than enforce.

Go over the following two Howtos:
http://opensuse.swerdna.org/suselanprimer.html
and
http://opensuse.swerdna.org/susesambaprint.html

I’m not sure if these are the two you referred to or not, but these are good.

Finally for CUPS the username should be “root” and the password root’s
password, by default root has the same password as the user you created when
installing.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

On Sun April 10 2011 05:46 pm, PV wrote:

> On Sun April 10 2011 01:36 pm, crumpybumpy wrote:
>
>>
>> Using openSUSE 11.4 and winXP pro sp3
>>
<snip>
Added comment, when I did an upgrade from 11.2 to 11.4 (x86_64)I discovered
that the smb protocol was in the wrong library.

Check to see if the file /usr/lib/cups/backend/smb exists


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

If it does not exist then create the following link:


su
ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

ARGH–that was my error with CUPS…I had a user name “martha” and didnt use “root”----so i followed all of those steps in the tutorial:

Printer Sharing: Windows Print Server for Suse/openSUSE Linux Clients [Samba and LPD]

and the same thing occurred----file was sent from linux machine to the HP4200 where the whole file comes over but it freezes like this: 64KB/44.3MB

So i installed the printer both through CUPS and the above method and it still gets frozen as above. What else should I try to troubleshoot??

On Sun April 10 2011 09:36 pm, crumpybumpy wrote:

>
> venzkep;2321532 Wrote:
>> On Sun April 10 2011 01:36 pm, crumpybumpy wrote:
>>
>> >.
>>
>> Go over the following two Howtos:
>> ‘Samba and Suse: HowTo Set up an openSUSE-Windows Home Office
>> LAN/Network. Versions 11.x’
>> (http://opensuse.swerdna.org/suselanprimer.html)
>> and
>> ‘Printer Sharing: Windows Print Server for Suse/openSUSE Linux Clients
>> [Samba and LPD]’ (http://opensuse.swerdna.org/susesambaprint.html)
>>
>> I’m not sure if these are the two you referred to or not, but these are
>> good.
>>
>> Finally for CUPS the username should be “root” and the password root’s
>> password, by default root has the same password as the user you created
>> when
>> installing.
>>
>>
>>
>>
>
> ARGH–that was my error with CUPS…I had a user name “martha” and didnt
> use “root”----so i followed all of those steps in the tutorial:
>
> ‘Printer Sharing: Windows Print Server for Suse/openSUSE Linux Clients
> [Samba and LPD]’ (http://opensuse.swerdna.org/susesambaprint.html)
>
> and the same thing occurred----file was sent from linux machine to the
> HP4200 where the whole file comes over but it freezes like this:
> 64KB/44.3MB
>
> So i installed the printer both through CUPS and the above method and
> it still gets frozen as above. What else should I try to troubleshoot??
>
>
crumpybumpy;

Have you tried different drivers. The OpenPrinting site gives a number of
possibilities.

http://www.openprinting.org/printer/HP/HP-LaserJet_4200#

A number of CUPS drivers that were installed automatically in previous
versions may need to be added as separate packages. If the driver you want
is not seen in CUPS, use Yast > Software > Software Management.
Include “Provides” in your search and look for the missing driver.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

I looked on that site and the first driver recommended is HPLIP–is that what i installed? I installed:

HP Deskjet d4200 series hpcups 3.11.1.1.19

Is that part of HPLIP?

On Mon April 11 2011 01:06 pm, crumpybumpy wrote:

>
> venzkep;2321583 Wrote:
>>
>> crumpybumpy;
>>
>> Have you tried different drivers. The OpenPrinting site gives a
>> number of
>> possibilities.
>>
>> ‘Printer: HP LaserJet 4200 | OpenPrinting - The Linux Foundation’
>> (http://www.openprinting.org/printer/HP/HP-LaserJet_4200#)
>>
<snip>
>
> I looked on that site and the first driver recommended is HPLIP–is
> that what i installed? I installed:
>
> HP Deskjet d4200 series hpcups 3.11.1.1.19
>
> Is that part of HPLIP?
>
crumpybumpy;

I’m not sure just who provides that particular driver.
Have you installed HPLIP, it is not installed by default.

In a terminal window enter:


rpm -qa hplip

If HPLIP is installed the above should return something like:
hplip-3.11.1-6.1.x86_64

If HPLIP is installed then you might want to look here for additional
installation instructions:
http://hplipopensource.com/node/118
or even
https://launchpad.net/hplip

If hplip is not install use YaST or zypper to install the HPLIP package.

( Yast > Software > Software Management, Search for HPLIP and install.)

You might also try one of the other drivers such as gutenprint or even
postscript that are given on OpenPrinting.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

It seems to be a driver problem for the HP Deskjet D4260 printer. The driver works if I plug the printer in directly through a USB cable…but when I try through the network, the document sends correctly but it gets frozen in the at the 64KB/44 meg spot as I said above.

I installed another printer that is on my network, and HP Photosmart and that works fine through the network.

I installed the gutenprint drivers…but I dont know how to use them?!! How do I use those drivers on the HP deskjet 4260 to see if it will work on the network?

On Tue April 12 2011 04:06 pm, crumpybumpy wrote:

>
> It seems to be a driver problem for the HP Deskjet D4260 printer. The
> driver works if I plug the printer in directly through a USB
> cable…but when I try through the network, the document sends
> correctly but it gets frozen in the at the 64KB/44 meg spot as I said
> above.
>
> I installed another printer that is on my network, and HP Photosmart
> and that works fine through the network.
>
> I installed the gutenprint drivers…but I dont know how to use
> them?!! How do I use those drivers on the HP deskjet 4260 to see if it
> will work on the network?
>
crumpybumpy;

Use CUPS, under driver choose the appropriate gutenprint file.

However, have you checked the contents of: /var/log/cups/error_log to see if
there is any information there?

Are you using smb: or LPD: to connect to the printer?

Have you tested with the firewall disabled on both the client and server?
( Be sure to enable the firewalls after testing )

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

I am using smb.

I cannot find those guten drivers when I go into CUPS. In YAST I do a “find more” drivers and it given the whole list of available drivers, but that is not one of them. If I click on the Driver Packages button It has Installl or Remove Printer Driver packages…and the gutenprint/Gimp-Print driver is X’ed off…When I click OK nothing happens.

On Sun April 17 2011 10:06 am, crumpybumpy wrote:

>
> I am using smb.
>
> I cannot find those guten drivers when I go into CUPS. In YAST I do a
> “find more” drivers and it given the whole list of available drivers,
> but that is not one of them. If I click on the Driver Packages button
> It has Installl or Remove Printer Driver packages…and the
> gutenprint/Gimp-Print driver is X’ed off…When I click OK nothing
> happens.
>
>
crumpybumpy;

Go to YaST>Software Management, search for “gutenprint” (no quotes). If the
gutenprint package is not installed install it.

Try adding the printer directly in cups. https://localhost:631/, choose
the “Administration” tab and then run the “Add Printer” wizard.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

gutenprint does show up installed in software management. I tried doing a fresh install of the printer through CUPS but those drivers don’t show up anywhere.

On Sun April 17 2011 03:36 pm, crumpybumpy wrote:

>
> gutenprint does show up installed in software management. I tried doing
> a fresh install of the printer through CUPS but those drivers don’t show
> up anywhere.
>
>
Look under “generic”

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

OK–all figured out now------I upgraded gutenprint via yast from 5.0 to 5.2 and then the gutenprint drivers showed up—the only problem is there aren’t drivers for the deskjet d4200 that i have–it is for a laserjet model…oh well–the only option based on that site you showed me for that particular model are the hplip drivers and they don’t work in network mode nut do in direct usb connection mode.