Main Page | Report this Page
 
   
Linux Forum Index  »  General Linux Discussion  »  Can't print to Windows HP printer...
Page 2 of 2    Goto page Previous  1, 2
Author Message
Fokke Nauta...
Posted: Sun Aug 24, 2008 4:03 am
Guest
"Jim" <chief_jim at (no spam) go.nospam.com> wrote in message
news:48addd8e$0$7331$607ed4bc at (no spam) cv.net...
Quote:
On Thu, 21 Aug 2008 22:01:42 +0200, Fokke Nauta wrote:

Jim wrote:
On Tue, 19 Aug 2008 21:45:56 +0000, noi ance wrote:

I have to admit this has me stumped. Because the Linux prints to the
Windows queue and prints to the epson it's not a firewall problem. It
sounds like a port bi-directional problem but you've said that doesn't
fix it. And installing HPLIP hasn't helped.

To me, I still believe its a problem on the Windows side. To clarify
where is the problem can you directly connect the Deskjet 3650 to the
Linux box and print test pages. That should indicate if the HPLIP or
HPIJS driver is correctly working.

Use Firefox (or browser) and http://localhost:631 to manage the
printer and printing on the Linux box.

If the Linux prints cleanly to the HP then its the translation from
Linux to XP. Maybe change the method of printing.

BTW, you can clear the Windows print queue by restarting the print
spooler service in the Administrative Tools, Services, restart print
spooler instead of restarting the PC.

Chances are your HPLIP is out of date. I had a similar problem about a
year ago when a friend bought that model. If your distributions
repositories aren't up-to-date use the link below. Let us know how it
went.

http://hplip.sourceforge.net/downloads.html


I can't install HPLIP from the site.

See this:

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --yes --force-yes build-essential' Please
wait, this may take several minutes... \error: No output seen in over
300 sec... (Is the CD-ROM/DVD source repository enabled? It shouldn't
be!) fatal error: :hplip-install

I tried several times but don't get any further than this. So I gave up
...

Fokke


Use the tarball version instead

This is "Welcome to Linux" I may assume :-)

I tried but it did not work out.
I followed precisely the instructions on
http://hplip.sourceforge.net/install/manual/distros/ubuntu.html
I got all sorts of (error-)messages.
Listed some here.

sudo apt-get install --yes --force-yes libcupsys2 libcupsys2-dev cupsys-bsd
libdbus-1-dev build-essential gs-esp openssl libjpeg62-dev libsnmp9-dev
build-essential libtool libusb-dev build-essential python-imaging python-qt3
python-ctypes python-dbus python2.5-dev python python python-reportlab
libsane libsane-dev libsane xsane
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcupsys2 is already the newest version.
cupsys-bsd is already the newest version.
openssl is already the newest version.
Package libsnmp9-dev is a virtual package provided by:
libsnmp-dev 5.3.1-6ubuntu2.1
You should explicitly select one to install.
E: Package libsnmp9-dev has no installation candidate

./configure --enable-network-build --disable-pp-build --enable-fax-build --enable-dbus-build
--enable-gui-build --enable-scan-build --enable-doc-build --disable-foomatic-ppd-install
--enable-foomatic-drv-install --with-drvdir=/usr/share/cups/drv/hp --with-hpppddir=/usr/share/ppd/hpijs/HP
--disable-hpijs-only-build --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

make
make: *** No targets specified and no makefile found. Stop.

sudo python ./installer/fix_symlink.py
Testing link: /usr/share/foomatic/db/source/PPD
Link target: /usr/share/ppd/openprinting
Target path exists. No action needed.

sudo make install
make: *** No rule to make target `install'. Stop.

sudo hp-setup

HP Linux Imaging and Printing System (ver. 2.7.7)
Printer/Fax Setup Utility ver. 4.5

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: PyQt not installed. GUI not available. Exiting.
warning: PyQt init failed. Reverting to interactive mode.

HP Linux Imaging and Printing System (ver. 2.7.7)
Services and Status Daemon ver. 9.2

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: No devices found.
error: Error occured during interactive mode. Exiting.
wisdomkiller & pain...
Posted: Sun Aug 24, 2008 5:17 am
Guest
Fokke Nauta wrote:

Quote:

"wisdomkiller & pain" <altnews.20.eatallspam at (no spam) spamgourmet.com> wrote in
message news:13273883.AjQQtpfRi7 at (no spam) woodpecker.motzarella.org...
Fokke Nauta wrote:

.....
I connected the printer to an USB port (and was pleasantly surprised
that the printer was recognised instantly, and a driver was setup as
well !!). A testprint came out perfectly. The HPIJS driver was used, so
that's allright.

Set up the "print services for unix" on the win2000 box. It is under
control
panel - software - add/remove windows components (or similar).
You will get a raw lpd queue for the printer, with a queue named just
like the share would be.
In linux, setup a remote lpd printer on the windows host to connect to.
That ought to work.

Ofcourse this was where I begun.
And this was my problem: printing with lpd works with an Epson printer but
not with my HP printer.

Ah, I thought you were using the windows printer share.

But then, with lpd it is important to "guess" the proper queuename,
otherwise - from my experience - the printer may receive a reset signal but
not accept the data.
Fokke Nauta...
Posted: Mon Aug 25, 2008 3:17 am
Guest
wisdomkiller & pain wrote:
Quote:
Fokke Nauta wrote:

"wisdomkiller & pain" <altnews.20.eatallspam at (no spam) spamgourmet.com> wrote in
message news:13273883.AjQQtpfRi7 at (no spam) woodpecker.motzarella.org...
Fokke Nauta wrote:

.....
I connected the printer to an USB port (and was pleasantly surprised
that the printer was recognised instantly, and a driver was setup as
well !!). A testprint came out perfectly. The HPIJS driver was used, so
that's allright.

Set up the "print services for unix" on the win2000 box. It is under
control
panel - software - add/remove windows components (or similar).
You will get a raw lpd queue for the printer, with a queue named just
like the share would be.
In linux, setup a remote lpd printer on the windows host to connect to.
That ought to work.
Ofcourse this was where I begun.
And this was my problem: printing with lpd works with an Epson printer but
not with my HP printer.

Ah, I thought you were using the windows printer share.
But then, with lpd it is important to "guess" the proper queuename,
otherwise - from my experience - the printer may receive a reset signal but
not accept the data.


The first thing I did was setting up an LPD/LPR printer in Windows. I
wasn't aware you could use a Windows shared printer with Linux!
The Windows LPD printer is called HPLPR. The Windows box is at
10.0.0.140. In Ubuntu I used the CUPS http interface to set up a printer
where I used the same queue name. The printer is at lpd://10.0.0.140/HPLPR.

The queue name of the Windows printer seems not visable for Ubuntu. For
instance, HPLIP can't find it.
Fokke Nauta...
Posted: Mon Aug 25, 2008 8:02 am
Guest
Fokke Nauta wrote:
Quote:
Hi all,

Anyone seen this problem before and knows the solution?

I have a Linux Box (Ubuntu 7.10) which is connected to a Windows network.
There is a Windows 2000 PC which acts as print server. Two printers are
attachted: Epson and HP. TCP/IP service is active. From the Linux box I can
print to the Epson printer without any problem. But this printer is normally
not used and not present, I use the HP printer as default. And to this
printer I can't print. The job ends up in the proper queue, the printer
initializes but that's all, nothing gets printed. I have to reset the print
server to remove the job, I can't delete it.
Tried different Linux (Fedora), tried different lpd services, re-installed
printer drivers, checked firewall, all to no avail.
The printer is HP Deskjet 3650. All Windows machines print fine to this
printer.

Any ideas?

Thank in advance for your help and suggestions.

With kind regards,
Fokke Nauta



Hi guys,

I got it working.

I created a new queue on the Windows box to the same printer. The
existing queue, which is shared, links to this printer as well.
Bi-directional on the new queue disabled. Then I created a new LPR-port,
using the IP address of the Windows box and the queue name of the queue
I just made. Bi-directional disabled as well. I also disabled spooling
on this new LPR port. I can now print to this printer using LPD/LPR,
although it takes a few minutes before the printer gives any response.
At least it works.

Thanks for all your help and your input.

With regards,
Fokke
noi ance...
Posted: Mon Aug 25, 2008 12:35 pm
Guest
On Mon, 25 Aug 2008 15:02:42 +0200, Fokke Nauta typed this message:

Quote:
Fokke Nauta wrote:
Hi all,

Anyone seen this problem before and knows the solution?

I have a Linux Box (Ubuntu 7.10) which is connected to a Windows
network. There is a Windows 2000 PC which acts as print server. Two
printers are attachted: Epson and HP. TCP/IP service is active. From
the Linux box I can print to the Epson printer without any problem. But
this printer is normally not used and not present, I use the HP printer
as default. And to this printer I can't print. The job ends up in the
proper queue, the printer initializes but that's all, nothing gets
printed. I have to reset the print server to remove the job, I can't
delete it. Tried different Linux (Fedora), tried different lpd
services, re-installed printer drivers, checked firewall, all to no
avail. The printer is HP Deskjet 3650. All Windows machines print fine
to this printer.

Any ideas?

Thank in advance for your help and suggestions.

With kind regards,
Fokke Nauta



Hi guys,

I got it working.

I created a new queue on the Windows box to the same printer. The
existing queue, which is shared, links to this printer as well.
Bi-directional on the new queue disabled. Then I created a new LPR-port,
using the IP address of the Windows box and the queue name of the queue
I just made. Bi-directional disabled as well. I also disabled spooling
on this new LPR port. I can now print to this printer using LPD/LPR,
although it takes a few minutes before the printer gives any response.
At least it works.

Thanks for all your help and your input.

With regards,
Fokke

Great news indeed. Be aware at least on my system when CUPS is updated I
have to recreate the printers on the Linux box.
Fokke Nauta...
Posted: Mon Aug 25, 2008 2:45 pm
Guest
"noi ance" <noi at (no spam) siam.com> wrote in message
news:x3Csk.20687$uE5.4521 at (no spam) flpi144.ffdc.sbc.com...
Quote:
On Mon, 25 Aug 2008 15:02:42 +0200, Fokke Nauta typed this message:

Fokke Nauta wrote:
Hi all,

Anyone seen this problem before and knows the solution?

I have a Linux Box (Ubuntu 7.10) which is connected to a Windows
network. There is a Windows 2000 PC which acts as print server. Two
printers are attachted: Epson and HP. TCP/IP service is active. From
the Linux box I can print to the Epson printer without any problem. But
this printer is normally not used and not present, I use the HP printer
as default. And to this printer I can't print. The job ends up in the
proper queue, the printer initializes but that's all, nothing gets
printed. I have to reset the print server to remove the job, I can't
delete it. Tried different Linux (Fedora), tried different lpd
services, re-installed printer drivers, checked firewall, all to no
avail. The printer is HP Deskjet 3650. All Windows machines print fine
to this printer.

Any ideas?

Thank in advance for your help and suggestions.

With kind regards,
Fokke Nauta



Hi guys,

I got it working.

I created a new queue on the Windows box to the same printer. The
existing queue, which is shared, links to this printer as well.
Bi-directional on the new queue disabled. Then I created a new LPR-port,
using the IP address of the Windows box and the queue name of the queue
I just made. Bi-directional disabled as well. I also disabled spooling
on this new LPR port. I can now print to this printer using LPD/LPR,
although it takes a few minutes before the printer gives any response.
At least it works.

Thanks for all your help and your input.

With regards,
Fokke

Great news indeed. Be aware at least on my system when CUPS is updated I
have to recreate the printers on the Linux box.

Good to know. But I don't have printers attached directly to my Linux box.
The only printers I have are connected to the Windows box.

Fokke
noi ance...
Posted: Tue Aug 26, 2008 4:37 pm
Guest
On Mon, 25 Aug 2008 21:45:27 +0200, Fokke Nauta typed this message:

Quote:
"noi ance" <noi at (no spam) siam.com> wrote in message
news:x3Csk.20687$uE5.4521 at (no spam) flpi144.ffdc.sbc.com...
On Mon, 25 Aug 2008 15:02:42 +0200, Fokke Nauta typed this message:

Fokke Nauta wrote:
Hi all,

Anyone seen this problem before and knows the solution?

I have a Linux Box (Ubuntu 7.10) which is connected to a Windows
network. There is a Windows 2000 PC which acts as print server. Two
printers are attachted: Epson and HP. TCP/IP service is active. From
the Linux box I can print to the Epson printer without any problem.
But this printer is normally not used and not present, I use the HP
printer as default. And to this printer I can't print. The job ends
up in the proper queue, the printer initializes but that's all,
nothing gets printed. I have to reset the print server to remove the
job, I can't delete it. Tried different Linux (Fedora), tried
different lpd services, re-installed printer drivers, checked
firewall, all to no avail. The printer is HP Deskjet 3650. All
Windows machines print fine to this printer.

Any ideas?

Thank in advance for your help and suggestions.

With kind regards,
Fokke Nauta



Hi guys,

I got it working.

I created a new queue on the Windows box to the same printer. The
existing queue, which is shared, links to this printer as well.
Bi-directional on the new queue disabled. Then I created a new
LPR-port, using the IP address of the Windows box and the queue name
of the queue I just made. Bi-directional disabled as well. I also
disabled spooling on this new LPR port. I can now print to this
printer using LPD/LPR, although it takes a few minutes before the
printer gives any response. At least it works.

Thanks for all your help and your input.

With regards,
Fokke

Great news indeed. Be aware at least on my system when CUPS is updated
I have to recreate the printers on the Linux box.

Good to know. But I don't have printers attached directly to my Linux
box. The only printers I have are connected to the Windows box.

Fokke

Yes I know and that's why it matters. Just know that updates to CUPS may
require you to reestablish the networked printers. The printers will
still be defined but no prints go to the Win2000, on the Linux box delete
and add the network printers again, should you have that problem.
Fokke Nauta...
Posted: Wed Aug 27, 2008 2:02 am
Guest
"noi ance" <noi at (no spam) siam.com> wrote in message
news:8I_sk.11548$vn7.353 at (no spam) flpi147.ffdc.sbc.com...
Quote:
On Mon, 25 Aug 2008 21:45:27 +0200, Fokke Nauta typed this message:

"noi ance" <noi at (no spam) siam.com> wrote in message
news:x3Csk.20687$uE5.4521 at (no spam) flpi144.ffdc.sbc.com...
On Mon, 25 Aug 2008 15:02:42 +0200, Fokke Nauta typed this message:

Fokke Nauta wrote:
Hi all,

Anyone seen this problem before and knows the solution?

I have a Linux Box (Ubuntu 7.10) which is connected to a Windows
network. There is a Windows 2000 PC which acts as print server. Two
printers are attachted: Epson and HP. TCP/IP service is active. From
the Linux box I can print to the Epson printer without any problem.
But this printer is normally not used and not present, I use the HP
printer as default. And to this printer I can't print. The job ends
up in the proper queue, the printer initializes but that's all,
nothing gets printed. I have to reset the print server to remove the
job, I can't delete it. Tried different Linux (Fedora), tried
different lpd services, re-installed printer drivers, checked
firewall, all to no avail. The printer is HP Deskjet 3650. All
Windows machines print fine to this printer.

Any ideas?

Thank in advance for your help and suggestions.

With kind regards,
Fokke Nauta



Hi guys,

I got it working.

I created a new queue on the Windows box to the same printer. The
existing queue, which is shared, links to this printer as well.
Bi-directional on the new queue disabled. Then I created a new
LPR-port, using the IP address of the Windows box and the queue name
of the queue I just made. Bi-directional disabled as well. I also
disabled spooling on this new LPR port. I can now print to this
printer using LPD/LPR, although it takes a few minutes before the
printer gives any response. At least it works.

Thanks for all your help and your input.

With regards,
Fokke

Great news indeed. Be aware at least on my system when CUPS is updated
I have to recreate the printers on the Linux box.

Good to know. But I don't have printers attached directly to my Linux
box. The only printers I have are connected to the Windows box.

Fokke

Yes I know and that's why it matters. Just know that updates to CUPS may
require you to reestablish the networked printers. The printers will
still be defined but no prints go to the Win2000, on the Linux box delete
and add the network printers again, should you have that problem.


OK, that's clear. I will certainly keep this in mind.
Thanks!

Fokke
 
Page 2 of 2    Goto page Previous  1, 2   All times are GMT - 5 Hours
The time now is Fri Dec 05, 2008 3:46 am