|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
printerserver
Hi,
I use OpenBSD 4.7. I just plugged a printer : Hp LaserJet 3050 USB The printer use : ulpt0 I want to share the printer to XP clients I never install printer on any BSD. What is the simple way to print on BSD and next share it with samba ? If someone can help me. Thanks Last edited by wesley; 13th October 2010 at 12:11 PM. Reason: more precision |
|
||||
CUPS with Samba appears to be an elegant solution. Microsoft Networking with Microsoft Network attached printers, and browser-based printer management. I thought so, and did use them together at one time, since I was already using Sabma for file services.
No longer. All it took was having a printer driver/connectivity problem. Diagnosis was effectively impossible. Too many bells and whistles, not enough actual "management" in the management tools with CUPS, for me. I switched to using the built in lpd(8), and it works fine with Windows workstations. Instead of a Microsoft Network attached printer, you use a "local" printer port that points to the IP address of the lpd(8) server. Google for "windows lpd printing" to get lots of "how to" documents for settting up the workstations to use LPD printing. --- I use the foomatic-filters package, in combination with the hpijs package to make non-Postscript HP printers look like Postscript devices. I just looked, and the hpijs package contains two .ppd files for the 3050, depending on submodel or printer provisioning: /usr/local/share/foomatic/db/source/PPD/HP/hp-laserjet_3050-hpijs-pcl3.ppd.gz /usr/local/share/foomatic/db/source/PPD/HP/hp-laserjet_3050-ps.ppd.gz One or the other can be gunzipped, placed in /etc/foomatic, and added to /etc/printcap, as described in the foomatic-filters documentation. |
|
|||
re printserver
I use lpd with openbsd. Works fine on my Brother HL-5340D with the imac,
windows xp, and linux clients. However, I am using the parallel port on the Brother. I have had some problems with Openbsd and ulpt0. It will work but not reliably with the Brother. The Brother will work fine with a linux box on the usb port. I would be interested in any comments on using ulpt0 for printing? |
|
|||
re printserver
Quote:
brother|brother HL-5340D postscript printer:\ ##USE YOUR PRINTER NAME :lp=/dev/lpt0:sd=/var/spool/output/brother:lf=/var/log/lpd-errs:ff=: ##use your port for lpt0 Make sure /var/spool/output/[your printer name] exist and has open permissions (chmod 755). Then make sure lpd is enabled in rc.conf or simply type lpd to start it after you have configured the spool dir and printcap. You should be able to add it to a windows client if you have the unix printing enabled..just add a printer..select local port and select lpr. Windows will prompt you for the host name and printer name/spool dir. Select driver when prompted and it should work. OSX is easier..it finds the printer easily. Linux finds the lpd printer easily also. Last edited by fbroce; 14th October 2010 at 08:56 PM. |
Thread Tools | |
Display Modes | |
|
|