Re: USB printer problem [SOLVED]
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
Re: USB printer problem
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
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
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
Re: USB / printer woes
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
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
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
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
-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
-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
-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
-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
-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
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
-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
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
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
-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
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
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
-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
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
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
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]
Re: USB printer
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
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
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
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: USB printer and native BSD printing system
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]
Re: USB Printer setup Help
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
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
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
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
Re: usb printer-scanner
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
-- 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]
Re: usb printer-scanner
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
Re: USB printer setup
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]
Re: USB printer?
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?
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]
Re: USB Printer
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
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
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
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
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]
Re: Re: USB Printer
* Konrad Scorciapino ([EMAIL PROTECTED]) wrote: == Hi, == == Whichever one you want. They should all work. you probably don't need == the x11 port, so one of the two -nox11 versions. One is licensed with == GNU, one with an open source license that permits commercial reuse if == you pay a licensing fee. == == Ok, I've installed both ghostscript and magicfilter. How should I proceed now? To be honest, apsfilter works _great_ for me. /usr/ports/print/apsfilter if you don't want to wrestle with the printcap on your own. -- Joshua ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Printer
In [EMAIL PROTECTED], Konrad Scorciapino [EMAIL PROTECTED] typed: Install enscript so you can generate postscript files. Then read the ijs documentation to figure out what flags to feed it to make produce output for your printer. You can test this by doing something like: Where can I find its documentation? I tried `man ijs` and `man -k ijs`, but got nothing. I'm not sure. Try pkg_info -L ghostscript\* to get a list of files, and look for a README or something on it. Alternatively, try googling for ijs documentation. Also, please leave freebsd-questions on the mail. Someone out there may have just found the ijs documentation, and would be able to tell you where it is. 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
In [EMAIL PROTECTED], Konrad Scorciapino [EMAIL PROTECTED] typed: Whichever one you want. They should all work. you probably don't need the x11 port, so one of the two -nox11 versions. One is licensed with GNU, one with an open source license that permits commercial reuse if you pay a licensing fee. Ok, I've installed both ghostscript and magicfilter. How should I proceed now? Install enscript so you can generate postscript files. Then read the ijs documentation to figure out what flags to feed it to make produce output for your printer. You can test this by doing something like: enscript -p - /etc/motd | gs -q -dNOPAUSE -sOutputFile=- [ijs options] /dev/ulpt0 If things are done right, you should get a copy of /etc/motd on the printer. After that, you need to set up a filter file and printcap. 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
Hi, What did you try sending to /dev/ulpt0 that caused things to lock up? Anything I tried caused the system to lock up. Here are some examples [EMAIL PROTECTED] /home/konrad # lptest /dev/ulpt0 ^C [EMAIL PROTECTED] /home/konrad # ls /dev/ulpt0 ^C [EMAIL PROTECTED] /home/konrad # cat /etc/cvsupfile /dev/ulpt0 ^C And how do I know whether my printer is a winprinter or not? The standard way is by sending it flat ascii text, and seeing if it prints that. If it prints the text you sent, it's not a winprinter. If it does nothing, or prints gibberish, it's probably a winprinter. So it means that my printer is a winprinter? Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Printer
In [EMAIL PROTECTED], Konrad Scorciapino [EMAIL PROTECTED] typed: What did you try sending to /dev/ulpt0 that caused things to lock up? Anything I tried caused the system to lock up. Here are some examples [EMAIL PROTECTED] /home/konrad # lptest /dev/ulpt0 [EMAIL PROTECTED] /home/konrad # ls /dev/ulpt0 [EMAIL PROTECTED] /home/konrad # cat /etc/cvsupfile /dev/ulpt0 And how do I know whether my printer is a winprinter or not? The standard way is by sending it flat ascii text, and seeing if it prints that. If it prints the text you sent, it's not a winprinter. If it does nothing, or prints gibberish, it's probably a winprinter. So it means that my printer is a winprinter? Ok, I misinterpreted system locked up to mean your FreeBSD system froze. From the looks of things, that's not the case - the sending program just locks up. It's probably a winprinter. You can use those on FreeBSD if there's a driver for it for ghostscript. The ijs driver should support the 656C. From there, you can either install apsfilter - which will install an a2ps port to print ascii, or install magicfilter and then use your favorite ascii to postscript printing tool to print straight text. I prefer enscript for that. Either one will detect various graphics formats and automatically translate them to postscript to be printed via ghostscript. 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
In [EMAIL PROTECTED], Konrad Scorciapino [EMAIL PROTECTED] typed: It's probably a winprinter. You can use those on FreeBSD if there's a driver for it for ghostscript. The ijs driver should support the 656C. There are 5 ghostscriptlike ports in /usr/ports/print: ghostscript-afpl-nox11, ghostscript-gnu-commfont, ghostscript-gnu, ghostscript-afpl and ghostscript-gnu-nox11. Whichever one you want. They should all work. you probably don't need the x11 port, so one of the two -nox11 versions. One is licensed with GNU, one with an open source license that permits commercial reuse if you pay a licensing fee. How did this -questions get dropped from this? I've put it back. 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
Hi, Whichever one you want. They should all work. you probably don't need the x11 port, so one of the two -nox11 versions. One is licensed with GNU, one with an open source license that permits commercial reuse if you pay a licensing fee. Ok, I've installed both ghostscript and magicfilter. How should I proceed now? Thank you! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Printer
How can I configure a USB Printer on FreeBSD? Actually I have a Deskjet 656c from HP and I've tried to send something to /dev/ulpt0, but the system simply locked up. if ulpt0 is showing up in dmesg, then you have the printer configured. What to do next depends on what you want to do with the printer - and whether or not the deskjet is a winprinter. ulpt0 is showing and it detects my printer type. Here is the output: [EMAIL PROTECTED] ~ dmesg | grep ulpt0 ulpt0: HEWLETT-PACKARD DESKJET 656C, rev 1.10/1.10, addr 2, iclass 7/1 I want to be able to print all popular kinds of files. How can I proceed? And how do I know whether my printer is a winprinter or not? Thank you! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Printer
In [EMAIL PROTECTED], Konrad Scorciapino [EMAIL PROTECTED] typed: How can I configure a USB Printer on FreeBSD? Actually I have a Deskjet 656c from HP and I've tried to send something to /dev/ulpt0, but the system simply locked up. if ulpt0 is showing up in dmesg, then you have the printer configured. What to do next depends on what you want to do with the printer - and whether or not the deskjet is a winprinter. ulpt0 is showing and it detects my printer type. Here is the output: [EMAIL PROTECTED] ~ dmesg | grep ulpt0 ulpt0: HEWLETT-PACKARD DESKJET 656C, rev 1.10/1.10, addr 2, iclass 7/1 What did you try sending to /dev/ulpt0 that caused things to lock up? I want to be able to print all popular kinds of files. How can I proceed? You need to install a printer filter program. The most popular one is apsfilter, because it handles all the details of the setup. The downside is that it's a honking big shell script that treats all printers as if they were winprinters. I prefer magicfilter, which is a C program that interprets filter files to control things, and will handle flat ascii or even PCL reasonably. The downside of it is that you have to set up your printcap and the filter file by hand. I'll be glad to help you with that if you want to go that way. Both magicfilter and apsfilter are available as ports. And how do I know whether my printer is a winprinter or not? The standard way is by sending it flat ascii text, and seeing if it prints that. If it prints the text you sent, it's not a winprinter. If it does nothing, or prints gibberish, it's probably a winprinter. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix 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
In 200303301644.13393.Konrad Scorciapino , Konrad Scorciapino typed: How can I configure a USB Printer on FreeBSD? Actually I have a Deskjet 656c from HP and I've tried to send something to /dev/ulpt0, but the system simply locked up. if ulpt0 is showing up in dmesg, then you have the printer configured. What to do next depends on what you want to do with the printer - and whether or not the deskjet is a winprinter. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix 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 setup
In [EMAIL PROTECTED], Remington L. [EMAIL PROTECTED] typed: FreeBSD bathory.aria 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #1: Thu Jan 23 11:12:16 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TheGateV1 i386 For the past few days ive been attempting to set up my printer and i've had no luck. I have a HP Deskjet 3420, ulpt0: hp deskjet 3420, rev 2.00/1.00, addr 3, iclass 7/1. This morning i set up my /etc/printcap like this: Is the quoted string from dmesg? If not, what are you getting from dmesg for ulpt0? # HP Deskjet 3420 lp|lj|HP Deskjet 3420:\ :lp=/dev/ulpt0:sd=/var/spool/lpd:\ :lf=/var/log/lpd-errs:sh:mx#0:\ :if=/usr/local/libexec/lpfilter:\ I also edited my /etc/rc.conf to lpd_enable=YES And then i rebooted and tried to print something: cat /etc/rc.conf /dev/ulpt0 And nothing printed. Any suggestions on what i'm doing wrong? Two possibilities here. When this happened to me, the USB device shared an IRQ with another device. Changing that solved the problem. The other is that the printer is a Winprinter, meaning that it can't print simple ascii text, but has to be fed a rendered image of the page. if ghostscript has a driver for the printer, you might try something like: enscript -o - /etc/rc.conf | gs -sOutputFile=/dev/ulpt0 -dNOPAUSE -sDEVICE=... with ... replaced by the appropriate device driver and any driver-specific flags you may want to use. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Printer setup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Saturday 25 January 2003 20:12, Remington L. wrote: FreeBSD bathory.aria 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #1: Thu Jan 23 11:12:16 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TheGateV1 i386 snip And then i rebooted and tried to print something: cat /etc/rc.conf /dev/ulpt0 And nothing printed. Any suggestions on what i'm doing wrong? I'm not entirely sure, but I have a feeling that you have to use the hpijs drivers for this model. I have a 3820 which works great using hpijs, though despite the similair name, IIRC the 3420 has completely different hardware in it. - -- Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED] Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+MvSiF8Iu1zN5WiwRAhVoAJ9VZz9btgVNMB7RZ/J4iixRvTmkMgCeIM2N aR4ZHFYKg6D1LQkRuzZkbnc= =ical -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Printer setup
I have a doc how I setup my HP USB printer at http://www.freebsddiary.org/cups.php Give that a read and see how you do... Remington L. wrote: FreeBSD bathory.aria 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #1: Thu Jan 23 11:12:16 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TheGateV1 i386 For the past few days ive been attempting to set up my printer and i've had no luck. I have a HP Deskjet 3420, ulpt0: hp deskjet 3420, rev 2.00/1.00, addr 3, iclass 7/1. This morning i set up my /etc/printcap like this: # HP Deskjet 3420 lp|lj|HP Deskjet 3420:\ :lp=/dev/ulpt0:sd=/var/spool/lpd:\ :lf=/var/log/lpd-errs:sh:mx#0:\ :if=/usr/local/libexec/lpfilter:\ I also edited my /etc/rc.conf to lpd_enable=YES And then i rebooted and tried to print something: cat /etc/rc.conf /dev/ulpt0 And nothing printed. Any suggestions on what i'm doing wrong? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Printer Problem
On Monday 28 October 2002 04:22 am, Cliff Sarginson wrote: On Mon, Oct 28, 2002 at 01:44:54AM -0800, nyingelay wrote: *** Printer:Epson Stylus C40UX (usb) OS: FreeBSD 4.7-RELEASE *** It is the only printer attached to my computer via usb. When I tried to lpr filename, the printer responded to it for awhile by moving its cartridge holder, but nothing got actually printed. That was after I rebooted the PC. For the second time when I tried to lpr filename, there were no responses from the printer at all. After each reboots, the printer acknowledges the commands for once only, and just sits there idle. I had *exactly* the same problem, but with an Epson 740U. So I tried printing under Windows and it would only print in black and only legibly at the highest quality .. I cleaned the heads etc, and the status monitor said there was plenty of ink. So, more out of a guess than anything else I replaced the ink cartridges -- and lo and behold it worked just fine on all O/S'es. What that implies I don't know, although obviously the colour cartridge was blocked beyond repair. I don't use the printer much, so... maybe the cheapo cartridges I use had got fed up. You only have to replace the catridges twice with real Epson ones and it is about the same cost as a new printer (here in Holland anyway !) Did it ever work under other releases ? The fact that it is recognised means it is in the file of signatures for USB devices, that does not always mean it will work. I am sending this, not saying this is your problem, but the symptoms are so similar I thought I would pass it on. Thanks for the reply. I've already tested with Windows, and the printer is just fine. It's only happenning on the BSD. Any more ideas please?... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Printer Problem
On Mon, Oct 28, 2002 at 01:44:54AM -0800, nyingelay wrote: *** Printer: Epson Stylus C40UX (usb) OS: FreeBSD 4.7-RELEASE *** It is the only printer attached to my computer via usb. When I tried to lpr filename, the printer responded to it for awhile by moving its cartridge holder, but nothing got actually printed. That was after I rebooted the PC. For the second time when I tried to lpr filename, there were no responses from the printer at all. After each reboots, the printer acknowledges the commands for once only, and just sits there idle. I had *exactly* the same problem, but with an Epson 740U. So I tried printing under Windows and it would only print in black and only legibly at the highest quality .. I cleaned the heads etc, and the status monitor said there was plenty of ink. So, more out of a guess than anything else I replaced the ink cartridges -- and lo and behold it worked just fine on all O/S'es. What that implies I don't know, although obviously the colour cartridge was blocked beyond repair. I don't use the printer much, so... maybe the cheapo cartridges I use had got fed up. You only have to replace the catridges twice with real Epson ones and it is about the same cost as a new printer (here in Holland anyway !) Did it ever work under other releases ? The fact that it is recognised means it is in the file of signatures for USB devices, that does not always mean it will work. I am sending this, not saying this is your problem, but the symptoms are so similar I thought I would pass it on. -- Regards Cliff Sarginson The Netherlands Email: [EMAIL PROTECTED] Tel : +31 (0)10 4764595 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message