Simplest way to print to a HP USB Printer without HPLIP

2011-01-26 Thread Bahman Kahinpour
Hello,
How can I print to a HP printer without installing HPLIP? I know the
exact filter needed to print to the printer (foo2zjs according to
OpenPrinting.org) If it were PARALLEL or SERIAL I could use the
handbook but handbook doesn't have any info. about printing to a USB
printer.
Thanks for help
___
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: Simplest way to print to a HP USB Printer without HPLIP

2011-01-26 Thread Warren Block

On Wed, 26 Jan 2011, Bahman Kahinpour wrote:


How can I print to a HP printer without installing HPLIP? I know the
exact filter needed to print to the printer (foo2zjs according to
OpenPrinting.org) If it were PARALLEL or SERIAL I could use the
handbook but handbook doesn't have any info. about printing to a USB
printer.


The only difference is the device, using /dev/ulpt0 or /dev/unlpt0.  My 
lpd Printing With FreeBSD demonstrates:

http://www.wonkity.com/~wblock/docs/html/lpdprinting.html

But a foo2zjs printer may require a firmware download before it is even 
detected as a printer, and then foo2zjs probably requires CUPS.  There 
are some threads on forums.freebsd.org that may help.

___
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: cups-1.4.2 usb printer not recognized [solved]

2009-12-22 Thread Peter Ulrich Kruppa
Am Freitag, den 18.12.2009, 04:41 +0100 schrieb Peter Ulrich Kruppa:
 Am Dienstag, den 15.12.2009, 07:28 -0500 schrieb Lowell Gilbert:
  Peter Ulrich Kruppa ulr...@pukruppa.net writes:
  
   since my update to cups-1.4.2 I can't print anymore :-(
  
   I have got a HP Deskjet 990 Cxi attached to an USB port.
   My system is a FreeBSD 8.0 -STABLE amd64.

   I can cat some words to /dev/ulpt0 but that's about all.
  
   When I access http://localhost:631 no local printer will show up.
  
   Any ideas?
  
  I'm still not on 8, but I understand that ulpt is no longer appropriate
  with the new USB stack and libusb.  Remove ulpt from the kernel and I
  think you'll find CUPS detects the printer properly.
 Hm,...yes after some deinstalling/reinstalling and kernel building 
 now cups will find this:
   hp:/usb/Deskjet_990C?serial=ES0731D00XLG
 But when I try to print the test page I get this error message:
   /usr/local/libexec/cups/backend/hp failed
 
 (I am running hplip-3.9.8 backend.)
For the records:
with latest portstree - some patches have been commited during the last
days - and a
# portupgrade -arf
which took some time, print/cups and print/hplip now will recognize my
USB-printer correctly. ulpt doesn't have to be removed from the kernel,
I tested that. 

Of course permissions for the ugen device have to be set so that cups
can access it.

Thanks to everyone who repaired the ports!

Uli.
 
 Any more ideas?
 
 Thanks
 
 Uli.
 
 ___
 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

___
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: cups-1.4.2 usb printer not recognized

2009-12-17 Thread Peter Ulrich Kruppa
Am Dienstag, den 15.12.2009, 07:28 -0500 schrieb Lowell Gilbert:
 Peter Ulrich Kruppa ulr...@pukruppa.net writes:
 
  since my update to cups-1.4.2 I can't print anymore :-(
 
  I have got a HP Deskjet 990 Cxi attached to an USB port.
  My system is a FreeBSD 8.0 -STABLE amd64.
   
  I can cat some words to /dev/ulpt0 but that's about all.
 
  When I access http://localhost:631 no local printer will show up.
 
  Any ideas?
 
 I'm still not on 8, but I understand that ulpt is no longer appropriate
 with the new USB stack and libusb.  Remove ulpt from the kernel and I
 think you'll find CUPS detects the printer properly.
Hm,...yes after some deinstalling/reinstalling and kernel building 
now cups will find this:
hp:/usb/Deskjet_990C?serial=ES0731D00XLG
But when I try to print the test page I get this error message:
/usr/local/libexec/cups/backend/hp failed

(I am running hplip-3.9.8 backend.)

Any more ideas?

Thanks

Uli.

___
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


cups-1.4.2 usb printer not recognized

2009-12-13 Thread Peter Ulrich Kruppa
Hi,

since my update to cups-1.4.2 I can't print anymore :-(

I have got a HP Deskjet 990 Cxi attached to an USB port.
My system is a FreeBSD 8.0 -STABLE amd64.
 
I can cat some words to /dev/ulpt0 but that's about all.

When I access http://localhost:631 no local printer will show up.

Any ideas?

Thanks

Uli.  
___
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 [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 pet...@itp.physik.tu-berlin.de
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


USB printer problem

2009-01-04 Thread Mario Lobo
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!
-- 
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

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: Generic ISA VGA 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 Printing System (ver. 2.8.2)
Device Information Utility ver. 3.4

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you 

Re: USB / printer woes

2008-04-25 Thread Roland Smith
On Fri, Apr 25, 2008 at 12:22:02AM -0500, David Reedy Jr wrote:
 Small home network. Bottom line, trying to get a USB printer working 
 with cups. Right now I'm thinking it's more of a usb problem.
 
 USB related dmesg output...
 
 uhci0: VIA 83C572 USB controller port 0xd400-0xd41f at device 11.0 on 
 pci2
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: VIA 83C572 USB controller on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: VIA 83C572 USB controller port 0xd000-0xd01f at device 11.1 on 
 pci2
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: VIA 83C572 USB controller on uhci1
 usb1: USB revision 1.0
 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: VIA VT6202 USB 2.0 controller mem 0xf200-0xf2ff at 
 device 11.2 on pci2
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: VIA VT6202 USB 2.0 controller on ehci0
 usb2: USB revision 2.0
 uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
 uhub2: 4 ports with 4 removable, self powered
 
 when I turn on the printer I get...
 
 ulpt0: HP Deskjet 3840, class 0/0, rev 2.00/1.00, addr 2 on uhub1
 ulpt0: using bi-directional mode
 
 Depending on the physical port connected to, it's either uhub0 or uhub1, 
 connecting to usb0 / usb1 both of which are usb revision 1.0. All the 
 information I have says this printer is usb 2.0. Why is it not 
 attaching to ehci0/uhub2/usb2?

Hard to say. Some USB products react differently depending on how you
connect them. I've got a USB disk enclosure that connects as USB 1.1 if
I make the connection first and then switch it on. 

If I switch it on first and then make the connection it connects as USB
2.0.

Try it and see if it helps.
 
 echo something  /dev/ulpt0 results in silence.

I don't think this is even _supposed_ to work. It's been a while since
you could just cat a file to a printer port. :-)

 So does printing a 
 test page from the cups web interface. It's a black hole.

If you look at the openprinting.org page for this printer, you'll see
that this printer requires the hplip driver; 
http://openprinting.org/show_printer.cgi?recnum=HP-DeskJet_3840

You can install it from ports. It is in print/hplip.

 Can anybody tell me what's wrong? Would removing ohci/uhci from the 
 kernel force it to connect to the usb 2.0 side of things?

Make sure that the hplip driver in installed.

Make sure that you have the right permissions set for /dev/ulpt0. 
See /usr/ports/print/cups-base/pkg-message

Have a look at the cups logfiles in /var/log/cups.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpn60SRX2FA1.pgp
Description: PGP signature


USB / printer woes

2008-04-24 Thread David Reedy Jr
Small home network. Bottom line, trying to get a USB printer working 
with cups. Right now I'm thinking it's more of a usb problem.

USB related dmesg output...

uhci0: VIA 83C572 USB controller port 0xd400-0xd41f at device 11.0 on 
pci2
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd000-0xd01f at device 11.1 on 
pci2
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: VIA VT6202 USB 2.0 controller mem 0xf200-0xf2ff at 
device 11.2 on pci2
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: VIA VT6202 USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
uhub2: 4 ports with 4 removable, self powered

when I turn on the printer I get...

ulpt0: HP Deskjet 3840, class 0/0, rev 2.00/1.00, addr 2 on uhub1
ulpt0: using bi-directional mode

Depending on the physical port connected to, it's either uhub0 or uhub1, 
connecting to usb0 / usb1 both of which are usb revision 1.0. All the 
information I have says this printer is usb 2.0. Why is it not 
attaching to ehci0/uhub2/usb2?

echo something  /dev/ulpt0 results in silence. So does printing a 
test page from the cups web interface. It's a black hole.

Can anybody tell me what's wrong? Would removing ohci/uhci from the 
kernel force it to connect to the usb 2.0 side of things?

tia,

Dave.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB / printer woes

2008-04-24 Thread Wojciech Puchar

connecting to usb0 / usb1 both of which are usb revision 1.0. All the
information I have says this printer is usb 2.0. Why is it not


usb 2.0 doesn't mean USB high speed (480Mbps) but is common mistaken.
it's about protocol not speed.


attaching to ehci0/uhub2/usb2?

echo something  /dev/ulpt0 results in silence. So does printing a
test page from the cups web interface. It's a black hole.

Can anybody tell me what's wrong? Would removing ohci/uhci from the
kernel force it to connect to the usb 2.0 side of things?


it's not a problem here.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-24 Thread B H

Ted Mittelstädt wrote , at 2008-03-19 05:24:


CUPS  Ghostscript.  gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.


Can one use a ppd-file with lpd/lpr?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-24 Thread punosevac
 Ted Mittelstädt wrote , at 2008-03-19 05:24:

 CUPS  Ghostscript.  gs and all the foomatic stuff runs just fine
 with LPR/LPD, no CUPS needed.

 Can one use a ppd-file with lpd/lpr?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Of course. A sample printcap file

lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/etc/foomatic/HP-OfficeJet_4110-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/lpd/OfficeJet:\
:sh:

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-24 Thread Predrag Punosevac

Bernt Hansson wrote:

[EMAIL PROTECTED] skrev:

Ted Mittelstädt wrote , at 2008-03-19 05:24:


CUPS  Ghostscript.  gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.



Can one use a ppd-file with lpd/lpr?



Of course. A sample printcap file

lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/etc/foomatic/HP-OfficeJet_4110-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/lpd/OfficeJet:\
:sh:


I'm not using foomatic but the ppd-file from HP for LJ2100, 2200, 4050 
and 8000 is that still possible? They all speak postscript.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Well if you want to use your printers in PostScript mode you can just 
send row .ps file and it should print i.e.

you can remove the af and if lines from the printcap and should work.

Now what about other file types?

Lets have a second look for instance at LJ2100.

According to Linux Printing Database (which is the one
we also use in BSD world)

http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100

the recommended way of using for instance LJ2100 is via Printer Command 
Language 5 or 6
i.e. you need a driver. The recommended driver for LJ2100 is  pxlmono 
which is build in  Ghostscript.
If you use printer with Apsfilter you can just select the driver. Files 
of any type should be printed no question asked.


If you use PPD file and fomatic-rip filter as
in the above printcap example the jobs would be passed through pxlmono 
driver.
You may send to printer ps or non ps files (pdf, dvi, gif, html) and 
everything should work no question asked.



The printer will work eight other drivers.

Now the final question is probably that there is custom PPD vile for 
PostScript mode according to the same

Database.
I think that that one is only relevant for CUPS as PPD files are used 
via IPP (only spoken by CUPS) to fake real communication with the  
device and show things like printer status. I am not 100% sure but I 
think that PPD file is
what one would call CUPS-PPD file. If you send let say .pdf file that 
PPD file probably will tell CUPS how to
pass pdf file through GhostScript and create ps version and then print 
it. I am not sure if it going to be useful with
LPD. Of course in the case you do not have any filters in your printcap 
you can send only ps files to printer.


You can play on the following way. Remove the if (input filter line from 
your printcap file) and keep af but put
that particular custom PPD file which is used for PostScript mode. Try 
to send ps and pdf file. If it prints only ps
file that means that PPD  does nothing for LPD if it can print pdf files 
that means that is usable with LPD.


I personally use most printers in PCL mode just because I have lots of 
different mish-mash printer non of which speaks

full PostScript language.

Cheers,
Predrag
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: USB printer

2008-03-18 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chuck Robey
 Sent: Monday, March 17, 2008 10:44 AM
 To: Ted Mittelstaedt
 Cc: Predrag Punosevac; FreeBSD-Questions@freebsd.org; Gligor Lucian
 Subject: Re: USB printer


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Ted Mittelstaedt wrote:

  If your not a right-clicker or an i-book flipper than it's
  understandable you would wonder why there's so much attention
  paid to CUPS for FreeBSD since it does nothing for the usual
  command line junkie.

 There's where you state it hasn't any cli usages


No, you misread that.  It does nothing other than what you already get
with the base OS.  That is, -lpr/lpd, +cups = no advantage, ie: nothing.

  Sorry, I hate to differ, but even on my Mac OSX with dual PPC
  processors, I
  use lpr all the time, and I use ssh (hostname) lpr filetoprint from
  FreeBSD to my mac, it works just fine, and the Mac is running Cups.  It
  does too do stuff for command line people, it's just that no one
  installing
  cups on FreeBSD has done anything to get that definitely
 established part
  of Cups working right.
 
 
  However, that definitely established part of CUPS duplicates
  lpr/lpd functionality, so it's a big waste of time to bother with
  installing it under FreeBSD and ripping out the existing lpr/lpd
  if all your going to do is use the same /etc/printcap config file
  and same filters that you would use under lpr/lpd.

 And here you forget what you said, and claim the cups is just
 stupid to use
 under CLI

It IS stupid to use under CLI if all your going to be doing is
using the same /etc/printcap config file and same filters that
you would use under lpr/lpd.

Are you a specialist now in ripping out sound bites and ignoring
the rest of the paragraph?

 (no backoff from your FUD above, though).  Our own
 printer system
 DOES NOTHING whatever for remote administration, nor organization of
 drovers, nor ability to print different type sources, nor the added
 security options.


Eh?  ssh into the print server and you can administer all you want.

Organization of drivers?  What drivers?  Why do you need drivers?
Oh I forgot, your too busy dropping $800 in superfast hardware
to image pages for your $99 printer you got free with a coupon, and
prints about 25 pages before the ink cartridge is empty.

 
  The real usefulness of CUPS is under a GUI, particularly married
  with a GUI configuration interface.  For example you didn't
  install your printers under MacOS X by hand-editing the CUPS
  configuration files under MacOS X, you used the GUI configurator
  in System Properties, which interfaces with CUPS.  That's why
  Apple had to license CUPS after all, because they modified it
  under MacOS X to allow the Aqua GUI to interface to it, and they
  didn't want to release the mods they made to it into the wild.
 
  In fact, if you compile ghostscript and compile the foomatic
  software under MacOS X, you can download, compile and using
  the Aqua GUI configurator interface to CUPS, install
  a gigantic number of printer drivers under MacOS X.

 With little trouble, you can (and I did) integrate all the foomatic stuff
 under MacOS, without recompiling.

 
  In the FreeBSD world the usual command-line junkies do the Right
  Thing and go buy a Postscript printer.

 And that also is FUD.  A long time, I think about 20 years back, before I
 knew better, I did exactly that.  It turns out that postscript
 printers run
 about 10 times more slowly than using ghostscript on your system and only
 sending the native image to the printer

absolutely wrong.

Only if you have a really cheap, old Postscript interpreter such as like
the HP III with the add-in Postscript card, stacked against a 3Ghz PC
tied to a winprinter with USB2 will you see this.  Otherwise, you take
the more common elderly 500Mhz CPU Win98 system that's been retired to
a FreeBSD system and tie it to your winprinter and try imaging anything
complex on it, and the PC will take far longer to image it than going
Postscript to a decent printer like an HP5 (which are cheap as dirt
on the used market)

And this is just image printing - text is a whole different ballgame,
it's far faster going Postscript to the printer if your printing
multiple pages because your uploading the fonts and then following
with just a text stream, your not imaging page after page.

All of this of course sidesteps the discussion of what your
considering is a high-end Postscript printer and what your
printing with it and how much your printing.

, so using cups is both far, far
 more cheap

CUPS  Ghostscript.  gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.

 (postscript printers being uniformly more expensive)

Any decent workgroup laserjet will cost far less per-page than
an inkjet, even going color, these days.  Your talking false economy
here - sure you may buy a color inkjet for $99 vs a color laser
for $400 but print 500

RE: USB printer

2008-03-17 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chuck Robey
 Sent: Sunday, March 16, 2008 12:15 PM
 To: Ted Mittelstaedt
 Cc: Predrag Punosevac; FreeBSD-Questions@freebsd.org; Gligor Lucian
 Subject: Re: USB printer
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Ted Mittelstaedt wrote:
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Chuck Robey
  Sent: Thursday, March 13, 2008 9:24 AM
  To: Predrag Punosevac
  Cc: FreeBSD-Questions@freebsd.org; Gligor Lucian
  Subject: Re: USB printer
 
 
  Cups on FreeBSD is still woefully underdocumented, relying 
 100% on others
  sites, when the cups installation has been changed (somewhat) to 
  agree with
  hier(7).  I agree that needed to be done, and would have been 
 complaining
  if it hadn't,  but then there should have been some small 
 notes detailing
  how to install a local driver.  
  
  The problem here is that CUPS is really mostly useful if your
  using Gnome for your desktop, because there's a lot of GUI
  configuration software that is written for that desktop that
  makes CUPS configuration a snap.  (and installing foomatic
  drivers and the like)
  
  If your not a right-clicker or an i-book flipper than it's
  understandable you would wonder why there's so much attention
  paid to CUPS for FreeBSD since it does nothing for the usual
  command line junkie.
 
 Sorry, I hate to differ, but even on my Mac OSX with dual PPC 
 processors, I
 use lpr all the time, and I use ssh (hostname) lpr filetoprint from
 FreeBSD to my mac, it works just fine, and the Mac is running Cups.  It
 does too do stuff for command line people, it's just that no one 
 installing
 cups on FreeBSD has done anything to get that definitely established part
 of Cups working right.
 

However, that definitely established part of CUPS duplicates
lpr/lpd functionality, so it's a big waste of time to bother with
installing it under FreeBSD and ripping out the existing lpr/lpd
if all your going to do is use the same /etc/printcap config file
and same filters that you would use under lpr/lpd.

The real usefulness of CUPS is under a GUI, particularly married
with a GUI configuration interface.  For example you didn't
install your printers under MacOS X by hand-editing the CUPS
configuration files under MacOS X, you used the GUI configurator
in System Properties, which interfaces with CUPS.  That's why
Apple had to license CUPS after all, because they modified it
under MacOS X to allow the Aqua GUI to interface to it, and they
didn't want to release the mods they made to it into the wild.

In fact, if you compile ghostscript and compile the foomatic
software under MacOS X, you can download, compile and using
the Aqua GUI configurator interface to CUPS, install
a gigantic number of printer drivers under MacOS X.

In the FreeBSD world the usual command-line junkies do the Right
Thing and go buy a Postscript printer.  If you have one, all
of the need for these rediculous winprinter filters goes
away and then the only thing that CUPS really adds is the
ability to speak IPP - and I've yet to come across a hardware
printer server that spoke IPP that -didn't- speak LPD also.

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-17 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ted Mittelstaedt wrote:

 If your not a right-clicker or an i-book flipper than it's
 understandable you would wonder why there's so much attention
 paid to CUPS for FreeBSD since it does nothing for the usual
 command line junkie.

There's where you state it hasn't any cli usages

 Sorry, I hate to differ, but even on my Mac OSX with dual PPC 
 processors, I
 use lpr all the time, and I use ssh (hostname) lpr filetoprint from
 FreeBSD to my mac, it works just fine, and the Mac is running Cups.  It
 does too do stuff for command line people, it's just that no one 
 installing
 cups on FreeBSD has done anything to get that definitely established part
 of Cups working right.

 
 However, that definitely established part of CUPS duplicates
 lpr/lpd functionality, so it's a big waste of time to bother with
 installing it under FreeBSD and ripping out the existing lpr/lpd
 if all your going to do is use the same /etc/printcap config file
 and same filters that you would use under lpr/lpd.

And here you forget what you said, and claim the cups is just stupid to use
under CLI (no backoff from your FUD above, though).  Our own printer system
DOES NOTHING whatever for remote administration, nor organization of
drovers, nor ability to print different type sources, nor the added
security options.

 
 The real usefulness of CUPS is under a GUI, particularly married
 with a GUI configuration interface.  For example you didn't
 install your printers under MacOS X by hand-editing the CUPS
 configuration files under MacOS X, you used the GUI configurator
 in System Properties, which interfaces with CUPS.  That's why
 Apple had to license CUPS after all, because they modified it
 under MacOS X to allow the Aqua GUI to interface to it, and they
 didn't want to release the mods they made to it into the wild.
 
 In fact, if you compile ghostscript and compile the foomatic
 software under MacOS X, you can download, compile and using
 the Aqua GUI configurator interface to CUPS, install
 a gigantic number of printer drivers under MacOS X.

With little trouble, you can (and I did) integrate all the foomatic stuff
under MacOS, without recompiling.

 
 In the FreeBSD world the usual command-line junkies do the Right
 Thing and go buy a Postscript printer.

And that also is FUD.  A long time, I think about 20 years back, before I
knew better, I did exactly that.  It turns out that postscript printers run
about 10 times more slowly than using ghostscript on your system and only
sending the native image to the printer, so using cups is both far, far
more cheap (postscript printers being uniformly more expensive) and far,
far faster (postscript printers mostly being too slow for words, all
excepting the very high end ones).

  If you have one, all
 of the need for these rediculous winprinter filters goes
 away and then the only thing that CUPS really adds is the
 ability to speak IPP - and I've yet to come across a hardware
 printer server that spoke IPP that -didn't- speak LPD also.

Again wrong.  Usually, until lately, my printer of choice has been a HP
OfficeJet printer, which uses PCL5 for it's language,  You can only use IPP
if cups happens to be on both machines involved, but there are excellent,
mature things designed for FreeBSD, like apsfilter, which do all the
translation from the original format to postscript then back to whatever is
native, and handle all the spooling and multi-format printing.  The only
negative, really, in cups is that it asks you to use the lpr in
/usr/local/bin instead of /usr/bin. and that (under FreeBSD) it's
installation is execrebly documented and mis/under installed.  It and it
alone allows a nice REMOTE gui interface to administer with, but you sort
of forgot that.  The Foomatic project, a con of CUPS (one that clearly asks
you to install CUPS), with it's GREAT documentation of drivers and
production of ppd files, is by far the best unix effort to organize printer
drivers, that's flatly true.

Even the fine GUI admin isn't forced to be GUI, because they allow you to
use their CLI options also.  None of your arguments hold water.

The only thing wrong with CUPS is that under FreeBSD it's
mis/under-installed, and the rest of your points (I think I've competently
shown) are incorrect).  I don't recognize what bias seems to be fueling
your dislike of it, but I think it's undeniably true that you exhibit one.


 Ted

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3rv5z62J6PPcoOkRAjMkAJ91cJSOW/kXEQNlFt8Dcl1wT0wygwCgjXEG
ztU/iLsTZZnk5J7j3ULKHkY=
=CgsH
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: USB printer

2008-03-16 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chuck Robey
 Sent: Thursday, March 13, 2008 9:24 AM
 To: Predrag Punosevac
 Cc: FreeBSD-Questions@freebsd.org; Gligor Lucian
 Subject: Re: USB printer
 
 
 Cups on FreeBSD is still woefully underdocumented, relying 100% on others
 sites, when the cups installation has been changed (somewhat) to 
 agree with
 hier(7).  I agree that needed to be done, and would have been complaining
 if it hadn't,  but then there should have been some small notes detailing
 how to install a local driver.  

The problem here is that CUPS is really mostly useful if your
using Gnome for your desktop, because there's a lot of GUI
configuration software that is written for that desktop that
makes CUPS configuration a snap.  (and installing foomatic
drivers and the like)

If your not a right-clicker or an i-book flipper than it's
understandable you would wonder why there's so much attention
paid to CUPS for FreeBSD since it does nothing for the usual
command line junkie.

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-16 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ted Mittelstaedt wrote:
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chuck Robey
 Sent: Thursday, March 13, 2008 9:24 AM
 To: Predrag Punosevac
 Cc: FreeBSD-Questions@freebsd.org; Gligor Lucian
 Subject: Re: USB printer


 Cups on FreeBSD is still woefully underdocumented, relying 100% on others
 sites, when the cups installation has been changed (somewhat) to 
 agree with
 hier(7).  I agree that needed to be done, and would have been complaining
 if it hadn't,  but then there should have been some small notes detailing
 how to install a local driver.  
 
 The problem here is that CUPS is really mostly useful if your
 using Gnome for your desktop, because there's a lot of GUI
 configuration software that is written for that desktop that
 makes CUPS configuration a snap.  (and installing foomatic
 drivers and the like)
 
 If your not a right-clicker or an i-book flipper than it's
 understandable you would wonder why there's so much attention
 paid to CUPS for FreeBSD since it does nothing for the usual
 command line junkie.

Sorry, I hate to differ, but even on my Mac OSX with dual PPC processors, I
use lpr all the time, and I use ssh (hostname) lpr filetoprint from
FreeBSD to my mac, it works just fine, and the Mac is running Cups.  It
does too do stuff for command line people, it's just that no one installing
cups on FreeBSD has done anything to get that definitely established part
of Cups working right.

 
 Ted

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3X+/z62J6PPcoOkRAmSLAJ4xWyxjWzAnuUBOpgwjoVXZ2tvaPwCgmNN6
g9W18DTbpkvwvPaVqj6mNRo=
=PVXh
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-14 Thread Predrag Punosevac

Pollywog wrote:

On Wednesday 12 March 2008 19:37:47 Manolis Kiagias wrote:
  

Chuck Robey wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gligor Lucian wrote:
  
David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 


12:59:38PM -0700, Gligor Lucian wrote:
  

Does FreeBSD support a USB printer?


Yes.
  

You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS.  I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems.  Last one I tried was an Epson Stylus C84, but I've also tried
HP officejets, and I just can't get locally attached printers to work
with cups.  I can get them to work with things like apsfilter very well,
but either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.

Or, does anyone else have it working on FreeBSD?  Sure would like to hear
about it, but I've been trying for a long time now, with no success.

  

Thank you very much for your answer.
 All the best, Gligor Lucian.



-
Looking for last minute shopping deals?  Find them fast with Yahoo!
Search. ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


I have cups working on my system, printing on locally attached USB
printers. I have followed the instructions in dekstopBSD wiki:

http://desktopbsd.net/wiki/doku.php?id=doc:printing

(though I used ports and not packages)



Did you find it necessary to recompile the kernel with ulpt disabled?

I have a HP PSC2110 All-In-One 
To get HP PSC2110 just working you can use HPIJS driver and you do not 
need to recompile the kernel.
However if you want to use HPLIP to unlock full functionality (scanner 
and FAX, PC-copping) you will have to recompile the driver to
disable ulpt driver since it is unable to get the vendor name and 
product ID. That is well-documented.
You will probably also need to disable umass driver since it gets 
attached to printer before the ugen driver.
In all honestly that is not well-documented. You will also need to start 
HPLIP daemons before the CUPS daemon.

That is all well-documented.

#enable CUPS and related
lpd_enable=NO
hpiod_enable=YES #daemons for HPLIP HP printing
hpssd_enable=YES #daemons for HPLIP HP printing
cupsd_enable=YES

umess driver is needed for Floppy and Flash drives so you might want to 
load manually after the boot and

after you unlock your printer.
Cheers,
Predrag
that I can use in Linux (printing and 
scanning) but was unable to get working in FreeBSD.  I believe part of the 
solution is to disable ulpt and recompile the kernel, but I had trouble 
getting hplip to work.  FreeBSD does not have hpoj, which is what I use in 
Linux with this printer.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-13 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Predrag Punosevac wrote:
 Chuck Robey wrote:
 Gligor Lucian wrote:
  
 David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at
 12:59:38PM -0700, Gligor Lucian wrote:

 Does FreeBSD support a USB printer?
 
 Yes.
   
 
 You know, while there are printing utils that actually work on FreeBSD, I
 can't personally recommend CUPS.  I keep on trying to get it to work on
 FreeBSD efvery year or so, then I need to go over to one of my other
 systems.  Last one I tried was an Epson Stylus C84, but I've also
 tried HP
 officejets, and I just can't get locally attached printers to work with
 cups.  I can get them to work with things like apsfilter very well, but
 either someone is going to have to fix the Cups port (it builds, but
 nothing locally runs) or stop recommending it.
 
 Or, does anyone else have it working on FreeBSD?  Sure would like to hear
 about it, but I've been trying for a long time now, with no success.
 
   
 Please do not spread disinformation. Of course CUPS works on FreeBSD as
 well as thee other spooling systems
 PDQ, LPD, and LPRng.

Well, YOU might note that I _did_ say that others did work (I even gave an
example, apsfilter, that worked) and I specified that cups itself worked,
just that the job of installing drivers in cups for FreeBSD seemed
undocumented.  Someone since then found for me a wiki (non-FreeBSD- you
note) that gives more help, but it seems that no helkp is forthcoming from
FreeBSD itself.  I specified in the email that non-local printers, which
only use default ps drivers worked fine also, it was only when you tried to
install locally based printers, which  need local drivers, that you end up
in trouble.

If you're going to criticize, at least try to read the post first.

Cups on FreeBSD is still woefully underdocumented, relying 100% on others
sites, when the cups installation has been changed (somewhat) to agree with
hier(7).  I agree that needed to be done, and would have been complaining
if it hadn't,  but then there should have been some small notes detailing
how to install a local driver.  As a general rule in FreeBDS ports, there
is (on most ports that have more than 1 version) insufficient care given to
detailing the differences in ports, when there are more than one version to
choose from.  Example?  the cups and the cups-base port have the same
pkg-descr, so how is anyone to know what the difference is, and under whjat
circumstances should one port be chosen over another.

Don't answer that question, answer why no care is ever given to correct the
woeful state of most multi-option pkg-descr files.

 Cheers,
 Predrag
 
 
 
 
 Thank you very much for your answer.
  All the best, Gligor Lucian.


-
 Looking for last minute shopping deals?  Find them fast with Yahoo!
 Search.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH2WM1z62J6PPcoOkRAjQSAKCZ2BR4Z/+qZwydoNllRKZNCNtgxACeLMEU
KBp7od1fCaxhw4t9NohhX2c=
=pvtD
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-13 Thread Pollywog
On Wednesday 12 March 2008 19:37:47 Manolis Kiagias wrote:
 Chuck Robey wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Gligor Lucian wrote:
  David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 
12:59:38PM -0700, Gligor Lucian wrote:
  Does FreeBSD support a USB printer?
 
  Yes.
 
  You know, while there are printing utils that actually work on FreeBSD, I
  can't personally recommend CUPS.  I keep on trying to get it to work on
  FreeBSD efvery year or so, then I need to go over to one of my other
  systems.  Last one I tried was an Epson Stylus C84, but I've also tried
  HP officejets, and I just can't get locally attached printers to work
  with cups.  I can get them to work with things like apsfilter very well,
  but either someone is going to have to fix the Cups port (it builds, but
  nothing locally runs) or stop recommending it.
 
  Or, does anyone else have it working on FreeBSD?  Sure would like to hear
  about it, but I've been trying for a long time now, with no success.
 
  Thank you very much for your answer.
   All the best, Gligor Lucian.
 
 
 
  -
  Looking for last minute shopping deals?  Find them fast with Yahoo!
  Search. ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 I have cups working on my system, printing on locally attached USB
 printers. I have followed the instructions in dekstopBSD wiki:

 http://desktopbsd.net/wiki/doku.php?id=doc:printing

 (though I used ports and not packages)

Did you find it necessary to recompile the kernel with ulpt disabled?

I have a HP PSC2110 All-In-One that I can use in Linux (printing and 
scanning) but was unable to get working in FreeBSD.  I believe part of the 
solution is to disable ulpt and recompile the kernel, but I had trouble 
getting hplip to work.  FreeBSD does not have hpoj, which is what I use in 
Linux with this printer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-13 Thread Manolis Kiagias



Pollywog wrote:

On Wednesday 12 March 2008 19:37:47 Manolis Kiagias wrote:
  


I have cups working on my system, printing on locally attached USB
printers. I have followed the instructions in dekstopBSD wiki:

http://desktopbsd.net/wiki/doku.php?id=doc:printing

(though I used ports and not packages)



Did you find it necessary to recompile the kernel with ulpt disabled?

I have a HP PSC2110 All-In-One that I can use in Linux (printing and 
scanning) but was unable to get working in FreeBSD.  I believe part of the 
solution is to disable ulpt and recompile the kernel, but I had trouble 
getting hplip to work.  FreeBSD does not have hpoj, which is what I use in 
Linux with this printer.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  

No, I haven't touched ulpt support in the kernel.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-12 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gligor Lucian wrote:
 
 David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM 
 -0700, Gligor Lucian wrote:
 Does FreeBSD support a USB printer?
 
 Yes.
 

You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS.  I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems.  Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups.  I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.

Or, does anyone else have it working on FreeBSD?  Sure would like to hear
about it, but I've been trying for a long time now, with no success.

 Thank you very much for your answer.
  All the best, Gligor Lucian.
 
 

 -
 Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH2CuMz62J6PPcoOkRAunbAJ96TJd3UZsus+NxCwg8gEk5hnap1gCgn+7/
A8QJVMfDqgAY+4WIFXDD0w8=
=450A
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-12 Thread Kevin Downey
On Wed, Mar 12, 2008 at 12:14 PM, Chuck Robey [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1

  Gligor Lucian wrote:
  
   David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM 
 -0700, Gligor Lucian wrote:
   Does FreeBSD support a USB printer?
  
   Yes.
  

  You know, while there are printing utils that actually work on FreeBSD, I
  can't personally recommend CUPS.  I keep on trying to get it to work on
  FreeBSD efvery year or so, then I need to go over to one of my other
  systems.  Last one I tried was an Epson Stylus C84, but I've also tried HP
  officejets, and I just can't get locally attached printers to work with
  cups.  I can get them to work with things like apsfilter very well, but
  either someone is going to have to fix the Cups port (it builds, but
  nothing locally runs) or stop recommending it.

  Or, does anyone else have it working on FreeBSD?  Sure would like to hear
  about it, but I've been trying for a long time now, with no success.

   Thank you very much for your answer.
All the best, Gligor Lucian.
  
I have CUPS working on my laptop and desktop. I don't have a local
printer installed. I am using CUPS  to access printers shared from a
windows machine. Works fine, except this morning I noticed a pdf not
printing correctly but I believe that is Evince's fault.
-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
 Fisheye
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-12 Thread Manolis Kiagias



Chuck Robey wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gligor Lucian wrote:
  

David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, 
Gligor Lucian wrote:


Does FreeBSD support a USB printer?


Yes.
  


You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS.  I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems.  Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups.  I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.

Or, does anyone else have it working on FreeBSD?  Sure would like to hear
about it, but I've been trying for a long time now, with no success.

  

Thank you very much for your answer.
 All the best, Gligor Lucian.


   
-

Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I have cups working on my system, printing on locally attached USB printers.
I have followed the instructions in dekstopBSD wiki:

http://desktopbsd.net/wiki/doku.php?id=doc:printing

(though I used ports and not packages)

I still have some issues if I disconnect / reconnect the printer, the 
permissions are not set correctly (although devfs is running).
I might be missing some configuration step, but have not researched 
further yet.

Generally speaking, printing works.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-12 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Manolis Kiagias wrote:
 
 
 Chuck Robey wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Gligor Lucian wrote:
  
 David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at
 12:59:38PM -0700, Gligor Lucian wrote:

 Does FreeBSD support a USB printer?
 
 Yes.
   

 You know, while there are printing utils that actually work on FreeBSD, I
 can't personally recommend CUPS.  I keep on trying to get it to work on
 FreeBSD efvery year or so, then I need to go over to one of my other
 systems.  Last one I tried was an Epson Stylus C84, but I've also
 tried HP
 officejets, and I just can't get locally attached printers to work with
 cups.  I can get them to work with things like apsfilter very well, but
 either someone is going to have to fix the Cups port (it builds, but
 nothing locally runs) or stop recommending it.

 Or, does anyone else have it working on FreeBSD?  Sure would like to hear
 about it, but I've been trying for a long time now, with no success.

  
 Thank you very much for your answer.
  All the best, Gligor Lucian.


-
 Looking for last minute shopping deals?  Find them fast with Yahoo!
 Search.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 I have cups working on my system, printing on locally attached USB
 printers.
 I have followed the instructions in dekstopBSD wiki:
 
 http://desktopbsd.net/wiki/doku.php?id=doc:printing
 
 (though I used ports and not packages)
 
 I still have some issues if I disconnect / reconnect the printer, the
 permissions are not set correctly (although devfs is running).
 I might be missing some configuration step, but have not researched
 further yet.
 Generally speaking, printing works.
 
OK, well, maybe I'm wrong, I'll go take a look.  As to that other
respondent, the job of doing non-local printers needs much more trivial
drivers, so yeah, that always has worked.  I had looked about on Google,
followed a ton of differing instructions, and hadn't had it come near
working yet.  But, I will go take another look at this URL, yes.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH2DEnz62J6PPcoOkRAikGAJ9F/coCFoW64xeWaa8/hA5orR9dTwCaAryV
tWWpQg+S3Xwka5bgtSRcfnU=
=LxxN
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-12 Thread Predrag Punosevac

Chuck Robey wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gligor Lucian wrote:
  

David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, 
Gligor Lucian wrote:


Does FreeBSD support a USB printer?


Yes.
  


You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS.  I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems.  Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups.  I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.

Or, does anyone else have it working on FreeBSD?  Sure would like to hear
about it, but I've been trying for a long time now, with no success.

  
Please do not spread disinformation. Of course CUPS works on FreeBSD as 
well as thee other spooling systems

PDQ, LPD, and LPRng.
Cheers,
Predrag





Thank you very much for your answer.
 All the best, Gligor Lucian.


   
-

Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH2CuMz62J6PPcoOkRAunbAJ96TJd3UZsus+NxCwg8gEk5hnap1gCgn+7/
A8QJVMfDqgAY+4WIFXDD0w8=
=450A
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-12 Thread Gerard
On Wed, 12 Mar 2008 15:14:20 -0400
Chuck Robey [EMAIL PROTECTED] wrote:

 You know, while there are printing utils that actually work on
 FreeBSD, I can't personally recommend CUPS.  I keep on trying to get
 it to work on FreeBSD efvery year or so, then I need to go over to
 one of my other systems.  Last one I tried was an Epson Stylus C84,
 but I've also tried HP officejets, and I just can't get locally
 attached printers to work with cups.  I can get them to work with
 things like apsfilter very well, but either someone is going to have
 to fix the Cups port (it builds, but nothing locally runs) or stop
 recommending it.
 
 Or, does anyone else have it working on FreeBSD?  Sure would like to
 hear about it, but I've been trying for a long time now, with no
 success.

I have HPLIP working with CUPs perfectly. I even got it to FAX. The
printer is accessed via a wireless network too.

-- 
Gerard
[EMAIL PROTECTED]

A pipe gives a wise man time to think
and a fool something to stick in his mouth.


signature.asc
Description: PGP signature


Re: USB printer

2008-03-12 Thread Robert Marella
On Wed, 12 Mar 2008 15:14:20 -0400
Chuck Robey [EMAIL PROTECTED] wrote:

 
 You know, while there are printing utils that actually work on
 FreeBSD, I can't personally recommend CUPS.  I keep on trying to get
 it to work on FreeBSD efvery year or so, then I need to go over to
 one of my other systems.  Last one I tried was an Epson Stylus C84,
 but I've also tried HP officejets, and I just can't get locally
 attached printers to work with cups.  I can get them to work with
 things like apsfilter very well, but either someone is going to have
 to fix the Cups port (it builds, but nothing locally runs) or stop
 recommending it.
 
 Or, does anyone else have it working on FreeBSD?  Sure would like to
 hear about it, but I've been trying for a long time now, with no
 success.
 
FWIW I had cups working (2 USB and 1 parellel)  forever on three
separate FreeBSD systems until last fall sometime. It had stopped
working on each of them after an upgrade that I have long since forgot.
After going through all of the removals and reinstalls, I compared what
was installed on these systems with a Linux box that cups worked on.

I found that I needed the /print/foomatic-db
and  /print/foomatic-de-engine ports. After I installed these two ports
cups is working fine on my FreeBSD systems. 

HTH
Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB printer

2008-03-10 Thread Gligor Lucian
Does FreeBSD support a USB printer?


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-10 Thread Paul A. Procacci

Gligor Lucian wrote:

Does FreeBSD support a USB printer?


   
-

Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  


Yes, usb printers are attached as normal in FreeBSD.  It's up to you to 
provide the necessary utilities for speaking to it.  CUPS for instance.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-10 Thread David Duong

Gligor Lucian wrote:

Does FreeBSD support a USB printer?


   
-

Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Should be able to: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-10 Thread David Kelly
On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote:
 Does FreeBSD support a USB printer?

Yes.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer

2008-03-10 Thread Gligor Lucian


David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM 
-0700, Gligor Lucian wrote:
 Does FreeBSD support a USB printer?

Yes.

Thank you very much for your answer.
 All the best, Gligor Lucian.


   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring a HP Laserjet 1018 USB printer on KDE

2008-02-29 Thread Bob Falanga
Unfortunately for me neither http://localhost:631 or http://locaalhost:631/?
worked for me. I get error message Firefox can't establish a connection to
the server at localhost:631. for both.

On Thu, Feb 28, 2008 at 3:32 PM, Paul Schmehl [EMAIL PROTECTED] wrote:

 --On Thursday, February 28, 2008 11:24:04 -0700 Predrag Punosevac
 [EMAIL PROTECTED] wrote:

  User Robert Falanga wrote:
  First  am new using freebsd and would like help getting the printer
  configured. After installing and staarting CUPS. When I go to SETTINGS
 
  Peripherals  printers I get:
 
  That is not the way to configure printer on vanilla  FreeBSD. If you
 want to
  use something like that
  install PC-BSD or DesktopBSD.
 

 Well, I beg to differ with you.  That's one way to do it.  Yours is
 another.

  To install the printer  do the  following
  1. Alter permission on the device nodes  chmod  0660  /dev/ulpt0
 
  2. chgrp cupsd /dev/ulpt0
 
  3. Add yourself to cupsd group by editing file /etc/groups
 

 I didn't have to do any of this.

  4. Move the commands of the native lpd printing system so that you can
 use
  CUPS commands
  mv /usr/bin/lp  /usr/bin/lp.bak
  mv /usr/bin/lpr /usr/bin/lpr.bak
  mv /usr/bin/lpq /usr/bin/lpq.bak
  mv /usr/bin/lprm  /usr/bin/lprm.bak
 

 This is good advice, *if* the cups install has not already overwritten the
 base
 for you.
 .if defined(CUPS_OVERWRITE_BASE)
if test -e /usr/bin/lp; then ${CHMOD} -h 0 /usr/bin/lp; fi
if test -e /usr/bin/lpq; then ${CHMOD} -h 0 /usr/bin/lpq; fi
if test -e /usr/bin/lpr; then ${CHMOD} -h 0 /usr/bin/lpr; fi
if test -e /usr/bin/lprm; then ${CHMOD} -h 0 /usr/bin/lprm; fi
if test -e /usr/sbin/lpc; then ${CHMOD} -h 0 /usr/sbin/lpc; fi
 .endif

 # ls -lsa /usr/bin/lp*
  4 -r--r--r--  1 root  wheel2590 Feb 21 12:59 /usr/bin/lp
 26 -r-Sr-Sr--  1 root  daemon  25876 Feb 21 12:59 /usr/bin/lpq
 30 -r-Sr-Sr--  1 root  daemon  29368 Feb 21 12:59 /usr/bin/lpr
 26 -r-Sr-Sr--  1 root  daemon  24600 Feb 21 12:59 /usr/bin/lprm

 
  4. Restart cupsd for instance by adding cupsd_enable=YES into your
  /etc/rc.conf at the same time
  disable lpd daemon by adding lpd_enable=NO
 

 Also good advice.

  5. Reboot
 
  6. Point the web-browser to http://localhost:631 to add the printer
 

 Unfortunately, this didn't work for me.  I got the source code for the
 page
 displayed in my browser.  If I added a ? to the end (
 http://localhost:631/?),
 then the page was displayed.

  NOTE:
 
  1. Your printer is using foo2zjs reversed engineered driver which you
 must
  compile from ports. People
  have reported mixed results with  the driver! You have to compile the
 driver
  before you start adding the printer.
 

 Seems to me, for HP printers, the hpijs driver is the right choice.
  print/hpijs

  2. You might need to disable your firewall or at least port 631 which is
 used
  by Internet Printing Protocol (IPP)
  which is in turned used by CUPS.
 

 Only if you want to be a print server.  If you're just printing from a
 workstation, you don't need to worry about incoming traffic on 631.

  Unable to retrieve the printer list. Error message received from
 manager:
  Connection to CUPS server failed. Check that the CUPS server is
 correctly
  installed and running. Error: localhost: read failed (14).

 This sounds like he didn't put cupsd_enable=YES in /etc/rc.conf.

  If I use LPR/LPRng things seem to be going well until I get to the
 screen
  asking for URI:   I have no clue as to what it is asking for.
 

 You might have to uninstall and reinstall cups.  I did.  The first time
 didn't
 work for some reason.

 I used KDE's control center to set up the printer as well as the printer
 manager.  Everything worked fine after the initial failure and the
 subsequent
 reinstall.

 --
 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Configuring a HP Laserjet 1018 USB printer on KDE

2008-02-28 Thread User Robert Falanga
First  am new using freebsd and would like help getting the printer 
configured. After installing and staarting CUPS. When I go to SETTINGS  
Peripherals  printers I get:
Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly 
installed and running. Error: localhost: read failed (14).
If I use LPR/LPRng things seem to be going well until I get to the screen 
asking for URI:   I have no clue as to what it is asking for.

HELP

Bob Falanga
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring a HP Laserjet 1018 USB printer on KDE

2008-02-28 Thread Predrag Punosevac

User Robert Falanga wrote:
First  am new using freebsd and would like help getting the printer 
configured. After installing and staarting CUPS. When I go to SETTINGS  
Peripherals  printers I get:
  
That is not the way to configure printer on vanilla  FreeBSD. If you 
want to use something like that

install PC-BSD or DesktopBSD.

To install the printer  do the  following
1. Alter permission on the device nodes  chmod  0660  /dev/ulpt0

2. chgrp cupsd /dev/ulpt0

3. Add yourself to cupsd group by editing file /etc/groups

4. Move the commands of the native lpd printing system so that you can 
use CUPS commands

mv /usr/bin/lp  /usr/bin/lp.bak
mv /usr/bin/lpr /usr/bin/lpr.bak
mv /usr/bin/lpq /usr/bin/lpq.bak
mv /usr/bin/lprm  /usr/bin/lprm.bak


4. Restart cupsd for instance by adding cupsd_enable=YES into your 
/etc/rc.conf at the same time

disable lpd daemon by adding lpd_enable=NO

5. Reboot

6. Point the web-browser to http://localhost:631 to add the printer

NOTE:

1. Your printer is using foo2zjs reversed engineered driver which you 
must compile from ports. People
have reported mixed results with  the driver! You have to compile the 
driver before you start adding the printer.


2. You might need to disable your firewall or at least port 631 which is 
used by Internet Printing Protocol (IPP)

which is in turned used by CUPS.


Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly 
installed and running. Error: localhost: read failed (14).
If I use LPR/LPRng things seem to be going well until I get to the screen 
asking for URI:   I have no clue as to what it is asking for.


HELP

Bob Falanga
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring a HP Laserjet 1018 USB printer on KDE

2008-02-28 Thread Paul Schmehl
--On Thursday, February 28, 2008 11:24:04 -0700 Predrag Punosevac 
[EMAIL PROTECTED] wrote:



User Robert Falanga wrote:

First  am new using freebsd and would like help getting the printer
configured. After installing and staarting CUPS. When I go to SETTINGS 
Peripherals  printers I get:


That is not the way to configure printer on vanilla  FreeBSD. If you want to
use something like that
install PC-BSD or DesktopBSD.



Well, I beg to differ with you.  That's one way to do it.  Yours is another.


To install the printer  do the  following
1. Alter permission on the device nodes  chmod  0660  /dev/ulpt0

2. chgrp cupsd /dev/ulpt0

3. Add yourself to cupsd group by editing file /etc/groups



I didn't have to do any of this.


4. Move the commands of the native lpd printing system so that you can use
CUPS commands
mv /usr/bin/lp  /usr/bin/lp.bak
mv /usr/bin/lpr /usr/bin/lpr.bak
mv /usr/bin/lpq /usr/bin/lpq.bak
mv /usr/bin/lprm  /usr/bin/lprm.bak



This is good advice, *if* the cups install has not already overwritten the base 
for you.

.if defined(CUPS_OVERWRITE_BASE)
   if test -e /usr/bin/lp; then ${CHMOD} -h 0 /usr/bin/lp; fi
   if test -e /usr/bin/lpq; then ${CHMOD} -h 0 /usr/bin/lpq; fi
   if test -e /usr/bin/lpr; then ${CHMOD} -h 0 /usr/bin/lpr; fi
   if test -e /usr/bin/lprm; then ${CHMOD} -h 0 /usr/bin/lprm; fi
   if test -e /usr/sbin/lpc; then ${CHMOD} -h 0 /usr/sbin/lpc; fi
.endif

# ls -lsa /usr/bin/lp*
4 -r--r--r--  1 root  wheel2590 Feb 21 12:59 /usr/bin/lp
26 -r-Sr-Sr--  1 root  daemon  25876 Feb 21 12:59 /usr/bin/lpq
30 -r-Sr-Sr--  1 root  daemon  29368 Feb 21 12:59 /usr/bin/lpr
26 -r-Sr-Sr--  1 root  daemon  24600 Feb 21 12:59 /usr/bin/lprm



4. Restart cupsd for instance by adding cupsd_enable=YES into your
/etc/rc.conf at the same time
disable lpd daemon by adding lpd_enable=NO



Also good advice.


5. Reboot

6. Point the web-browser to http://localhost:631 to add the printer



Unfortunately, this didn't work for me.  I got the source code for the page 
displayed in my browser.  If I added a ? to the end (http://localhost:631/?), 
then the page was displayed.



NOTE:

1. Your printer is using foo2zjs reversed engineered driver which you must
compile from ports. People
have reported mixed results with  the driver! You have to compile the driver
before you start adding the printer.



Seems to me, for HP printers, the hpijs driver is the right choice.  print/hpijs


2. You might need to disable your firewall or at least port 631 which is used
by Internet Printing Protocol (IPP)
which is in turned used by CUPS.



Only if you want to be a print server.  If you're just printing from a 
workstation, you don't need to worry about incoming traffic on 631.



Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly
installed and running. Error: localhost: read failed (14).


This sounds like he didn't put cupsd_enable=YES in /etc/rc.conf.


If I use LPR/LPRng things seem to be going well until I get to the screen
asking for URI:   I have no clue as to what it is asking for.



You might have to uninstall and reinstall cups.  I did.  The first time didn't 
work for some reason.


I used KDE's control center to set up the printer as well as the printer 
manager.  Everything worked fine after the initial failure and the subsequent 
reinstall.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Reading page count from USB printer

2007-09-24 Thread Olivier Nicole
Hi,

I have an HP2200 printer connected to a 6.2 box via USB.

I would luke to read the page count. I know the PCL sequence to do
that, but I am unsure about the way to access the printer.

The pinter shows up at /dev/ulpt0, I can redirect text to it for
printing, using cat file.ps /dev/ulpt0

But I do not manage to read the PCL response.

How should I do? In Perl preferably.

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB printer and native BSD printing system

2006-03-18 Thread Jose Luis Alarcon Sanchez
Hi all.

I have an USB printer at /dev/ulpt0, dmesg say:

ulpt0: Lexmark 730 Series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

CUPS is not installed and i am trying make printer work with the native 
BSD printing system. This is what have my /etc/printcap file: 

 lp|local printer:\
:sh:\
:lp=/dev/ulpt0:sd=/var/spool/lpd:lf=/var/log/lpd-errs:

And this is 'ls -l /var/spool/lpd'

-rw-rw-r--  1 root  daemon  37 Mar 14 19:55 lock
-rw-rw-r--  1 root  daemon  25 Mar 14 19:55 status

I don't get printer work. Command 'lp file.txt' don't return any output,
'cat file.txt  /dev/ulpt0' don't return any output. Command
'cat /var/spool/lpd/status' output is:

lp is ready and printing

and this can indicate the configuration is well done. lpd is run...

I am thinking about if the cause of this problem can be the native BSD
printing system can't manage USB printers, so my concrete question to 
the list is: Can be used the BSD lpd with USB printers?.

Thanks you very much, in advance.

Regards.

Jose.


-- 
http://www.lordofunix.org/

Not Registered GNU/Hurd User.
Registered BSD User 51101.
Registered Linux User #213309.
Memories. You are talking about memories. 
Rick Deckard. Blade Runner.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer and native BSD printing system

2006-03-18 Thread Warren Block

On Sat, 18 Mar 2006, Jose Luis Alarcon Sanchez wrote:


I have an USB printer at /dev/ulpt0, dmesg say:

ulpt0: Lexmark 730 Series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode


I can't find any useful information on that printer online.  Maybe it's 
very old?  Many printers can't understand ASCII data, and it may be one 
of them.



CUPS is not installed and i am trying make printer work with the native
BSD printing system. This is what have my /etc/printcap file:

lp|local printer:\
:sh:\
:lp=/dev/ulpt0:sd=/var/spool/lpd:lf=/var/log/lpd-errs:

And this is 'ls -l /var/spool/lpd'

-rw-rw-r--  1 root  daemon  37 Mar 14 19:55 lock
-rw-rw-r--  1 root  daemon  25 Mar 14 19:55 status

I don't get printer work. Command 'lp file.txt' don't return any output,
'cat file.txt  /dev/ulpt0' don't return any output. Command
'cat /var/spool/lpd/status' output is:

lp is ready and printing

and this can indicate the configuration is well done. lpd is run...

I am thinking about if the cause of this problem can be the native BSD
printing system can't manage USB printers, so my concrete question to
the list is: Can be used the BSD lpd with USB printers?.


Yes it can.  The problem is most likely that the printer can't print 
plain ASCII data.  Sometimes these printers are called host-based, 
GDI, or Winprinters.  If it is one of those printers, you need to 
find a program that can send the data in a form the printer understands. 
http://www.linuxprinting.org doesn't list the Lexmark 730, but it may 
use the same codes as one of the other Lexmark printers.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Install USB Printer on FreeBSD

2006-02-25 Thread Alin Tuhut

Hello,

I am trying with no luck setting up a an USB Xerox Phaser 3116 printer 
on FreeBSD 6.0
I have installed and enabled CUPS and from the CUPS web admin area I 
have added the printer as USB Printer #1.
When I try to print a test page the printer makes a normal noise like it 
is trying to get paper but it does not print. Just stops.

If I try to print a file nothing happens.
As far as I know the printer knows Postcript but in CUPS I could only 
choose RAW when it asked about the driver.


What should I do?

Thanks.

P.S. I'm sorry, I sent this without a subject in previous email.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install USB Printer on FreeBSD

2006-02-25 Thread David J Brooks
On Saturday 25 February 2006 03:23, Alin Tuhut wrote:
 Hello,

 I am trying with no luck setting up a an USB Xerox Phaser 3116 printer
 on FreeBSD 6.0
 I have installed and enabled CUPS and from the CUPS web admin area I
 have added the printer as USB Printer #1.
 When I try to print a test page the printer makes a normal noise like it
 is trying to get paper but it does not print. Just stops.
 If I try to print a file nothing happens.
 As far as I know the printer knows Postcript but in CUPS I could only
 choose RAW when it asked about the driver.

 What should I do?

Do you have ghostscript properly installed and configured? 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install USB Printer on FreeBSD

2006-02-25 Thread robert
On Sat, 2006-02-25 at 12:28 +0200, Alin Tuhut wrote:
 
 
 robert wrote: 
  On Sat, 2006-02-25 at 11:23 +0200, Alin Tuhut wrote:

   Hello,
   
   I am trying with no luck setting up a an USB Xerox Phaser 3116 printer 
   on FreeBSD 6.0
   I have installed and enabled CUPS and from the CUPS web admin area I 
   have added the printer as USB Printer #1.
   When I try to print a test page the printer makes a normal noise like it 
   is trying to get paper but it does not print. Just stops.
   If I try to print a file nothing happens.
   As far as I know the printer knows Postcript but in CUPS I could only 
   choose RAW when it asked about the driver.
   
   What should I do?
   
   Thanks.
   
   P.S. I'm sorry, I sent this without a subject in previous email.
   
  
  Have you tried googling for this?
  
  A 10 second search found that it uses the same drivers as the Samsung
  ML1210 (probably re badged Xerox) which is listed on the linux printing
  site.
  

 I have searched on google for various terms but have not found that. I
 probably searched using other keywords.
 Ok, so if I find the Samsung driver, can this be added and selected
 from CUPS?
  Rob

Alin

Try http://www.linuxprinting.org/ it should give you all the info you
need.

Rob
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installing a HP Photosmart 7350 usb printer

2005-08-04 Thread Ian Smith
[Re: freebsd-questions Digest, Vol 106, Issue 8]

  System : 5.4-REL-#6
  
  I've installed cups (via ports) and downloaded the .ppd file from 
  linuxprinting.org so I could use it in the kde-printer wizard. No problem so 
  far. I can see and modify the settings also via localhost:631. When 
  printing, 
  the cups error-log sais : stopped with status 2 !. So I've changed the 
  level to debug (see below pls). The file gets in /var/spool/cups/ but 
  nothing 
  gets printed on paper :-(
  
  What still goes wrong ? Thx for any help.

If you haven't got it sorted yet, I did notice amongst the debug output: 

  I [03/Aug/2005:16:16:34 +0200] Job 8 queued on 'HPPhotosmart7350' by 'beni'.

[..]

  D [03/Aug/2005:16:16:34 +0200] 
  start_process(/usr/local/libexec/cups/filter/pstops, 0xbfbef340, 
  0xbfbee6b0, 10, 12, 9)
  I [03/Aug/2005:16:16:34 +0200] Started 
  filter /usr/local/libexec/cups/filter/pstops (PID 17668) for job 8.

  D [03/Aug/2005:16:16:34 +0200] StartJob: filter = 
  /usr/local/libexec/cups/filter/foomatic-rip

  D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 13 ]
  D [03/Aug/2005:16:16:34 +0200] 
  start_process(/usr/local/libexec/cups/filter/foomatic-rip, 0xbfbef340, 
  0xbfbee6b0, 11, 13, 9)
  I [03/Aug/2005:16:16:34 +0200] Started 
  filter /usr/local/libexec/cups/filter/foomatic-rip (PID 17669) for job 8.

[..]

  D [03/Aug/2005:16:16:34 +0200] [Job 
  8] /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory

[..]

  D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BoundingBox: 0 0 595 842
  D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Creator: KDE 3.4.1 HTML Library
[..]
  D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BeginPageSetup
  D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%EndPageSetup
  D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Trailer
  D [03/Aug/2005:16:16:34 +0200] [Job 8] Saw Trailer!
  D [03/Aug/2005:16:16:34 +0200] [Job 8] Saw EOF!

  E [03/Aug/2005:16:16:35 +0200] PID 17669 stopped with status 2!

  D [03/Aug/2005:16:16:35 +0200] UpdateJob: job 8, file 0 is complete.
  D [03/Aug/2005:16:16:35 +0200] CancelJob: id = 8
  D [03/Aug/2005:16:16:35 +0200] StopJob: id = 8, force = 0
  D [03/Aug/2005:16:16:35 +0200] StopJob: printer state is 3

It's not clear whether /usr/local/libexec/cups/filter/foomatic-rip: No
such file or directory means that the file foomatic-rip is missing, or
that foomatic-rip can't find a file it needs, but either way, trouble!

cheers, Ian

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[SOLVED] installing a HP Photosmart 7350 usb printer

2005-08-04 Thread FreeBsdBeni
On Thursday 04 August 2005 10:57, you wrote:
 [Re: freebsd-questions Digest, Vol 106, Issue 8]

   System : 5.4-REL-#6
  
   I've installed cups (via ports) and downloaded the .ppd file from
   linuxprinting.org so I could use it in the kde-printer wizard. No
   problem so far. I can see and modify the settings also via
   localhost:631. When printing, the cups error-log sais : stopped with
   status 2 !. So I've changed the level to debug (see below pls). The
   file gets in /var/spool/cups/ but nothing gets printed on paper :-(
  
   What still goes wrong ? Thx for any help.

 If you haven't got it sorted yet, I did notice amongst the debug output:
   I [03/Aug/2005:16:16:34 +0200] Job 8 queued on 'HPPhotosmart7350' by
   'beni'.

 [..]

   D [03/Aug/2005:16:16:34 +0200]
   start_process(/usr/local/libexec/cups/filter/pstops, 0xbfbef340,
   0xbfbee6b0, 10, 12, 9)
   I [03/Aug/2005:16:16:34 +0200] Started
   filter /usr/local/libexec/cups/filter/pstops (PID 17668) for job 8.
  
   D [03/Aug/2005:16:16:34 +0200] StartJob: filter =
   /usr/local/libexec/cups/filter/foomatic-rip
  
   D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 13 ]
   D [03/Aug/2005:16:16:34 +0200]
   start_process(/usr/local/libexec/cups/filter/foomatic-rip, 0xbfbef340,
   0xbfbee6b0, 11, 13, 9)
   I [03/Aug/2005:16:16:34 +0200] Started
   filter /usr/local/libexec/cups/filter/foomatic-rip (PID 17669) for job
   8.

 [..]

   D [03/Aug/2005:16:16:34 +0200] [Job
   8] /usr/local/libexec/cups/filter/foomatic-rip: No such file or
   directory

 [..]

   D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BoundingBox: 0 0 595 842
   D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Creator: KDE 3.4.1 HTML
   Library

 [..]

   D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BeginPageSetup
   D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%EndPageSetup
   D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Trailer
   D [03/Aug/2005:16:16:34 +0200] [Job 8] Saw Trailer!
   D [03/Aug/2005:16:16:34 +0200] [Job 8] Saw EOF!
  
   E [03/Aug/2005:16:16:35 +0200] PID 17669 stopped with status 2!
  
   D [03/Aug/2005:16:16:35 +0200] UpdateJob: job 8, file 0 is complete.
   D [03/Aug/2005:16:16:35 +0200] CancelJob: id = 8
   D [03/Aug/2005:16:16:35 +0200] StopJob: id = 8, force = 0
   D [03/Aug/2005:16:16:35 +0200] StopJob: printer state is 3

 It's not clear whether /usr/local/libexec/cups/filter/foomatic-rip: No
 such file or directory means that the file foomatic-rip is missing, or
 that foomatic-rip can't find a file it needs, but either way, trouble!

 cheers, Ian

I did see the error but didn't find anything about foomatic-rip. It seems to 
be part of the /print/foomatic-filters port. After installing that, that 
error went away, just to bring another one into focus... Seemed that I also 
needed the /print/hpijs port. And after installing that one too, I can 
print !! :-)

So, to sum it up, to get an HP Photosmart 7350 to work, one needs :
- cups
- foomatic-filters
- hpijs

-- 
FreeBsdBeni.


pgpuxKmFHfV1N.pgp
Description: PGP signature


installing a HP Photosmart 7350 usb printer

2005-08-03 Thread FreeBsdBeni
Hi,

System : 5.4-REL-#6

I've installed cups (via ports) and downloaded the .ppd file from 
linuxprinting.org so I could use it in the kde-printer wizard. No problem so 
far. I can see and modify the settings also via localhost:631. When printing, 
the cups error-log sais : stopped with status 2 !. So I've changed the 
level to debug (see below pls). The file gets in /var/spool/cups/ but nothing 
gets printed on paper :-(

What still goes wrong ? Thx for any help.

D [03/Aug/2005:16:16:33 +0200] AcceptClient: 7 from localhost:631.
D [03/Aug/2005:16:16:33 +0200] ReadClient: 7 POST /printers/HPPhotosmart7350 
HTTP/1.1
D [03/Aug/2005:16:16:34 +0200] print_job: auto-typing file...
D [03/Aug/2005:16:16:34 +0200] print_job: request file type is 
application/postscript.
D [03/Aug/2005:16:16:34 +0200] check_quotas: requesting-user-name = 'beni'
D [03/Aug/2005:16:16:34 +0200] print_job: requesting-user-name = 'beni'
D [03/Aug/2005:16:16:34 +0200] Adding default job-sheets values none,none...
I [03/Aug/2005:16:16:34 +0200] Adding start banner page none to job 8.
I [03/Aug/2005:16:16:34 +0200] Adding end banner page none to job 8.
I [03/Aug/2005:16:16:34 +0200] Job 8 queued on 'HPPhotosmart7350' by 'beni'.
D [03/Aug/2005:16:16:34 +0200] Job 8 hold_until = 0
D [03/Aug/2005:16:16:34 +0200] StartJob(8, 0x8091000)
D [03/Aug/2005:16:16:34 +0200] StartJob() id = 8, file = 0/1
D [03/Aug/2005:16:16:34 +0200] job-sheets=none,none
D [03/Aug/2005:16:16:34 +0200] banner_page = 0
D [03/Aug/2005:16:16:34 +0200] StartJob: argv = 
HPPhotosmart7350,8,beni,file:///,1,multiple-document-handling=separate-documents-collated-copies
 
orientation-requested=3,/var/spool/cups/d8-001
D [03/Aug/2005:16:16:34 +0200] StartJob: 
envp[0]=PATH=/usr/local/libexec/cups/filter:/bin:/usr/bin
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[1]=SOFTWARE=CUPS/1.1
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[2]=USER=root
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[3]=CHARSET=iso-8859-1
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[4]=LANG=en
D [03/Aug/2005:16:16:34 +0200] StartJob: 
envp[5]=PPD=/usr/local/etc/cups/ppd/HPPhotosmart7350.ppd
D [03/Aug/2005:16:16:34 +0200] StartJob: 
envp[6]=CUPS_SERVERROOT=/usr/local/etc/cups
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[7]=RIP_MAX_CACHE=8m
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[8]=TMPDIR=/var/spool/cups/tmp
D [03/Aug/2005:16:16:34 +0200] StartJob: 
envp[9]=CONTENT_TYPE=application/postscript
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[10]=DEVICE_URI=usb:/dev/ulpt0
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[11]=PRINTER=HPPhotosmart7350
D [03/Aug/2005:16:16:34 +0200] StartJob: 
envp[12]=CUPS_DATADIR=/usr/local/share/cups
D [03/Aug/2005:16:16:34 +0200] StartJob: 
envp[13]=CUPS_FONTPATH=/usr/local/share/cups/fonts
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[14]=CUPS_SERVER=localhost
D [03/Aug/2005:16:16:34 +0200] StartJob: envp[15]=IPP_PORT=631
D [03/Aug/2005:16:16:34 +0200] StartJob: statusfds = [ 8 9 ]
D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 -1 ]
D [03/Aug/2005:16:16:34 +0200] StartJob: filter = 
/usr/local/libexec/cups/filter/pstops
D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[0] = [ 11 12 ]
D [03/Aug/2005:16:16:34 +0200] 
start_process(/usr/local/libexec/cups/filter/pstops, 0xbfbef340, 
0xbfbee6b0, 10, 12, 9)
I [03/Aug/2005:16:16:34 +0200] Started 
filter /usr/local/libexec/cups/filter/pstops (PID 17668) for job 8.
D [03/Aug/2005:16:16:34 +0200] StartJob: filter = 
/usr/local/libexec/cups/filter/foomatic-rip
D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 13 ]
D [03/Aug/2005:16:16:34 +0200] 
start_process(/usr/local/libexec/cups/filter/foomatic-rip, 0xbfbef340, 
0xbfbee6b0, 11, 13, 9)
I [03/Aug/2005:16:16:34 +0200] Started 
filter /usr/local/libexec/cups/filter/foomatic-rip (PID 17669) for job 8.
D [03/Aug/2005:16:16:34 +0200] StartJob: backend = 
/usr/local/libexec/cups/backend/usb
D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[0] = [ -1 11 ]
D [03/Aug/2005:16:16:34 +0200] 
start_process(/usr/local/libexec/cups/backend/usb, 0xbfbef340, 0xbfbee6b0, 
10, 11, 9)
I [03/Aug/2005:16:16:34 +0200] Started 
backend /usr/local/libexec/cups/backend/usb (PID 17670) for job 8.
D [03/Aug/2005:16:16:34 +0200] ProcessIPPRequest: 7 status_code=0
D [03/Aug/2005:16:16:34 +0200] CloseClient: 7
D [03/Aug/2005:16:16:34 +0200] [Job 
8] /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory
D [03/Aug/2005:16:16:34 +0200] [Job 8] Page = 595x842; 10,36 to 585,833
D [03/Aug/2005:16:16:34 +0200] [Job 8] slowcollate=0, slowduplex=0, 
sloworder=0
D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BoundingBox: 0 0 595 842
D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Creator: KDE 3.4.1 HTML Library
D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Title: file:///
D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%CreationDate: Wed Aug 3 16:16:30 
2005
D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Orientation: Portrait
D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Pages: 1
D 

RE: installing a HP Photosmart 7350 usb printer

2005-08-03 Thread Norbert Koch
 System : 5.4-REL-#6

 I've installed cups (via ports) and downloaded the .ppd file from
 linuxprinting.org so I could use it in the kde-printer wizard. No
 problem so
 far. I can see and modify the settings also via localhost:631.
 When printing,
 the cups error-log sais : stopped with status 2 !. So I've changed the
 level to debug (see below pls). The file gets in /var/spool/cups/
 but nothing
 gets printed on paper :-(

 What still goes wrong ? Thx for any help.

 D [03/Aug/2005:16:16:33 +0200] AcceptClient: 7 from localhost:631.
 D [03/Aug/2005:16:16:33 +0200] ReadClient: 7 POST
 /printers/HPPhotosmart7350
 HTTP/1.1
 D [03/Aug/2005:16:16:34 +0200] print_job: auto-typing file...
 D [03/Aug/2005:16:16:34 +0200] print_job: request file type is
 application/postscript.
 D [03/Aug/2005:16:16:34 +0200] check_quotas: requesting-user-name = 'beni'
 D [03/Aug/2005:16:16:34 +0200] print_job: requesting-user-name = 'beni'
 D [03/Aug/2005:16:16:34 +0200] Adding default job-sheets values
 none,none...
 I [03/Aug/2005:16:16:34 +0200] Adding start banner page none to job 8.
 I [03/Aug/2005:16:16:34 +0200] Adding end banner page none to job 8.
 I [03/Aug/2005:16:16:34 +0200] Job 8 queued on 'HPPhotosmart7350'
 by 'beni'.
 D [03/Aug/2005:16:16:34 +0200] Job 8 hold_until = 0
 D [03/Aug/2005:16:16:34 +0200] StartJob(8, 0x8091000)
 D [03/Aug/2005:16:16:34 +0200] StartJob() id = 8, file = 0/1
 D [03/Aug/2005:16:16:34 +0200] job-sheets=none,none
 D [03/Aug/2005:16:16:34 +0200] banner_page = 0
 D [03/Aug/2005:16:16:34 +0200] StartJob: argv =
 HPPhotosmart7350,8,beni,file:///,1,multiple-document-ha
 ndling=separate-documents-collated-copies
 orientation-requested=3,/var/spool/cups/d8-001
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[0]=PATH=/usr/local/libexec/cups/filter:/bin:/usr/bin
 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[1]=SOFTWARE=CUPS/1.1
 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[2]=USER=root
 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[3]=CHARSET=iso-8859-1
 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[4]=LANG=en
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[5]=PPD=/usr/local/etc/cups/ppd/HPPhotosmart7350.ppd
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[6]=CUPS_SERVERROOT=/usr/local/etc/cups
 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[7]=RIP_MAX_CACHE=8m
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[8]=TMPDIR=/var/spool/cups/tmp
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[9]=CONTENT_TYPE=application/postscript
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[10]=DEVICE_URI=usb:/dev/ulpt0
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[11]=PRINTER=HPPhotosmart7350
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[12]=CUPS_DATADIR=/usr/local/share/cups
 D [03/Aug/2005:16:16:34 +0200] StartJob:
 envp[13]=CUPS_FONTPATH=/usr/local/share/cups/fonts
 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[14]=CUPS_SERVER=localhost
 D [03/Aug/2005:16:16:34 +0200] StartJob: envp[15]=IPP_PORT=631
 D [03/Aug/2005:16:16:34 +0200] StartJob: statusfds = [ 8 9 ]
 D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 -1 ]
 D [03/Aug/2005:16:16:34 +0200] StartJob: filter =
 /usr/local/libexec/cups/filter/pstops
 D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[0] = [ 11 12 ]
 D [03/Aug/2005:16:16:34 +0200]
 start_process(/usr/local/libexec/cups/filter/pstops, 0xbfbef340,
 0xbfbee6b0, 10, 12, 9)
 I [03/Aug/2005:16:16:34 +0200] Started
 filter /usr/local/libexec/cups/filter/pstops (PID 17668) for job 8.
 D [03/Aug/2005:16:16:34 +0200] StartJob: filter =
 /usr/local/libexec/cups/filter/foomatic-rip
 D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 13 ]
 D [03/Aug/2005:16:16:34 +0200]
 start_process(/usr/local/libexec/cups/filter/foomatic-rip, 0xbfbef340,
 0xbfbee6b0, 11, 13, 9)
 I [03/Aug/2005:16:16:34 +0200] Started
 filter /usr/local/libexec/cups/filter/foomatic-rip (PID 17669) for job 8.
 D [03/Aug/2005:16:16:34 +0200] StartJob: backend =
 /usr/local/libexec/cups/backend/usb
 D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[0] = [ -1 11 ]
 D [03/Aug/2005:16:16:34 +0200]
 start_process(/usr/local/libexec/cups/backend/usb, 0xbfbef340,
 0xbfbee6b0,
 10, 11, 9)
 I [03/Aug/2005:16:16:34 +0200] Started
 backend /usr/local/libexec/cups/backend/usb (PID 17670) for job 8.
 D [03/Aug/2005:16:16:34 +0200] ProcessIPPRequest: 7 status_code=0
 D [03/Aug/2005:16:16:34 +0200] CloseClient: 7
 D [03/Aug/2005:16:16:34 +0200] [Job
 8] /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory
 D [03/Aug/2005:16:16:34 +0200] [Job 8] Page = 595x842; 10,36 to 585,833
 D [03/Aug/2005:16:16:34 +0200] [Job 8] slowcollate=0, slowduplex=0,
 sloworder=0
 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BoundingBox: 0 0 595 842
 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Creator: KDE 3.4.1 HTML Library
 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Title: file:///
 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%CreationDate: Wed Aug
 3 16:16:30
 2005
 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Orientation: Portrait
 D 

Re: installing a HP Photosmart 7350 usb printer

2005-08-03 Thread FreeBsdBeni
On Wednesday 03 August 2005 16:37, you wrote:
  System : 5.4-REL-#6
 
  I've installed cups (via ports) and downloaded the .ppd file from
  linuxprinting.org so I could use it in the kde-printer wizard. No
  problem so
  far. I can see and modify the settings also via localhost:631.
  When printing,
  the cups error-log sais : stopped with status 2 !. So I've changed the
  level to debug (see below pls). The file gets in /var/spool/cups/
  but nothing
  gets printed on paper :-(
 
  What still goes wrong ? Thx for any help.
 
  D [03/Aug/2005:16:16:33 +0200] AcceptClient: 7 from localhost:631.
  D [03/Aug/2005:16:16:33 +0200] ReadClient: 7 POST
  /printers/HPPhotosmart7350
  HTTP/1.1
  D [03/Aug/2005:16:16:34 +0200] print_job: auto-typing file...
  D [03/Aug/2005:16:16:34 +0200] print_job: request file type is
  application/postscript.
  D [03/Aug/2005:16:16:34 +0200] check_quotas: requesting-user-name =
  'beni' D [03/Aug/2005:16:16:34 +0200] print_job: requesting-user-name =
  'beni' D [03/Aug/2005:16:16:34 +0200] Adding default job-sheets values
  none,none...
  I [03/Aug/2005:16:16:34 +0200] Adding start banner page none to job 8.
  I [03/Aug/2005:16:16:34 +0200] Adding end banner page none to job 8.
  I [03/Aug/2005:16:16:34 +0200] Job 8 queued on 'HPPhotosmart7350'
  by 'beni'.
  D [03/Aug/2005:16:16:34 +0200] Job 8 hold_until = 0
  D [03/Aug/2005:16:16:34 +0200] StartJob(8, 0x8091000)
  D [03/Aug/2005:16:16:34 +0200] StartJob() id = 8, file = 0/1
  D [03/Aug/2005:16:16:34 +0200] job-sheets=none,none
  D [03/Aug/2005:16:16:34 +0200] banner_page = 0
  D [03/Aug/2005:16:16:34 +0200] StartJob: argv =
  HPPhotosmart7350,8,beni,file:///,1,multiple-document-ha
  ndling=separate-documents-collated-copies
  orientation-requested=3,/var/spool/cups/d8-001
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[0]=PATH=/usr/local/libexec/cups/filter:/bin:/usr/bin
  D [03/Aug/2005:16:16:34 +0200] StartJob: envp[1]=SOFTWARE=CUPS/1.1
  D [03/Aug/2005:16:16:34 +0200] StartJob: envp[2]=USER=root
  D [03/Aug/2005:16:16:34 +0200] StartJob: envp[3]=CHARSET=iso-8859-1
  D [03/Aug/2005:16:16:34 +0200] StartJob: envp[4]=LANG=en
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[5]=PPD=/usr/local/etc/cups/ppd/HPPhotosmart7350.ppd
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[6]=CUPS_SERVERROOT=/usr/local/etc/cups
  D [03/Aug/2005:16:16:34 +0200] StartJob: envp[7]=RIP_MAX_CACHE=8m
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[8]=TMPDIR=/var/spool/cups/tmp
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[9]=CONTENT_TYPE=application/postscript
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[10]=DEVICE_URI=usb:/dev/ulpt0
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[11]=PRINTER=HPPhotosmart7350
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[12]=CUPS_DATADIR=/usr/local/share/cups
  D [03/Aug/2005:16:16:34 +0200] StartJob:
  envp[13]=CUPS_FONTPATH=/usr/local/share/cups/fonts
  D [03/Aug/2005:16:16:34 +0200] StartJob: envp[14]=CUPS_SERVER=localhost
  D [03/Aug/2005:16:16:34 +0200] StartJob: envp[15]=IPP_PORT=631
  D [03/Aug/2005:16:16:34 +0200] StartJob: statusfds = [ 8 9 ]
  D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 -1 ]
  D [03/Aug/2005:16:16:34 +0200] StartJob: filter =
  /usr/local/libexec/cups/filter/pstops
  D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[0] = [ 11 12 ]
  D [03/Aug/2005:16:16:34 +0200]
  start_process(/usr/local/libexec/cups/filter/pstops, 0xbfbef340,
  0xbfbee6b0, 10, 12, 9)
  I [03/Aug/2005:16:16:34 +0200] Started
  filter /usr/local/libexec/cups/filter/pstops (PID 17668) for job 8.
  D [03/Aug/2005:16:16:34 +0200] StartJob: filter =
  /usr/local/libexec/cups/filter/foomatic-rip
  D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 13 ]
  D [03/Aug/2005:16:16:34 +0200]
  start_process(/usr/local/libexec/cups/filter/foomatic-rip, 0xbfbef340,
  0xbfbee6b0, 11, 13, 9)
  I [03/Aug/2005:16:16:34 +0200] Started
  filter /usr/local/libexec/cups/filter/foomatic-rip (PID 17669) for job 8.
  D [03/Aug/2005:16:16:34 +0200] StartJob: backend =
  /usr/local/libexec/cups/backend/usb
  D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[0] = [ -1 11 ]
  D [03/Aug/2005:16:16:34 +0200]
  start_process(/usr/local/libexec/cups/backend/usb, 0xbfbef340,
  0xbfbee6b0,
  10, 11, 9)
  I [03/Aug/2005:16:16:34 +0200] Started
  backend /usr/local/libexec/cups/backend/usb (PID 17670) for job 8.
  D [03/Aug/2005:16:16:34 +0200] ProcessIPPRequest: 7 status_code=0
  D [03/Aug/2005:16:16:34 +0200] CloseClient: 7
  D [03/Aug/2005:16:16:34 +0200] [Job
  8] /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory
  D [03/Aug/2005:16:16:34 +0200] [Job 8] Page = 595x842; 10,36 to 585,833
  D [03/Aug/2005:16:16:34 +0200] [Job 8] slowcollate=0, slowduplex=0,
  sloworder=0
  D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BoundingBox: 0 0 595 842
  D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Creator: KDE 3.4.1 HTML
  Library D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Title: file:///
  D 

Printing to a USB-printer + making it available to one other Windows machine

2005-05-20 Thread Ron
Hi there,

Since the last thread I started died, I start a new one. I was using
CUPS, but when I tried printing a test page, the printer did
respond(by doing it's usual initializing work(like cleaning the
printhead(I think))), but didn't print the testpage.

Someone said if you don't use CUPS, it can work. Now, my question
is: what printing sytem enables me to print locally and over the
network with the least amount of configuration?

Regards, Ron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Printing to a USB-printer + making it available to one other Windows machine

2005-05-20 Thread Ron
 If you can get it working locally it is easy to make it work with CUPS
 on the network.  CUPS is the easiest way to print on the network.
 (though there are good reasons to use others)
 
 Start simple: get something (either ghostscript or plain text) printing
 locally.  Until the printer works on freeBSD locally you can never be
 sure it isn't a flakely cable or some simple thing that you are
 misdiagnosing.
 
It's not a bad cable since the printer works under Windows and my
previous Linux install(via CUPS)

 I don't remember the original thread, did you go to
 www.linuxprinting.org and follow their instructions?  In most cases
 that is enough to get your printer working.
Yes, I did. 
 
 The hard part is making the printer work.  Once it works, it is almost
 trivial to add CUPS.
I know.

If I want to communicate with the printer to get the inklevels etc,
the kernel crashes. (I use escputil). It's a bug in the usb drivers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB Printer setup Help

2005-02-28 Thread Warren
Could someone direct me to a website where i might be able to setup my new USB 
Printer so it prints from my BSD box direct plz.
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Printer setup Help

2005-02-28 Thread Luke Kearney

On Tue, 1 Mar 2005 10:50:22 +1000
Warren [EMAIL PROTECTED] spake thus:

 Could someone direct me to a website where i might be able to setup my new 
 USB 
 Printer so it prints from my BSD box direct plz.
 -- 
 Yours Sincerely
 Shinjii
 http://www.shinji.nq.nu
google for Linux  printing. You should get a site which has good
coverage of setting up CUPS and LPR. If you go to the Linux printing
site first you may be able to get a complete PPD for the printer which
will help.

HTH

LukeK
-- 
Luke Kearney [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb printer-scanner

2005-01-25 Thread Khairil Yusof
On Sun, 2005-01-23 at 11:14 +0100, Dominique Goncalves wrote:

 I have a PSC 2175 and it's working perfectly with my FreeBSD 5.3
 I use the ports hpoj.
 But the printer/scanner must be detected as ugen device because libusb
 only use ugen device. To do this i have removed ultp and umass device
 from the kernel, after rebuild kernel I can see:
 ugen0: Hewlett-Packard PSC 2170 Series, rev 2.00/1.00, addr 3
 Now you can use hpoj ;)

Great!.. Thanks for the tip, removing ulpt was enough for me. For the
2110, I can print via hpoj, and sane detects and can communicate with
the scanner.

However I still have problems with scanning. I just get an I/O Error.
Debug shows it's communicating, and the printer status displays
scanning, but nothing comes through. When it cancels it also resets the
scanner which shows it's communicating ok.

Some errors are also showing for me in mpt soon after ptal starting up,
which may be the problem although it doesn't affect printing. I'll
follow it up on the mailing list.

It's good to hear that it's working ok with your PSC 2170.




signature.asc
Description: This is a digitally signed message part


Re: usb printer-scanner

2005-01-23 Thread Dominique Goncalves
Hello,

I have a PSC 2175 and it's working perfectly with my FreeBSD 5.3
I use the ports hpoj.
But the printer/scanner must be detected as ugen device because libusb
only use ugen device. To do this i have removed ultp and umass device
from the kernel, after rebuild kernel I can see:
ugen0: Hewlett-Packard PSC 2170 Series, rev 2.00/1.00, addr 3
Now you can use hpoj ;)

Best regards.

On Sun, 23 Jan 2005 02:21:01 +0800, Khairil Yusof [EMAIL PROTECTED] wrote:
 On Tue, 2005-01-18 at 07:49 +0800, Khairil Yusof wrote:
  On Fri, 2004-12-31 at 21:24 +0300, Andrew Diakin wrote:
 
   Hmm.. I setup all ports as described this
   http://www.freebsddiary.org/cups.php, also I setup
   print/hpijs port and copy all *.ppd files to /usr/local/share/cups/model
   printer is connected and usbdevs show him -
 
   in cups web admin I setup printer, select device USB Printer #1, then
   when I try to print test page nothing happens... what I do wrong?
 
 Sorry for getting back late on this:
 
 I forgot.. that that if using foomatic you need foomatic filter:
 
 http://www.linuxprinting.org/download.cgi?filename=foomatic-ripshow=0
 
 Copy it to:
 /usr/local/libexec/cups/filter/
 
 And set it as executable
 
 chmod 700 foomatic-rip
 
 
 


-- 
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb printer-scanner

2005-01-22 Thread Khairil Yusof
On Tue, 2005-01-18 at 07:49 +0800, Khairil Yusof wrote:
 On Fri, 2004-12-31 at 21:24 +0300, Andrew Diakin wrote:
 
  Hmm.. I setup all ports as described this
  http://www.freebsddiary.org/cups.php, also I setup
  print/hpijs port and copy all *.ppd files to /usr/local/share/cups/model
  printer is connected and usbdevs show him -
 
  in cups web admin I setup printer, select device USB Printer #1, then
  when I try to print test page nothing happens... what I do wrong?

Sorry for getting back late on this:

I forgot.. that that if using foomatic you need foomatic filter:

http://www.linuxprinting.org/download.cgi?filename=foomatic-ripshow=0

Copy it to:
/usr/local/libexec/cups/filter/

And set it as executable

chmod 700 foomatic-rip




signature.asc
Description: This is a digitally signed message part


Setting up USB Printer???

2005-01-13 Thread E. J. Cerejo
I'm running FreeBSD 5.3 and I have a USB HP printer (Deskjet 842C) and I can't 
find any tutorials and the hand book is not much help either unless I'm missing 
something on how to setup any USB printer under FreeBSD.  Can anyone help me 
with this?  


__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up USB Printer???

2005-01-13 Thread Andrew L. Gould
On Thursday 13 January 2005 07:04 pm, E. J. Cerejo wrote:
 I'm running FreeBSD 5.3 and I have a USB HP printer (Deskjet 842C)
 and I can't find any tutorials and the hand book is not much help
 either unless I'm missing something on how to setup any USB printer
 under FreeBSD.  Can anyone help me with this?

The first step is to see if your system recognizes the usb printer.  If 
you review the output of dmesg, you should find the printer associated 
with a ulpt device.  If it's associated with a ugen device, then the 
system doesn't recognize it.

If the printer is recognized, the next step is to configure it.  The 
easiest ways include installing a printer program such as cups or 
apsfilter.  You can find these apps in the ports; and you can find lots 
of documentation via google.

Information regarding your specific printer can be found at:
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_842C

If your printer is not identified correctly when connected via usb, you 
can purchase an external print server with usb ports and use apsfilter 
or cups to configure the printer over the internet.

Good luck,

Andrew Gould
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB Printer bafflement - ppd problem?

2005-01-04 Thread Ben Paley
Hello all,

I've an epson r300, and I'm trying to use cups.


su-2.05b# lptest 20 5  /dev/ulpt0


works fine, though it doesn't eject the sheet at the end - I can pretty much 
live with sending my own form feed for the moment.

GIMP prints fine too - epson r300 is on the list, and I use the command 'lpr', 
simple as that, but it'll print just as well if I use 'kprinter' as the 
command (depending on how that's set up).

But nothing else seems to work.


su-2.05b# lptest 20 5 | lpr


just does a little 'reset' jiggle, but doesn't print anything. kprinter does 
the same (won't print a test page, and no other programs can print via it), 
so does open office...

I've tried 3 different ppd files as the driver in kprinter and open office: 2 
which I made with foomatic-ppdfile thus:


foomatic-ppdfile -d gimp-print-ijs -p Epson-Stylus_Photo_R300 
 /usr/home/ben/epson_r300_gimpprintijs.ppd


and


foomatic-ppdfile -d gimp-print -p Epson-Stylus_Photo_R300 
 /usr/home/ben/epson_r300_gimp-print.ppd


as well as the file which comes with the pips driver for this printer, 
ekspr300_310.ppd.

No luck at all. I guess it's a ppd problem, but I can't think why GIMP can 
print and nothing else can - what does it know that nothing else does?

Here's some info that might help:


su-2.05b# uname -a
FreeBSD potato.hogsedge.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Dec 18 
20:09:01 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/POTATO  
i386
su-2.05b#


su-2.05b# cat /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /usr/local/etc/cups/printers.conf file.  All changes to this file
# will be lost.
Epson|Epson Stylus Photo R300:rm=potato.hogsedge.net:rp=Epson:
su-2.05b#


su-2.05b# cat /usr/local/etc/cups/printers.conf
# Printer configuration file for CUPS v1.1.22
# Written by cupsd on Tue Jan  4 19:57:57 2005
DefaultPrinter Epson
Info Epson Stylus Photo R300
Location /dev/ulpt0
DeviceURI usb:/dev/ulpt0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
/Printer
su-2.05b#


su-2.05b# pkg_info | grep gimp
gimp-2.2.0,1A GNU Image Manipulation Program
gimp-print-4.2.7_1  GIMP Print Printer Driver
su-2.05b#


su-2.05b# pkg_info | grep cups
cups-1.1.22.0   The Common UNIX Printing System: Metaport to install 
comple
cups-base-1.1.22.0_1 The Common UNIX Printing System: headers, libs,  daemons
cups-lpr-1.1.22.0   The CUPS BSD and system V compatibility binaries (lp* 
comma
cups-pstoraster-7.07_3 GNU Postscript interpreter for CUPS printing to non-PS 
prin
libgnomecups-0.1.14,1 Support library for gnome cups admistration
su-2.05b#


su-2.05b# pkg_info | grep pips
pips-spr300_310-2.6.2 Photo Image Print System for Linux --- EPSON Stylus 
Photo R
su-2.05b#


Any ideas? Thanks a lot,
Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb printer-scanner

2004-12-31 Thread Andrew Diakin
On Fri, 31 Dec 2004 12:47:55 +0300, Andrew Diakin [EMAIL PROTECTED] wrote:
 On Fri, 31 Dec 2004 14:16:25 +0800, Khairil Yusof [EMAIL PROTECTED] wrote:
  On Fri, 2004-12-31 at 09:02 +0300, Andrew Diakin wrote:
 
   I have a USB Printer-Scanner HP psc 2110 and I want to use it in my
   freebsd 5.3. I read handbook? but it is too little about usb
   printers... Have anybody do such thing?
 
  Use cups and hpijs:
 
  print/cups
  print/hpijs
 
  grab the ppd from linuxprinting.org and put it
  in /usr/local/share/cups/model
 
  http://freebsddiary.org has an article on setting up cups.
 
  Make sure you plug the printer and turn it on first, before configuring
  it in cups so that the option to select the interface for usb will show
  up.
 
  The scanner part currently does not work on FreeBSD 5.x :( The port for
  that is graphics/hpoj (let us know if you get it working).
 
  The copier function works independently.
 
  Good luck
 
 
 
 
 Hmm.. I setup all ports as described this
 http://www.freebsddiary.org/cups.php, also I setup
 print/hpijs port and copy all *.ppd files to /usr/local/share/cups/model
 printer is connected and usbdevs show him -
 
 orange# usbdevs
 addr 1: OHCI root hub, nVidia
  addr 2: Microsoft 5-Button Mouse with IntelliEye(TM), Microsoft
 addr 1: OHCI root hub, nVidia
 addr 1: UHCI root hub, VIA
  addr 2: PSC 2100 Series, Hewlett-Packard
 addr 1: UHCI root hub, VIA
  addr 2: USB 2.0 Card Reader, Genesys Logic
 
 in cups web admin I setup printer, select device USB Printer #1, then
 when I try to print test page nothing happens... what I do wrong?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb printer-scanner

2004-12-31 Thread Andrew Diakin
-- Forwarded message --
From: Andrew Diakin [EMAIL PROTECTED]
Date: Fri, 31 Dec 2004 12:47:55 +0300
Subject: Re: usb printer-scanner
To: Khairil Yusof [EMAIL PROTECTED]


On Fri, 31 Dec 2004 14:16:25 +0800, Khairil Yusof [EMAIL PROTECTED] wrote:
 On Fri, 2004-12-31 at 09:02 +0300, Andrew Diakin wrote:

  I have a USB Printer-Scanner HP psc 2110 and I want to use it in my
  freebsd 5.3. I read handbook? but it is too little about usb
  printers... Have anybody do such thing?

 Use cups and hpijs:

 print/cups
 print/hpijs

 grab the ppd from linuxprinting.org and put it
 in /usr/local/share/cups/model

 http://freebsddiary.org has an article on setting up cups.

 Make sure you plug the printer and turn it on first, before configuring
 it in cups so that the option to select the interface for usb will show
 up.

 The scanner part currently does not work on FreeBSD 5.x :( The port for
 that is graphics/hpoj (let us know if you get it working).

 The copier function works independently.

 Good luck




Hmm.. I setup all ports as described this
http://www.freebsddiary.org/cups.php, also I setup
print/hpijs port and copy all *.ppd files to /usr/local/share/cups/model
printer is connected and usbdevs show him -

orange# usbdevs
addr 1: OHCI root hub, nVidia
 addr 2: Microsoft 5-Button Mouse with IntelliEye(TM), Microsoft
addr 1: OHCI root hub, nVidia
addr 1: UHCI root hub, VIA
 addr 2: PSC 2100 Series, Hewlett-Packard
addr 1: UHCI root hub, VIA
 addr 2: USB 2.0 Card Reader, Genesys Logic

in cups web admin I setup printer, select device USB Printer #1, then
when I try to print test page nothing happens... what I do wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb printer-scanner

2004-12-30 Thread Andrew Diakin
Hi!
I have a USB Printer-Scanner HP psc 2110 and I want to use it in my
freebsd 5.3. I read handbook? but it is too little about usb
printers... Have anybody do such thing?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb printer-scanner

2004-12-30 Thread Khairil Yusof
On Fri, 2004-12-31 at 09:02 +0300, Andrew Diakin wrote:

 I have a USB Printer-Scanner HP psc 2110 and I want to use it in my
 freebsd 5.3. I read handbook? but it is too little about usb
 printers... Have anybody do such thing?

Use cups and hpijs:

print/cups
print/hpijs

grab the ppd from linuxprinting.org and put it
in /usr/local/share/cups/model

http://freebsddiary.org has an article on setting up cups.

Make sure you plug the printer and turn it on first, before configuring
it in cups so that the option to select the interface for usb will show
up.

The scanner part currently does not work on FreeBSD 5.x :( The port for
that is graphics/hpoj (let us know if you get it working).

The copier function works independently.

Good luck


signature.asc
Description: This is a digitally signed message part


usb printer won't behave

2004-10-24 Thread Ben Paley
Hello,

I've just got a new epson stylus photo r300 - lovely, works like a dream... in 
windows.

But not in FreeBSD

su-2.05b# lptest 20 10  /dev/ulpt0

makes the print heads move a little, then stop - sounds like it's getting 
ready to print, then changes its mind. If there's a sheet ready for printing 
it's ejected at that point. The same thing happens if I do 

su-2.05b# lptest 20 10  ~/test
su-2.05b# cat ~/test  /dev/ulpt0

I installed the port print/pips-spr300_310, which is the proper driver for 
this printer - on install it created /etc/printcap:

# written for pips-spr300_310
spr300_310|EPSON SPR300_310:\
:sd=/var/spool/lpd/spr300_310:\
:mx#0:\
:sh:\
:lp=/var/ekpd/ekplp0:\
:if=/usr/local/libexec/pips/SPR300_310/filter-spr300_310:\
:lf=/var/log/lpd-errs:
# pips-spr300_310  end

as well as the corresponding spool directory and other files mentioned. It 
also prompts to add some lines to /etc/libmap.conf:

# Photo Image Print System (for EPSON bubble jet printer)
[/usr/local/lib/pips/libspr300_310.so]
libc.so.6   pluginwrapper/pips.so
libdl.so.2  pluginwrapper/pips.so

so I did that. Now, 

su-2.05b# lpr -Pspr300_310 ~/test
su-2.05b# lptest 20 10 | lpr -Pspr300_310
su-2.05b# lpq -Pspr300_310

Rank   Owner  Job  Files Total Size
1stroot   10   /root/test210 bytes
2ndroot   11   (standard input)  210 bytes

...and they'll stay there indefinitely without a peep from the printer, not 
even the throat-clearing it does redirecting directly to the device node...

The detection of the printer is pretty hit and miss - it only seems to work if 
the printer is off when bsd boots up, AND if I switch it on after I switch on 
my digital camera! (Odd, huh?) But when it does work, this is what I get:

umass0: EPSON USB2.0 MFP, rev 2.00/1.00, addr 2
ulpt0: EPSON USB2.0 MFP, rev 2.00/1.00, addr 2, iclass 8/6
ulpt0: using bi-directional mode
da0 at umass-sim0 bus 0 target 0 lun 0
da0: EPSON Stylus Storage 1.00 Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6

...and then it makes the appropriate nodes (there's a /dev/unlpt0 as well, but 
it does even less than the one I'm using). On the vague off-chance it's 
relevant, here's the camera going on and off again:

ugen0: Eastman Kodak Company KODAK EasyShare DX4530 Zoom Digital Camera, rev 
2.0
0/1.00, addr 3
ugen0: at uhub0 port 2 (addr 3) disconnected
ugen0: detached

I don't understand why that would make any difference, they use different usb 
drivers... so, I dunno, is this a usb problem, or what? Oh yeah:

su-2.05b# uname -a
FreeBSD potato.hogsedge.net 5.3-BETA5 FreeBSD 5.3-BETA5 #1: Tue Oct 19 
08:53:58 BST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/POTATO  
i386

Thanks very much for your help,
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CUPS not initialising USB printer correctly?

2004-08-29 Thread Ian Moore
Hi,
I've been using CUPS with a couple of epson inkjet over the last few years. My 
old inkjet which was a parallel port version seemed to work OK (albeit *very* 
slowly). When I bought a new C61 USB printer a couple of years ago, I found 
it printed OK sometimes, but often the first time I print to it, it prints 
garbage. I have stop CUPS, clear the print queue, reset the printer  restart 
CUPS (sometimes several times) before it will print correctly. Once it's 
right, it stays that way until I switch my computer off.
I've tried starting the computer with the printer on  with it off (which 
means I have to stop  restart cups before it will detect the printer), but 
either way I have this problem.
I assume that CUPS is somehow initialising the printer incorrectly sometimes.
Has anyone else experienced this problem, or have any suggestion for fixing it 
without the whole stop, reset, reload process?

Cheers,
Ian
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgprLzZveznGt.pgp
Description: signature


Re: Is it possible to set-up a USB Printer in Freebsd?

2004-07-15 Thread Jon Drews
Hi Mark:

 The Epson Stylus C20UX is fully supported according to LinuxPrinting.org:

http://www.linuxprinting.org/show_printer.cgi?recnum=Epson-Stylus_C20UX

Use the gimp print drivre they suggest at that URL.

That means that you can use CUPS and Gimp Print in FreeBSD.

1) Install cups and gimp print (in /usr/ports/print)
2) cd (as root i.e. #) to /usr/local/etc/rc.d and copy the
cups.sh.sample to cups.sh
3) Make sure that cups.sh is executable.
4) do: # ./cups.sh start
5) now that the cups daemon is started do:
# lynx http://localhost:631/admin
(you can also do this from a user account using a regular browser).
In both cases you will have to log into root. The web browser will pop
up a login.
6) You can now add a new printer through your browser. See the
screenshots here for an example:
http://www.silbsd.org/CUPS-NetBSD_landscape.html
I know this is for NetBSD but from step 5 to 15 it's the same on FreeBSD.

As for the USB part, that is handled during the web browser configuration.

   HTH,
   Jonathan

On Tue, 13 Jul 2004 23:33:12 -0700 (PDT), Mark Jayson Alvarez
[EMAIL PROTECTED] wrote:
 Hi,
 
   I have an old model Epson C20UX USB Printer and I
 usually print in my Windows OS(dual boot) using that
 printer. For long, I did not bother to read the
 section in the handbook(setting up printer) because as
 I have said earlier.. I print my MSWord document in
 Windows.. But now that I have deleted my Windows
 partition and I'm only running FreeBSD alone,
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is it possible to set-up a USB Printer in Freebsd?

2004-07-14 Thread Mark Jayson Alvarez
Hi,

  I have an old model Epson C20UX USB Printer and I
usually print in my Windows OS(dual boot) using that
printer. For long, I did not bother to read the
section in the handbook(setting up printer) because as
I have said earlier.. I print my MSWord document in
Windows.. But now that I have deleted my Windows
partition and I'm only running FreeBSD alone, I did a
quick skimming in the Setting Up Printer section of
the handbook and I have found out that, like the modem
installation, freebsd only supports printer connected
to serial or parallel ports..
  Now I have a big problem.. I can only think of two
things, either repartition my entire pc, and of
course.. the worst.. buy a new parallel/serial
printer..


Any idea what should I do???


Thanks,
-jay =(







__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to set-up a USB Printer in Freebsd?

2004-07-14 Thread epilogue
On Tue, 13 Jul 2004 23:33:12 -0700 (PDT)
Mark Jayson Alvarez [EMAIL PROTECTED] wrote:

 Hi,
 
   I have an old model Epson C20UX USB Printer and I
 usually print in my Windows OS(dual boot) using that
 printer. For long, I did not bother to read the
 section in the handbook(setting up printer) because as
 I have said earlier.. I print my MSWord document in
 Windows.. But now that I have deleted my Windows
 partition and I'm only running FreeBSD alone, I did a
 quick skimming in the Setting Up Printer section of
 the handbook and I have found out that, like the modem
 installation, freebsd only supports printer connected
 to serial or parallel ports..

you weren't kidding when you said skimming.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html

USB interfaces, named for the Universal Serial Bus, can run at even faster
speeds than parallel or RS232 serial interfaces. Cables are simple and
cheap. USB is superior to RS232 Serial and to Parallel for printing, but it
is not as well supported under UNIX® systems. A way to avoid this problem
is to purchase a printer that has both a USB interface and a Parallel
interface, as many printers do.

note that the degree of support available will more likely have to do with
the quality and popularity of your printer than with your usb port.  though
cheap ink jet win-printers are popular, they tend not to be nearly as well
supported as many of the somewhat more expensive laser printers.   (i don't
know which your model is.)

 Now I have a big problem.. I can only think of two
 things, either repartition my entire pc, and of
 course.. the worst.. buy a new parallel/serial
 printer..

if you insist.  though, i'd suggest a 3rd alternative - paying the
handbook a closer read. you might also find this article helpful.

http://www.onlamp.com/pub/a/bsd/2004/07/08/FreeBSD_Basics.html


hth,
epi

 
 Any idea what should I do???
 
 
 Thanks,
 -jay =(
 
 
 
 
 
 
   
 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - Send 10MB messages!
 http://promotions.yahoo.com/new_mail 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to set-up a USB Printer in Freebsd?

2004-07-14 Thread Kirk Strauser
On Wednesday 2004-07-14 01:33 am, Mark Jayson Alvarez wrote:

 I did a quick skimming in the Setting Up Printer section of the handbook
 and I have found out that, like the modem installation, freebsd only
 supports printer connected to serial or parallel ports..

That would be news to my HP LJ 1200.  From dmesg:

ulpt0: HewLett Packard HP LaserJet 1200, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

Have you tried connecting your USB printer to see if FreeBSD recognizes it?  
If it does, using CUPS to configure it usually easier than setting it up on 
Windows.
-- 
Kirk Strauser


pgp2UGgvgHNrg.pgp
Description: signature


Re: looking for usb printer/scanner combo

2004-03-29 Thread Bernd Walter
On Tue, Mar 16, 2004 at 08:41:50PM +0100, Tobias Roth wrote:
 hi
 
 i am looking for a color inkjet printer/scanner/copier combo.
 
 it should be cheap, supported under 5.2.1, rather small, have separate,
 cheaply available ink cartridges. it doesn't need to be fast or have any
 fancy features. price comes first, then quality.
 
 can someone recommend a model that won't give me any trouble?

Currently FreeBSD doesn't support any of those combos sufficiently.
That is because uscanner always claims the whole device instead of just
the scanner function so ulpt can't take the printing part.
You can detach, kldunload uscanner, reattach for printing, but this is
not very practical.

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help with Hewlett-Packard hp LaserJet 1000 USB PRINTER

2004-03-18 Thread freeman
Hi, all!

Does anybody help me with configure SUBJ printer on my Desktop system.
In the Handbook i didn't find any information about USB printers.
(please give me instructions by mail, because i have only mail
access to Internet).

This is my /var/log/messages:
Mar 18 17:43:24 freedot kernel: ulpt0: Hewlett-Packard hp LaserJet 1000, rev 
1.10/1.20, addr 2, iclass 7/1
Mar 18 17:43:24 freedot kernel: ulpt0: using bi-directional mode
Mar 18 17:47:37 freedot su: freeman to root on /dev/ttyp0
Mar 18 17:50:17 freedot lpd[32492]: lpd startup: logging=0
Mar 18 17:55:55 freedot lpd[32676]: restarting lp
Mar 18 17:55:55 freedot kernel: ulpt0: offline
Mar 18 17:55:55 freedot lpd[32676]: restarting lp
Mar 18 17:55:56 freedot kernel: ulpt0: offline
Mar 18 17:55:56 freedot lpd[32676]: restarting lp
Mar 18 17:55:56 freedot lpd[32676]: lp: job could not be printed 
(cfA011freedot.dot.net)
Mar 18 17:55:57 freedot lpd[32676]: mail sent to user root about job unknown 
on printer lp (FATALERR)
Mar 18 17:56:31 freedot lpd[32698]: restarting lp
Mar 18 17:56:32 freedot last message repeated 3 times
Mar 18 17:56:33 freedot lpd[32698]: lp: job could not be printed 
(cfA012freedot.dot.net)
Mar 18 17:56:33 freedot lpd[32698]: mail sent to user freeman about job 
unknown on printer lp (FATALERR)

and strings for printer in /etc/printcap:
lp|local line printer:\
:sh:\
:lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:

Thanks in advance!
-- 
..:::..
:: Sincerely yours, freeman! ::
:::)::
:: FreeBSD is power to serve!::
..:::..

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help with Hewlett-Packard hp LaserJet 1000 USB PRINTER

2004-03-18 Thread Warren Block
On Thu, 18 Mar 2004, freeman wrote:

 Does anybody help me with configure SUBJ printer on my Desktop system.
 In the Handbook i didn't find any information about USB printers.
 (please give me instructions by mail, because i have only mail
 access to Internet).

 and strings for printer in /etc/printcap:
 lp|local line printer:\
   :sh:\
   :lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:

According to http://www.linuxprinting.org, the LaserJet 1000 is a
winprinter, and you have to download the firmware to it before use. I
don't know if there's a port for the zjs driver; apsfilter, maybe.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


looking for usb printer/scanner combo

2004-03-16 Thread Tobias Roth
hi

i am looking for a color inkjet printer/scanner/copier combo.

it should be cheap, supported under 5.2.1, rather small, have separate,
cheaply available ink cartridges. it doesn't need to be fast or have any
fancy features. price comes first, then quality.

can someone recommend a model that won't give me any trouble?

thanks, t.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB printer setup

2004-03-02 Thread Gareth Bailey
Ok. I read through the handbook pages on printing and it doesn't have too much on usb 
printers. Can anyone suggest where i might start with setting up my USB Samsung laser 
printer? (My system loads it on ulpt0 so kernel is fine!)

Thanks Gareth
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer setup

2004-03-02 Thread Warren Block
On Tue, 2 Mar 2004, Gareth Bailey wrote:

 Ok. I read through the handbook pages on printing and it doesn't have
 too much on usb printers. Can anyone suggest where i might start with
 setting up my USB Samsung laser printer? (My system loads it on ulpt0
 so kernel is fine!)

[Please wrap your lines at 72 columns, thanks.]

It's the same as a parallel port printer setup, just use /dev/ulpt0
instead of /dev/lpt0 in the printcap definition.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to configure usb printer with ulpt0 rather than ugen0?

2003-12-09 Thread Aaron
Note: recently asked, I tried someone's suggestion, still can't do it.

How do i associate my usb printer with ulpt0, rather than the ugen0 that 
it boots up with?

Original question and data repeated below, the only difference is:
- My officejet k80xi usb printer is the only usb equipment connected to 
my computer.  I have moved it to the first physical port, so now the 
printer shows up on ugen0.  Still nothing on ulpt[01].
- I have removed the hub mentioned below.  Nothing on the second 
physical port, only the usb printer on ugen0
- all data/indications below the same, except the printer is now on 
ugen0 rather than ugen1.

I can't figure out how to bind my usb printer to ulpt0,
rather than ugen1 as it is now.
My physical setup:
first usb port: logitech wingman hub
second usb port: HP OfficeJet K80xi
The hub has an HP 7400c scanjet, and the cable for a camera,
with nothing currently connected to the cable.  In a
previous freebsd install with this same setup, I've
downloaded pictures through that cable, haven't tried that
yet with this install.  Never tried scanning.
But back to printing ...

Here's my failure indication (besides not printing).  I'm
using apsfilter to set up my printer.  When I try printing a
test page I get this:
  Printing test page...
  -rw-r--r--  1 root  wheel  3808147 Dec  7 13:56 
/tmp/apsfilter320/test_page.aps
  /usr/local/share/apsfilter/SETUP: line 1: /dev/ulpt0: Device not 
configured

So I guess I have to figure out what Device not configured
means, and how to fix it.
I'm using the generic kernel supplied with FreeBSDMall's 4.9
CD set
  # uname -a
  FreeBSD haiku.krelm.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct
  27 17:51:09 GMT 2003
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
All manner of usb is enabled in the generic kernel,
/usr/src/sys/i386/conf/GENERIC:
  # USB support
  device  uhci# UHCI PCI-USB interface
  device  ohci# OHCI PCI-USB interface
  device  usb # USB Bus (required)
  device  ugen# Generic
  device  uhid# Human Interface Devices
  device  ukbd# Keyboard
  device  ulpt# Printer
  device  umass   # Disks/Mass storage - Requires scbus 
and da
  device  ums # Mouse
  device  uscanner# Scanners
  device  urio# Diamond Rio MP3 Player
  # USB Ethernet, requires mii
  device  aue # ADMtek USB ethernet
  device  cue # CATC USB ethernet
  device  kue # Kawasaki LSI USB ethernet

Some dmesg output:

  # dmesg | grep -i ugen
  ugen0: hp hp scanjet 7400c, rev 1.00/0.01, addr 3
  ugen1: Hewlett-Packard OfficeJet  K80xi, rev 1.00/1.00, addr 4
  # dmesg | grep -i usb
  uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x1080-0x109f 
irq 9 at device 7.2 on pci0
  usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
  usb0: USB revision 1.0
  uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2

  # dmesg | grep -i ulpt
  #
  # dmesg | grep -i lpt
  lpt0: Printer on ppbus0
  lpt0: Interrupt-driven port
usbdevs output:

  # usbdevs -dv
  Controller /dev/usb0:
  addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), 
rev 1.00
uhub0
   port 1 addr 2: power 100 mA, config 1, UT-USB41 hub(0x1446), Texas 
Instruments(0x0451), rev 1.00
 uhub1
port 1 addr 3: self powered, config 1, hp scanjet 7400c(0x0801), 
hp(0x03f0), rev 0.01
  ugen0
port 2 powered
port 3 powered
port 4 powered
   port 2 addr 4: self powered, config 1, OfficeJet  K80xi(0x0811), 
Hewlett-Packard(0x03f0), rev 1.00
 ugen1

At this point let me ask, if a new entry in /etc/usbd.conf
turns out to be the solution, would the values shown above
for port 2 addr 4 be plugged into that entry?  If so, how to
translate the rev 1.00 to usbd.conf format?  Finally, if
that *is* the solution, would anyone care to post their
entry for a usb printer?
Back to the data:

If I unplug the cable from the printer, the console says
this, immediately:
  ugen1: at uhub0 port 2 (addr 4) disconnected
  ugen1: detached
Plugging the cable back in gets this on the console,
immediately:
  ugen1: Hewlett-Packard OfficeJet  K80xi, rev 1.00/1.00, addr 4

After disconnecting and connecting the cable, here's what
dmesg says, which appears to be a combination of what it
said before disconnect/connect, plus the console message
just reported:
  # dmesg | grep -i ugen
  ugen0: hp hp scanjet 7400c, rev 1.00/0.01, addr 3
  ugen1: Hewlett-Packard OfficeJet  K80xi, rev 1.00/1.00, addr 4
  ugen1: at uhub0 port 2 (addr 4) disconnected
  ugen1: detached
  ugen1: Hewlett-Packard OfficeJet  K80xi, rev 1.00/1.00, addr 4
The rest of dmesg wrt to usb hasn't changed.

Here's my devices:
  # ll ulpt* unlpt* ugen*
  crw-rw  1 root  operator  114,   0 Nov 26 11:07 ugen0
  crw-rw  1 root  operator  114,   1

still about Newbie USB Printer Problem

2003-11-22 Thread Zhang Weiwu
Hello. I read the previous post Newbie USB Printer Problem and its 
follow-ups, well, I am more newbie than him:).

Now I wish to connect my Canon S400SP printer with my Thinkpad 600X 
notebook (running 5.1-RELEASE), since I never printed anything with 
FreeBSD before,
1. Do I need a specific filter for the printer to print graphic?
2. Looking into the ports, it seems most Canon printer filters are for 
Bubble Jet printers. I think my printer is not Bubble Jet because the 
printer's manual didn't say so. So is there a filter for my printer at all?

Thank you.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie USB Printer Problem

2003-11-21 Thread Barry Bouwsma
[Drop hostname part of IPv6-only address above to obtain IPv4-capable e-mail,
 or best of all, don't reply to me at all]

A bit late for this, but here goes anyway, in case it helps:

(Please don't top-post; it makes it difficult for me to reply and keep
wanted context while stripping away unimportant parts...)

 I did both of those of the suggestions, but still nothing. :(

   I cannot get my HP Deskjet 3420 printer to work. I've read all the prior
 posts
   for USB printers, checked the handbook and the complete freebsd book.

Do you know that you need the hpijs package to be able to talk to your
printer?  (Apologies if you already have it installed)
As seen on the Linuxprinting.org website -- highly recommended as a
reference for anything printer-related -- from the HP FAQ:

 _
Section 13: HP DeskJet 3420
   13.0 See also the HP DeskJet 3420 database page.
   13.1 Does this printer work with gimp-print?
  No, this printer does not support PCL. This printer only works
  with the HPIJS software from Hewlett Packard.
 _

You can install hpijs from ports, or build it without problems from
the source.  This should help you to print, and it comes with heaps
of documentation about installing and configuring it.  Also, look at
the page referred to above for possibly more info...


Barry Bouwsma

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using USB Printer

2003-11-14 Thread List
I have compaq A1000 printer which is USB only. How do enable it. I have 
enabled USB in rc.conf. 
thanks

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie USB Printer Problem

2003-11-09 Thread Alex Kelly
Hi, Warren, thanks for writing.

I did both of those of the suggestions, but still nothing. :(

I tried CUPS also. After installation and configuration of CUPS, cupsd ran
fine. But, when it attempted to print anything, the print attempts were
listed as cancelled in the list of web-based print jobs (I did it through
konqueror at localhost:631).

I'm going to keep trying. :)

- Original Message - 
From: Warren Block [EMAIL PROTECTED]
To: Alex Kelly [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, November 08, 2003 11:02 PM
Subject: Re: Newbie USB Printer Problem


 On Sat, 8 Nov 2003, Alex Kelly wrote:

  I cannot get my HP Deskjet 3420 printer to work. I've read all the prior
posts
  for USB printers, checked the handbook and the complete freebsd book.
After
  doing so, I've come up with this...
 
  I edited printcap in /etc to look like this:
  lp|ps|local hp deskjet 3420:\
 
:lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh:mx#0:\
  :if=/usr/local/libexec/magicfilter/deskjet-filter:

 Did you create the /var/spool/output/lpd directory?  Actually, you
 should probably create one with the same name as the printer, since lpd
 doesn't want to share directories between multiple printers.

  I issued this command to test the printer:
  lptest  /dev/ulpt0
 
  The printer did nothing.
 
  Any suggestions?

 That's a separate issue, since 'lptest  /dev/ulpt0' doesn't go anywhere
 near lpd.  Some HP printers will flash an LED when they are receiving
 data, so you could look for that.  Or it might be that the printer won't
 print anything until it gets a form feed, so you could send it one
 afterwards:

 perl -e 'print chr(12)'  /dev/ulpt0

 -Warren Block * Rapid City, South Dakota USA
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie USB Printer Problem

2003-11-09 Thread Chris Howells
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

On Sunday 09 November 2003 12:35, Alex Kelly wrote:
 fine. But, when it attempted to print anything, the print attempts were
 listed as cancelled in the list of web-based print jobs (I did it through
 konqueror at localhos

In cupsd.conf chage the logging level to debug, and run 'tail -f /var/log/
cups/error_log' -- probably something very trivial.

- -- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/rjZlF8Iu1zN5WiwRAkCEAJ9yWfvze0Kfy1QzJLR1Cqk3QuFfbwCdHCqp
Po14kzWpHmRrVInfPAKaAfo=
=aJQH
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie USB Printer Problem

2003-11-09 Thread Alex Kelly
Thanks, Chris.

I'll make the change and hopefully I'll be able to pin down the problem to
something more specific.

In cupsd.conf chage the logging level to debug, and run 'tail -f /var/log/
cups/error_log' -- probably something very trivial.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Newbie USB Printer Problem

2003-11-08 Thread Alex Kelly
I cannot get my HP Deskjet 3420 printer to work. I've read all the prior posts 
for USB printers, checked the handbook and the complete freebsd book. After 
doing so, I've come up with this...

The kernel found the printer (dmesg):
ulpt0: hp deskjet 3420, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

I edited printcap in /etc to look like this:
lp|ps|local hp deskjet 3420:\
:lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh:mx#0:\
:if=/usr/local/libexec/magicfilter/deskjet-filter:

I added the line lpd_enable=YES to rd.conf in /etc

I rebooted. lpd started properly and shows up under top and ps

I issued this command to test the printer:
lptest  /dev/ulpt0

The printer did nothing.

Any suggestions?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie USB Printer Problem

2003-11-08 Thread Chris Howells
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

On Sunday 09 November 2003 00:44, Alex Kelly wrote:
 I cannot get my HP Deskjet 3420 printer to work. I've read all the prior
 posts for USB printers, checked the handbook and the complete freebsd book.
 After doing so, I've come up with this...

Any particular reason to use lpd? Without trying to start a holy war, I 
personally much prefer CUPS, it's far easier to configure (just go to http://
localhost:631), and combined with the hpijs port works perfectly without any 
messing about with my HP DeskJet 3820.

- -- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/rZAuF8Iu1zN5WiwRAngLAJ9hxLEXzt7u1uB8CVcWOstoj55jVACgo72i
GYt92JSaSJk1jGWO6Hwv+II=
=sQWS
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie USB Printer Problem

2003-11-08 Thread Alex Kelly
No particular reason I tried lpd.
I'll try CUPS and see what happens.

On Saturday 08 November 2003 07:53 pm, Chris Howells wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 On Sunday 09 November 2003 00:44, Alex Kelly wrote:
  I cannot get my HP Deskjet 3420 printer to work. I've read all the prior
  posts for USB printers, checked the handbook and the complete freebsd
  book. After doing so, I've come up with this...

 Any particular reason to use lpd? Without trying to start a holy war, I
 personally much prefer CUPS, it's far easier to configure (just go to
 http:// localhost:631), and combined with the hpijs port works perfectly
 without any messing about with my HP DeskJet 3820.

 - --
 Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
 Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
 KDE/Qt/C++/PHP Developer: http://www.kde.org
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (FreeBSD)

 iD8DBQE/rZAuF8Iu1zN5WiwRAngLAJ9hxLEXzt7u1uB8CVcWOstoj55jVACgo72i
 GYt92JSaSJk1jGWO6Hwv+II=
 =sQWS
 -END PGP SIGNATURE-
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie USB Printer Problem

2003-11-08 Thread Warren Block
On Sat, 8 Nov 2003, Alex Kelly wrote:

 I cannot get my HP Deskjet 3420 printer to work. I've read all the prior posts
 for USB printers, checked the handbook and the complete freebsd book. After
 doing so, I've come up with this...

 I edited printcap in /etc to look like this:
 lp|ps|local hp deskjet 3420:\
 :lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh:mx#0:\
   :if=/usr/local/libexec/magicfilter/deskjet-filter:

Did you create the /var/spool/output/lpd directory?  Actually, you
should probably create one with the same name as the printer, since lpd
doesn't want to share directories between multiple printers.

 I issued this command to test the printer:
 lptest  /dev/ulpt0

 The printer did nothing.

 Any suggestions?

That's a separate issue, since 'lptest  /dev/ulpt0' doesn't go anywhere
near lpd.  Some HP printers will flash an LED when they are receiving
data, so you could look for that.  Or it might be that the printer won't
print anything until it gets a form feed, so you could send it one
afterwards:

perl -e 'print chr(12)'  /dev/ulpt0

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with USB printer HP LaserJet 1300

2003-09-26 Thread Sergey Zaikov
 Hello, [EMAIL PROTECTED]

Some times ago I have seek technical support about problem with USB printer HP
LaserJet 1300: its detected as ugen instead of ulpt.

B.Walter ([EMAIL PROTECTED]) have make a patch. I try it and can say
that problem has been eliminated.

But Walter tell me that he so busy and can't commit it. I so can't commit it
because I have of serios damage of optic-fiber cable (this letter I send via
FIDOnet).

Is this patch died now?

Thank you!

  Sergey.
...  -  p ,p   
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with USB printer HP LaserJet 1300

2003-09-18 Thread Sergey Zaikov
   Hello, [EMAIL PROTECTED]

I have a USB printer HP LaserJet 1300. My FreeBSD detected it as ugen device
instead ulpt device.
ugen0: Hewlett-Packard hp LaserJet 1300, rev 1.10/1.00, addr 2
What is wrong?

uname -a:
FreeBSD acc.acc.tula.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #3: Thu Aug 28 15:43:53
MSD 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Z  i386

usbdevs -v:
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00
 port 1 powered
 port 2 addr 2: self powered, config 1, hp LaserJet 1300(0x1017),
Hewlett-Packard(0x03f0), rev 1.00


Bye!

  Sergey.
...  -  p ,p   
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB printer?

2003-08-14 Thread Daniel Nielsen
On Sunday 10 August 2003 18:32, Derrick Ryalls wrote:
  Hi (again)
 
  I recently bought a brother 5050 laser (postscript level 3).
  Connected it via
  usb, configured cups to use it. And it worked like a charm.
  However, now I
  discover that It doesnt work unless the printer is powered on (not in
  standby) when the computer boots. If I power it on
  afterwards, the printer is
  detected:
 
  zits root # dmesg | grep ulpt
  ulpt0: Brother HL-5050, rev 2.00/1.00, addr 3, iclass 7/1
  ulpt0: using bi-directional mode
  zits root #
 
  And when I turn off the printer also:
  zits root # dmesg | grep ulpt
  snip
  ulpt0: at uhub0 port 2 (addr 3) disconnected
  ulpt0: detached
  zits root #
 
  But when I try to print, the job shows up on the cups webpage
  as processing.
  And nothing happens!
  I get a process:
  zits root # ps aux | grep usb
  snip
  root   1033  0.0  0.2  2616 1168  ??  S 3:22PM   0:00.00
  usb:/dev/ulpt0 24
  Test Page 1 (usb)
  zits root #
 
  But it never finishes. What could I do to make it work
  proberly? If the printer enters standby after boot, then it
  also doesn't print, with the
  same symptoms.

 Have you tried restarting cups after the printer is detected?


Yes I have, to no avail. It seems to be a USB hotplugging issue of some kind. 
On a side note; It works perfectly in winXP...

/Daniel

-- 
There are no great men, only great challenges that ordinary men are forced
by circumstances to meet.
-- Admiral William Halsey

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: USB printer?

2003-08-10 Thread Derrick Ryalls
 Hi (again)
 
 I recently bought a brother 5050 laser (postscript level 3). 
 Connected it via 
 usb, configured cups to use it. And it worked like a charm. 
 However, now I 
 discover that It doesnt work unless the printer is powered on (not in 
 standby) when the computer boots. If I power it on 
 afterwards, the printer is 
 detected:
 
 zits root # dmesg | grep ulpt
 ulpt0: Brother HL-5050, rev 2.00/1.00, addr 3, iclass 7/1
 ulpt0: using bi-directional mode
 zits root #
 
 And when I turn off the printer also:
 zits root # dmesg | grep ulpt
 snip
 ulpt0: at uhub0 port 2 (addr 3) disconnected
 ulpt0: detached
 zits root #
 
 But when I try to print, the job shows up on the cups webpage 
 as processing. 
 And nothing happens!
 I get a process:
 zits root # ps aux | grep usb
 snip
 root   1033  0.0  0.2  2616 1168  ??  S 3:22PM   0:00.00 
 usb:/dev/ulpt0 24 
 Test Page 1 (usb)
 zits root #
 
 But it never finishes. What could I do to make it work 
 proberly? If the printer enters standby after boot, then it 
 also doesn't print, with the 
 same symptoms.
 

Have you tried restarting cups after the printer is detected?


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB Printer

2003-08-01 Thread om52
I have USB Printer Lexmarkz 35. How i can printing with it in FreeBSD
(I have 4.5 ; recompilled kernel - add device pcm)? How tune it?
System seeing it: command usbdevs gives answer something like this:
addr 1: ...
 addr 2: ..jet printer Lexmark z35.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to use USB printer ?

2003-08-01 Thread om52
Hello! I have USB Printer Lexmarkz 35. How i can printing with it
in FreeBSD(I have 4.5 ; recompilled kernel - add device pcm and usb
printer)?

I haven't any drivers for this printer(only distributed for Windows.

How tune this printer to work under FreeBSD?
System seeing it: command usbdevs gives answer something like this:
addr 1: ...
 addr 2: ..jet color printer Lexmark z35.
 

  

--
Thankyou
Best regards,
 om52  mailto:[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Troubleshooting USB printer detection

2003-06-15 Thread Xavier de Labouret
Hello,

My USB printer, an HP Photosmart P1115, is desperately seen by FreeBSD 
as a ugen device, i can't get it to be seen as an ulpt device. Any help 
would be much appreciated, i have been trying various tricks without 
success. And my wife will only shift from Linux if she can print on 
FreeBSD, which is a good motivation :).

My kernel is stock 4.8-STABLE, it has in particular the following 
options for USB:

 # USB support
 options USB_DEBUG  
 device  uhci# UHCI PCI-USB interface
 device  ohci# OHCI PCI-USB interface
 device  usb # USB Bus (required)
 device  ugen# Generic
 device  uhid# Human Interface Devices
 device  ukbd# Keyboard
 device  ulpt# Printer

Here are my USB devices, my printer is seen

 drakkar# usbdevs
 addr 1: UHCI root hub, VIA
  addr 2: Standard USB Hub, Atmel
   addr 3: product 0x08b0, Logitech
   addr 4: photosmart 1115, hp # Yes!
... but unfortunately as as ugen:

 drakkar# dmesg | grep ugen
 ugen0: Logitech product 0x08b0, rev 1.10/0.00, addr 3
 ugen1: hp photosmart 1115, rev 1.10/1.00, addr 4# Sigh
I went further, and installed udesc_dump:

 drakkar# udesc_dump /dev/ugen1
 Standard Device Descriptor:
   bLength18
   bDescriptorType01
   bcdUSB 0110
   bDeviceClass   00
   bDeviceSubClass00
   bDeviceProtocol00
   bMaxPacketSize 8
   idVendor   03f0
   idProduct  3402
   bcdDevice  0100
   iManufacturer  1
   iProduct   2
   iSerialNumber  3
   bNumConfigurations 1
 Configuration 0:
 Standard Configuration Descriptor:
   bLength 9
   bDescriptorType 02
   wTotalLength55
   bNumInterface   1
   bConfigurationValue 1
   iConfiguration  0
   bmAttributesc0 (self-powered)
   bMaxPower   1 (2 mA)
 Standard Interface Descriptor:
   bLength9
   bDescriptorType04
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints  2
   bInterfaceClass07
   bInterfaceSubClass 01
   bInterfaceProtocol 03
   iInterface 0
 Standard Endpoint Descriptor:
   bLength  7
   bDescriptorType  05
   bEndpointAddress 01 (out)
   bmAttributes 02 (Bulk)
   wMaxPacketSize   64
   bInterval0
 Standard Endpoint Descriptor:
   bLength  7
   bDescriptorType  05
   bEndpointAddress 81 (in)
   bmAttributes 02 (Bulk)
   wMaxPacketSize   64
   bInterval0
 Standard Interface Descriptor:
   bLength9
   bDescriptorType04
   bInterfaceNumber   0
   bAlternateSetting  1
   bNumEndpoints  2
   bInterfaceClass07
   bInterfaceSubClass 01
   bInterfaceProtocol 02
   iInterface 0
 
 Standard Endpoint Descriptor:
   bLength  7
   bDescriptorType  05
   bEndpointAddress 01 (out)
   bmAttributes 02 (Bulk)
   wMaxPacketSize   64
   bInterval0

 Standard Endpoint Descriptor:
   bLength  7
   bDescriptorType  05
   bEndpointAddress 81 (in)
   bmAttributes 02 (Bulk)
   wMaxPacketSize   64
   bInterval0
 
 Codes Representing Languages by the Device:
   bLength  4
   bDescriptorType  03
   wLANGID[0]   0409

 String (index 1): hp

 String (index 2): photosmart 1115

 String (index 3): HU22M1S1HWES

...now i am puzzled, because  for what  i know, the interface 
Class/SubClass/Protocol for my printer should be enough to be matched by 
ulpt.c:

   bInterfaceClass07
   bInterfaceSubClass 01
   bInterfaceProtocol 03
My kernel is compiled with USB_DEBUG, and the following sysctl flags are 
set on:

 hw.usb.debug=1
 hw.usb.ulpt.debug=1
  
...but nothing much showed up in /var/log/messages, as i would have 
expected.

Oh, and usbd_enable=YES is set in my rc.conf.

So i am completely blocked. I found two other users blocked with USB 
printers detection in the mailing lists. Have we all missed something? 
Or have we all stumbled on the same bug in the USB layer?

Thank you in advance for any help,

Xavier de Labouret
PS: if you don't mind, please CC: me to your reply, because i am not a 
freebsd-questions subscriber!



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Printer

2003-04-05 Thread Konrad Scorciapino
Hi,

I found the proper documentation at 
http://www.linuxprinting.org/download/printing/hpijs/hpijs_readme.html.

But when I tried to test it, I got an error message:

[EMAIL PROTECTED] /home/konrad # enscript -p /etc/motd | gs -q -dNOPAUSE 
-sOutputFile=- -sDEVICE=ijs -sljsServer=hpijs -dljsUseOutputFD 
-sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel=DESKJET 656C 
-sljsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,Quality:FullBleed=0,Quality:MediaPosition=7
 
 /dev/ultp0
GNU Ghostscript 7.05: ijs server not specified
^C

Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Printer

2003-04-05 Thread Mike Meyer
In [EMAIL PROTECTED], Konrad Scorciapino [EMAIL PROTECTED] typed:
 I found the proper documentation at 
 http://www.linuxprinting.org/download/printing/hpijs/hpijs_readme.html.
 
 But when I tried to test it, I got an error message:
 
 [EMAIL PROTECTED] /home/konrad # enscript -p /etc/motd | gs -q -dNOPAUSE 
 -sOutputFile=- -sDEVICE=ijs -sljsServer=hpijs -dljsUseOutputFD 
Are these right ^ ^

Do you really specify l and not i for the server and UseOutputFD?

mike


-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Printer

2003-04-05 Thread Konrad Scorciapino
Hmm... I see...

Ok, its fixed and I got no more error messages... Still, the program has 
locked... Here is the output:

[EMAIL PROTECTED] /home/konrad # enscript -p /etc/motd | gs -q -dNOPAUSE 
-sOutputFile=- -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD 
-sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel=DESKJET 656C 
-sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,Quality:FullBleed=0,PS:MediaPosition=7
 
 /dev/ultp0
^C
[EMAIL PROTECTED] /home/konrad #


Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Printer

2003-04-05 Thread Warren Block
On Sat, 5 Apr 2003, Konrad Scorciapino wrote:

 Ok, its fixed and I got no more error messages... Still, the program has
 locked... Here is the output:

 [EMAIL PROTECTED] /home/konrad # enscript -p /etc/motd | gs -q -dNOPAUSE
   
You are telling enscript to write output to /etc/motd.  Check and see if
/etc/motd has been overwritten.  After that, use -p- to have enscript
output to stdout: enscript -p- /etc/motd | gs ...

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Printer

2003-04-05 Thread Konrad Scorciapino
Hi,

 You are telling enscript to write output to /etc/motd.  Check and see if
 /etc/motd has been overwritten.  

Yes, after that, /etc/motd got blank


 After that, use -p- to have enscript
 output to stdout: enscript -p- /etc/motd | gs ...

After that, I got the following message:

[EMAIL PROTECTED] /home/konrad # enscript -p- /etc/motd | gs -q -dNOPAUSE 
-sOutputFile=- -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD 
-sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel=DESKJET 656C 
-sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,Quality:FullBleed=0,PS:MediaPosition=7
 
 /dev/ultp0
[ 1 pages * 1 copy ] left in -
[EMAIL PROTECTED] /home/konrad #

Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >