LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-08-2010, 03:24 PM   #1
figure002
Member
 
Registered: Nov 2008
Distribution: Ubuntu Maverick
Posts: 31

Rep: Reputation: 16
Printing via network using the HP DeskJet 3650 fails


Hello people.

I'm having another frustrating problem. I can't print via our network printer (HP DeskJet 3650) which is connected to a WinXP PC on the network. My laptop is wireless connected to the network. My distribution is openSUSE 11.2 and I tried setting up the network printer via CUPS:
  1. Went to http://localhost:631
  2. Add Printer
  3. Device: Windows Printing via SAMBA
  4. Device URI: smb://UMBRELLA/SMOKE/HP3600
  5. Make: HP
  6. Model: HP DeskJet 3650, hpcups 3.9.8 (en)
  7. Printer State: idle, accepting jobs, published.

Then clicked the "Print Test Page" button. At this point the printer actually starts making sounds.. the same sounds it makes when it's preparing to print something. But then, it stops. The printing job is still present in the printer queue at the WinXP PC, but it won't print.

So I looked at this documentation: http://www.linuxfoundation.org/colla...sdocumentation

Step 2 from this documentation tells me to install a PPD file.. which I can't find anywhere. It's not on the original HP driver CD, neither can it be downloaded from this page: http://www.openprinting.org/show_pri...P-DeskJet_3650.

Also, I believe I have everything installed:
Code:
serrano@saibot:/usr/share/cups/model/HP> rpm -qa hplip hplip-hpijs foomatic-filters
hplip-hpijs-3.9.8-3.4.1.i586
foomatic-filters-4.0.1-2.1.i586
hplip-3.9.8-3.4.1.i586
So, I think I'm stuck. Can someone please help me?
 
Old 01-08-2010, 03:54 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
This printer should work with the hplip driver. I don't see any need for a ppd file.

The only things I see from your post are, the device URI. As far as I know, you would need the system hostname, or its IP address, and the printer name separated by a '/'. You seem to have two fields,
Quote:
smb://UMBRELLA/SMOKE/HP3600
UMBERELLA and SMOKE. Could you try the IP address in place of this, followed by the printer name and give it a try?

If you use names, you need /etc/hosts up to date with the host name and IP address.

Hope this helps.
 
Old 01-08-2010, 05:01 PM   #3
figure002
Member
 
Registered: Nov 2008
Distribution: Ubuntu Maverick
Posts: 31

Original Poster
Rep: Reputation: 16
Thanks for the reply.

Our workgroup is called 'UMBRELLA' and the system hostname is 'SMOKE'. So that's where that URI comes from.

I changed the device URI:
smb://192.168.1.12/HP3600

But I get the same results as mentioned earlier. As soon as I send a print job, the new print job is added to the printer queue (on WinXP) and the printer starts making noises, as if it's preparing to print.. but then it stops and nothing comes out.
 
Old 01-08-2010, 06:41 PM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
The hplip drivers you have installed are not the latest. I don't know if it would help or not, but the latest version is 3.9.12. It might be worth the effort to install the latest.

A link -->http://hplipopensource.com/hplip-web/gethplip.html
 
Old 01-09-2010, 05:40 AM   #5
figure002
Member
 
Registered: Nov 2008
Distribution: Ubuntu Maverick
Posts: 31

Original Poster
Rep: Reputation: 16
I just installed the latest hplip, version 3.9.12.

I went through the whole installation process and everything went fine. This time I directly connected the printer to my laptop via USB. In CUPS I added a local printer and selected the right driver from the list. Now, everything works fine. The test page came out fine and I am able to print from Linux.

Now, I disconnected the printer and reconnect it to the WinXP computer. I added a new network printer, using the same settings as before (except the printer driver is now "HP Deskjet 3650, hpcups 3.9.12"). CUPS recognized the printer as before. But when I try to print anything, the same thing happens again, where the printer would make noises, but nothing comes out

Last edited by figure002; 01-09-2010 at 05:42 AM.
 
Old 01-09-2010, 06:31 AM   #6
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Hmmm, strange. Since the printer works connected to linux, you have the correct driver installed. This leads me to believe your problem is on the XP system.

Things I would try....

Delete the printer on XP, and re-install it. That should clean up any junk left around the print queues. Make sure you are using the driver supplied by HP, not some driver by microbucks.

Hope this helps...
 
Old 01-09-2010, 06:56 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,012

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
I added a new network printer, using the same settings as before (except the printer driver is now "HP Deskjet 3650, hpcups 3.9.12")
No, I think this is where you went wrong.

The printer is connected to a win PC. Win has the driver.

Use CUPS to create a new networked printer, but this time do not select a driver, just set it to type "Raw Printer". Cups will send the data to win, which will put it through win's driver, and send it to the printer.

That should work.

Edit: Or maybe not. The above instructions (Raw Printer) apply to a networked printer being driven by CUPS (ie connected to a linux PC).

For printing to win-connected printers over the network, I think you have to use samba, about which I know very little, but please see here:
http://tldp.org/HOWTO/Debian-and-Win...o_windows.html
/Edit

Last edited by tredegar; 01-09-2010 at 07:13 AM.
 
Old 01-09-2010, 07:52 AM   #8
figure002
Member
 
Registered: Nov 2008
Distribution: Ubuntu Maverick
Posts: 31

Original Poster
Rep: Reputation: 16
Thanks again for your comments guys. I appreciate it.

Quote:
Originally Posted by camorri View Post
Delete the printer on XP, and re-install it. That should clean up any junk left around the print queues. Make sure you are using the driver supplied by HP, not some driver by microbucks.
Well, that's exactly what I have to do every time I send a print job to the printer. The job gets stuck on the printer queue on WinXP and we're no longer able to print anything (because the printer hangs because of that job). So, in WinXP, I have to stop the spool server (net stop spool), then manually remove all the printer jobs from "%systemroot%\system32\spool\printers\", and then start the spool server again (net start spooler). After this the printer queue on WinXP is empty and we're able to print again.

Quote:
Originally Posted by tredegar View Post
Use CUPS to create a new networked printer, but this time do not select a driver, just set it to type "Raw Printer". Cups will send the data to win, which will put it through win's driver, and send it to the printer.
I tested it, but this indeed doesn't work.

Quote:
Originally Posted by tredegar View Post
Edit: Or maybe not. The above instructions (Raw Printer) apply to a networked printer being driven by CUPS (ie connected to a linux PC).

For printing to win-connected printers over the network, I think you have to use samba, about which I know very little, but please see here:
http://tldp.org/HOWTO/Debian-and-Win...o_windows.html
/Edit
I think this has the same result as adding a printer via CUPS (when selecting Device: Windows Printing via SAMBA). Because after following the steps on that page, a new printer with almost the same settings was added to the CUPS page. I say "almost", because the method described on that page didn't really work because of the following reasons:
- I need the PPD file, which I don't have (see my first post). So a 'raw' printer was added instead.
- And on my suse box there is no command '/usr/bin/enable'. A 'whereis enable' returns no results. So I had to enable the printer using the "Start Printer" button in CUPS.

After this the result is still the same.

Last edited by figure002; 01-09-2010 at 07:54 AM.
 
Old 01-09-2010, 08:01 AM   #9
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
One last thought, have you looked into printer settings, on both systems? ie paper size etc? Often the linux side will default to A4 paper size, and may cause the print spool to choke. Just a thought...
 
Old 01-09-2010, 08:32 AM   #10
figure002
Member
 
Registered: Nov 2008
Distribution: Ubuntu Maverick
Posts: 31

Original Poster
Rep: Reputation: 16
On WinXP the default paper size is A4. On Linux this was set to Letter. So I changed this in the CUPS printer options:
Media Size: A4

All other options seem to be correct and are also the same as the local printer profile (which worked). So the options should be ok now. But still no improvement.

Thanks for you help so far camorri.

EDIT: Anyone else have an idea on how to get my printer working?

Last edited by figure002; 01-10-2010 at 08:18 AM.
 
Old 01-11-2011, 09:14 PM   #11
jp40684
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 1
I have the same problem with an HP PSC 1315v, except I have the ppd file. This worked for me:
-right click your printer in XP the "Printers and Faxes" window and click "Properties"
-under the "Ports" tab make sure "Enable Bidirectional Support" is NOT checked.

Hope it works for you
 
1 members found this post helpful.
Old 02-06-2011, 01:21 PM   #12
figure002
Member
 
Registered: Nov 2008
Distribution: Ubuntu Maverick
Posts: 31

Original Poster
Rep: Reputation: 16
Thumbs up

Quote:
Originally Posted by jp40684 View Post
I have the same problem with an HP PSC 1315v, except I have the ppd file. This worked for me:
-right click your printer in XP the "Printers and Faxes" window and click "Properties"
-under the "Ports" tab make sure "Enable Bidirectional Support" is NOT checked.

Hope it works for you
Your fix worked! I'm so glad I can finally send print jobs to a Windows machine.
Thanks jp40684 for providing the fix!
 
  


Reply

Tags
deskjet, hp, network, printing


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
[SOLVED] HP Deskjet network printing problem Ake Torngren Linux - Networking 5 03-14-2009 09:10 AM
CentOS 5.2 network printing fails kel_en Red Hat 0 12-04-2008 02:43 PM
Firefox hates my deskjet 3650. degraffenried13 Linux - General 3 06-19-2005 03:35 PM
HP Deskjet 3650 Won't Print In SuSe 9.1 122333 Linux - Hardware 2 09-16-2004 04:13 PM
Samba Printing to XP HP DeskJet nbin Linux - Software 0 07-15-2003 08:28 PM


All times are GMT -5. The time now is 01:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration