Re: USB printer problem [SOLVED]

2009-01-06 Thread Mario Lobo
On Tuesday 06 January 2009 10:57:27 you wrote:
> Your PPD is probably wrong ...
>
> Accorfing to:
> http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.ht
>ml
>
> Your printer is fully supported. But the right PPD seem to be: DJ3320
>
> Get into the cups web interface, remove your printer and set a new one with
> the right values.
>
> Use this as your uri: hp:/usb/Deskjet_D1500_series?serial=BR8AEFN0N0058V
> Use this as your PPD: DJ3320
>
> Let's how that goes ;)
>
> Please Mario, don't leave alone ! I just _want_ to see you got your printer
> up and runnig :)
> So do not hesitate in  getting bac to me if you run into a wen problem.
> We _will_ sort it out :)
>
> Worst case scenario, your gonna have to wait until FreeBSD port catches up
> with the lates hplip release
>
> Best regards

mario wrote:
>
> I replaced the ppd and still no go:
>
> Description: HP Deskjet D1500 series
> Location: Local Printer
> Printer Driver: HP DeskJet 3320 Foomatic/hpijs (recommended)
> Printer State: idle, accepting jobs, published.
> Device URI: hp:/usb/Deskjet_D1500_series?serial=BR8AEFN0N0058V
>
>
> All I get is:
>
> "/usr/local/libexec/cups/filter/foomatic-rip failed"
>
> and again nothing gets printed.

IT WORKED !!

I finalinally found what was wrong !.

the error i was getting was:

 Ghostscript 8.63: Can't start ijs server "hpijs"

then I found this bug report for ghostscript:

--
From-To:freebsd-ports-bugs->doceng
By: pav
When:   Wed Nov 12 16:19:39 UTC 2008
Why:Assign to maintainer

Reply via E-mail
From:   Peter Orlowski 
Date:   Tue, 18 Nov 2008 16:41:30 +0100

This seems to be related to the pthread lib. Setting

STDLIBS=-lm
SYNC=nosync

in work/ghostscript8.63/src/Makefile.in fixes the error.
--

That did it. The printer now works perfectly !

Thanks Gonzalo for your ever-lasting good will, patience and support !
God bless you !
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: USB printer problem

2009-01-04 Thread Mario Lobo
On Sunday 04 January 2009 14:18:06 Gonzalo Nemmi wrote:
> On Sunday 04 January 2009 2:21:34 pm Mario Lobo wrote:
> > Hi;
> >
> > I've been trying for 2 days with no success
> >
> > Here is the setup:
> >
> > FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200
> >
> > -printer detected
> >
> > kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1
> > kernel: ulpt0: using bi-directional mode
> >
> > /etc/devfs.conf
> > own ulpt0   root:cups
> > permulpt0   0660
> >
> > /etc/devfs.rules
> > [system=10]
> > add path lpt[0-9]* mode 0660 group cups
> > add path ulpt[0-9]* mode 0660 group cups
> > add path unlpt[0-9]* mode 0660 group cups
> >
> > /etc/rc.conf
> > devfs_system_ruleset="system"
> > cupsd_enable="YES"
> >
> > and nothing bellow works !
> >
> > # lptest 20 10 > /dev/ulpt0
> > # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs
> > -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=-
> > -sDeviceManufacturer="HP" -sDeviceModel="DJ3600" /tmp/foomatic-rip.ps
> >
> > > /dev/ulpt0
> >
> > # cat /etc/rc.conf > /dev/ulpt0
> >
> > The printer doesn't even move !
> >
> > Tried changing usb ports:
> >
> > Jan  4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected
> > Jan  4 12:59:38 kernel: ulpt0: detached
> > Jan  4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00,
> > addr 2, iclass 7/1
> > Jan  4 12:59:41 kernel: ulpt0: using bi-directional mode
> >
> > and nothing happens :(
> >
> >
> > I've been googling for 2 days, read all I could, tried all I read and
> > nothing happens.
> >
> > any suggestions?
> >
> > Thanks!
>
> Sure ...
> Acording to your mail, you seem to be using hplip as a back end ...
>
> [gonz...@inferna ~]% pkg_info -W /usr/local/bin/hpijs
> /usr/local/bin/hpijs was installed by package hplip-2.8.2_3
> [gonz...@inferna ~]%
>
> Its all there in hplip's installation notes... you need hpssd up and
> running and the printer should be attached to ugen ... hplip doesn't work
> with ulpt ..
>
> [gonz...@inferna ~]% pkg_info -xD hplip
> Information for hplip-2.8.2_3:
>
> Install notice:
> **
>
>  UPGRADE FROM 1.X NOTICE *
>
> NOTE: If you are upgrading from 1.x you will need to
> change your devfs ruleset as hpiod is now gone, so remove
> it from you rc.conf.  The printer communication now runs
> through cupsd.  You will need to make the devfs ruleset
> changes to allow cups to access the usb bus and ugen
> devices so that it can enumerate the printers.  You will
> also need to update your hplip.conf.  See the instructions
> below.
>
>  UPGRADE FROM 1.X NOTICE *
>
> Add the following to your rc.conf:
>
> hpssd_enable="YES"
>
> So all you have to do if you have a custom ruleset setup
> is add the following to that ruleset in devfs.rules:
>
> add path 'usb*' group cups
> add path 'usb*' mode 0660
> add path 'ugen*' group cups
> add path 'ugen*' mode 0660
>
> If you have never setup devfs.rules please read the
> manpage and see:
> http://am-productions.biz/docs/devfs.rules.php
>
> The printer MUST attach as a ugen(4) device.  This means
> that you must NOT have "device ulpt" in your kernel and
> ulpt must NOT be loaded as a kernel module.
>
> If you are seeing device connection errors restart the
> printing chain with the following command.  NOTE: It MUST
> be restarted in the stated order.
> %%PREFIX%%/etc/rc.d/hpssd restart && \
> %%PREFIX%%/etc/rc.d/cupsd restart
>
> If upgrading from a version < 2.7.9 copy the new
> hplip.conf.sample config.
> cp %%PREFIX%%/etc/hp/hplip.conf.sample \
>%%PREFIX%%/etc/hp/hplip.conf
>
> If you are still having problems check:
> http://am-productions.biz/docs/hplip.php
> If you are still having problems send the relevant part
> of your /var/log/messages, console output from the hp-*
> utility that you are trying to run, and your rc.conf +
> devfs.rules files and the output of "ls -l /dev" to the
> maintainer.
> **
> [gonz...@inferna ~]%
>
> I've written a small guide on how to set up a printer using cups and hplip
> in f reebsd 7.0 rel, but it is witten in spanish .. anyway ... i still
> think it might help you out .. you can find it in here:
> http://www.penguinpower.com.ar/foro/viewtopic.php?t=3019
>
> Good luck!

Hi:

No success. I waited hours for hplip to compile/install and nothing :(

here are some outputs:

==
[~]>usbdevs
addr 1: OHCI root hub, SiS
addr 1: OHCI root hub, SiS
 addr 2: Deskjet D1500 series, HP

[~]>dmesg

snip..
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ugen0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2
Timecounter "TSC" frequency 946495443 Hz quality 800
Timecounters tick every 1.000 msec
snip..

[~]>hp-info

HP Linux Imaging and Printi

Re: USB printer problem

2009-01-04 Thread Mario Lobo
On Sunday 04 January 2009 14:18:06 Gonzalo Nemmi wrote:
> On Sunday 04 January 2009 2:21:34 pm Mario Lobo wrote:
> > Hi;
> >
> > I've been trying for 2 days with no success
> >
> > Here is the setup:
> >
> > FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200
> >
> > -printer detected
> >
> > kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1
> > kernel: ulpt0: using bi-directional mode
> >
> > /etc/devfs.conf
> > own ulpt0   root:cups
> > permulpt0   0660
> >
> > /etc/devfs.rules
> > [system=10]
> > add path lpt[0-9]* mode 0660 group cups
> > add path ulpt[0-9]* mode 0660 group cups
> > add path unlpt[0-9]* mode 0660 group cups
> >
> > /etc/rc.conf
> > devfs_system_ruleset="system"
> > cupsd_enable="YES"
> >
> > and nothing bellow works !
> >
> > # lptest 20 10 > /dev/ulpt0
> > # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs
> > -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=-
> > -sDeviceManufacturer="HP" -sDeviceModel="DJ3600" /tmp/foomatic-rip.ps
> >
> > > /dev/ulpt0
> >
> > # cat /etc/rc.conf > /dev/ulpt0
> >
> > The printer doesn't even move !
> >
> > Tried changing usb ports:
> >
> > Jan  4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected
> > Jan  4 12:59:38 kernel: ulpt0: detached
> > Jan  4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00,
> > addr 2, iclass 7/1
> > Jan  4 12:59:41 kernel: ulpt0: using bi-directional mode
> >
> > and nothing happens :(
> >
> >
> > I've been googling for 2 days, read all I could, tried all I read and
> > nothing happens.
> >
> > any suggestions?
> >
> > Thanks!
>
> Sure ...
> Acording to your mail, you seem to be using hplip as a back end ...
>
> [gonz...@inferna ~]% pkg_info -W /usr/local/bin/hpijs
> /usr/local/bin/hpijs was installed by package hplip-2.8.2_3
> [gonz...@inferna ~]%
>
> Its all there in hplip's installation notes... you need hpssd up and
> running and the printer should be attached to ugen ... hplip doesn't work
> with ulpt ..
>
> [gonz...@inferna ~]% pkg_info -xD hplip
> Information for hplip-2.8.2_3:
>
> Install notice:
> **
>
>  UPGRADE FROM 1.X NOTICE *
>
> NOTE: If you are upgrading from 1.x you will need to
> change your devfs ruleset as hpiod is now gone, so remove
> it from you rc.conf.  The printer communication now runs
> through cupsd.  You will need to make the devfs ruleset
> changes to allow cups to access the usb bus and ugen
> devices so that it can enumerate the printers.  You will
> also need to update your hplip.conf.  See the instructions
> below.
>
>  UPGRADE FROM 1.X NOTICE *
>
> Add the following to your rc.conf:
>
> hpssd_enable="YES"
>
> So all you have to do if you have a custom ruleset setup
> is add the following to that ruleset in devfs.rules:
>
> add path 'usb*' group cups
> add path 'usb*' mode 0660
> add path 'ugen*' group cups
> add path 'ugen*' mode 0660
>
> If you have never setup devfs.rules please read the
> manpage and see:
> http://am-productions.biz/docs/devfs.rules.php
>
> The printer MUST attach as a ugen(4) device.  This means
> that you must NOT have "device ulpt" in your kernel and
> ulpt must NOT be loaded as a kernel module.
>
> If you are seeing device connection errors restart the
> printing chain with the following command.  NOTE: It MUST
> be restarted in the stated order.
> %%PREFIX%%/etc/rc.d/hpssd restart && \
> %%PREFIX%%/etc/rc.d/cupsd restart
>
> If upgrading from a version < 2.7.9 copy the new
> hplip.conf.sample config.
> cp %%PREFIX%%/etc/hp/hplip.conf.sample \
>%%PREFIX%%/etc/hp/hplip.conf
>
> If you are still having problems check:
> http://am-productions.biz/docs/hplip.php
> If you are still having problems send the relevant part
> of your /var/log/messages, console output from the hp-*
> utility that you are trying to run, and your rc.conf +
> devfs.rules files and the output of "ls -l /dev" to the
> maintainer.
> **
> [gonz...@inferna ~]%
>
> I've written a small guide on how to set up a printer using cups and hplip
> in f reebsd 7.0 rel, but it is witten in spanish .. anyway ... i still
> think it might help you out .. you can find it in here:
> http://www.penguinpower.com.ar/foro/viewtopic.php?t=3019
>
> Good luck!

Thanks Gonzalo !

I will try your suggestion and let you know if I succeed.

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: USB printer problem

2009-01-04 Thread Gonzalo Nemmi
On Sunday 04 January 2009 2:21:34 pm Mario Lobo wrote:
> Hi;
>
> I've been trying for 2 days with no success
>
> Here is the setup:
>
> FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200
>
> -printer detected
>
> kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1
> kernel: ulpt0: using bi-directional mode
>
> /etc/devfs.conf
> own ulpt0   root:cups
> permulpt0   0660
>
> /etc/devfs.rules
> [system=10]
> add path lpt[0-9]* mode 0660 group cups
> add path ulpt[0-9]* mode 0660 group cups
> add path unlpt[0-9]* mode 0660 group cups
>
> /etc/rc.conf
> devfs_system_ruleset="system"
> cupsd_enable="YES"
>
> and nothing bellow works !
>
> # lptest 20 10 > /dev/ulpt0
> # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs
> -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=-
> -sDeviceManufacturer="HP" -sDeviceModel="DJ3600" /tmp/foomatic-rip.ps
>
> > /dev/ulpt0
>
> # cat /etc/rc.conf > /dev/ulpt0
>
> The printer doesn't even move !
>
> Tried changing usb ports:
>
> Jan  4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected
> Jan  4 12:59:38 kernel: ulpt0: detached
> Jan  4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr
> 2, iclass 7/1
> Jan  4 12:59:41 kernel: ulpt0: using bi-directional mode
>
> and nothing happens :(
>
>
> I've been googling for 2 days, read all I could, tried all I read and
> nothing happens.
>
> any suggestions?
>
> Thanks!

Sure ...
Acording to your mail, you seem to be using hplip as a back end ... 

[gonz...@inferna ~]% pkg_info -W /usr/local/bin/hpijs
/usr/local/bin/hpijs was installed by package hplip-2.8.2_3
[gonz...@inferna ~]%

Its all there in hplip's installation notes... you need hpssd up and running 
and the printer should be attached to ugen ... hplip doesn't work with 
ulpt ..

[gonz...@inferna ~]% pkg_info -xD hplip
Information for hplip-2.8.2_3:

Install notice:
**

 UPGRADE FROM 1.X NOTICE *

NOTE: If you are upgrading from 1.x you will need to
change your devfs ruleset as hpiod is now gone, so remove
it from you rc.conf.  The printer communication now runs
through cupsd.  You will need to make the devfs ruleset
changes to allow cups to access the usb bus and ugen
devices so that it can enumerate the printers.  You will
also need to update your hplip.conf.  See the instructions
below.

 UPGRADE FROM 1.X NOTICE *

Add the following to your rc.conf:

hpssd_enable="YES"

So all you have to do if you have a custom ruleset setup
is add the following to that ruleset in devfs.rules:

add path 'usb*' group cups
add path 'usb*' mode 0660
add path 'ugen*' group cups
add path 'ugen*' mode 0660

If you have never setup devfs.rules please read the
manpage and see:
http://am-productions.biz/docs/devfs.rules.php

The printer MUST attach as a ugen(4) device.  This means
that you must NOT have "device ulpt" in your kernel and
ulpt must NOT be loaded as a kernel module.

If you are seeing device connection errors restart the
printing chain with the following command.  NOTE: It MUST
be restarted in the stated order.
%%PREFIX%%/etc/rc.d/hpssd restart && \
%%PREFIX%%/etc/rc.d/cupsd restart

If upgrading from a version < 2.7.9 copy the new
hplip.conf.sample config.
cp %%PREFIX%%/etc/hp/hplip.conf.sample \
   %%PREFIX%%/etc/hp/hplip.conf

If you are still having problems check:
http://am-productions.biz/docs/hplip.php
If you are still having problems send the relevant part
of your /var/log/messages, console output from the hp-*
utility that you are trying to run, and your rc.conf +
devfs.rules files and the output of "ls -l /dev" to the
maintainer.
**
[gonz...@inferna ~]%

I've written a small guide on how to set up a printer using cups and hplip in   
   
f reebsd 7.0 rel, but it is witten in spanish .. anyway ... i still think it 
might help you out .. you can find it in here: 
http://www.penguinpower.com.ar/foro/viewtopic.php?t=3019

Good luck!
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: USB Printer Problem

2002-11-04 Thread nyingelay
On Monday 28 October 2002 04:22 am, Cliff Sarginson wrote:
> On Mon, Oct 28, 2002 at 01:44:54AM -0800, nyingelay wrote:
> > ***
> > Printer:Epson Stylus C40UX (usb)
> > OS: FreeBSD 4.7-RELEASE
> > ***
> > It is the only printer attached to my computer via usb.
> >
> > When I tried to "lpr filename", the printer responded to it for awhile by
> > moving its cartridge holder, but nothing got actually printed.  That was
> > after I rebooted the PC.  For the second time when I tried to "lpr
> > filename", there were no responses from the printer at all.  After each
> > reboots, the printer acknowledges the commands for once only, and just
> > sits there idle.
>
> I had *exactly* the same problem, but with an Epson 740U. So I tried
> printing under Windows and it would only print in black and only legibly
> at the highest quality .. I cleaned the heads etc, and the status
> monitor said there was plenty of ink. So, more out of a guess than
> anything else I replaced the ink cartridges -- and lo and behold it
> worked just fine on all O/S'es. What that implies I don't know, although
> obviously the colour cartridge was blocked beyond repair. I don't use
> the printer much, so... maybe the cheapo cartridges I use had got fed
> up. You only have to replace the catridges twice with real Epson ones
> and it is about the same cost as a new printer (here in Holland anyway !)
>
> Did it ever work under other releases ? The fact that it is recognised
> means it is in the file of signatures for USB devices, that does not
> always mean it will work.
>
> I am sending this, not saying this is your problem, but the symptoms are
> so similar I thought I would pass it on.

Thanks for the reply.  I've already tested with Windows, and the printer is 
just fine.  It's only happenning on the BSD.  Any more ideas please?...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: USB Printer Problem

2002-10-28 Thread Cliff Sarginson
On Mon, Oct 28, 2002 at 01:44:54AM -0800, nyingelay wrote:
> ***
> Printer:  Epson Stylus C40UX (usb)
> OS:   FreeBSD 4.7-RELEASE
> ***
> It is the only printer attached to my computer via usb.
> 
> When I tried to "lpr filename", the printer responded to it for awhile by 
> moving its cartridge holder, but nothing got actually printed.  That was 
> after I rebooted the PC.  For the second time when I tried to "lpr filename", 
> there were no responses from the printer at all.  After each reboots, the 
> printer acknowledges the commands for once only, and just sits there idle.
> 
I had *exactly* the same problem, but with an Epson 740U. So I tried
printing under Windows and it would only print in black and only legibly
at the highest quality .. I cleaned the heads etc, and the status
monitor said there was plenty of ink. So, more out of a guess than
anything else I replaced the ink cartridges -- and lo and behold it
worked just fine on all O/S'es. What that implies I don't know, although
obviously the colour cartridge was blocked beyond repair. I don't use
the printer much, so... maybe the cheapo cartridges I use had got fed
up. You only have to replace the catridges twice with real Epson ones
and it is about the same cost as a new printer (here in Holland anyway !)

Did it ever work under other releases ? The fact that it is recognised
means it is in the file of signatures for USB devices, that does not
always mean it will work.

I am sending this, not saying this is your problem, but the symptoms are
so similar I thought I would pass it on.
 
-- 
Regards
   Cliff Sarginson 
   The Netherlands

   Email: [EMAIL PROTECTED]
   Tel  : +31 (0)10 4764595

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message