OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Help with lpd and XP

From: Fred Crowson (openbsdcrowsons.net)
Date: Fri Dec 02 2005 - 03:09:37 CST


Greg Thomas wrote:
> Ok, I decided to switch from using a little Linksys 802.11b parallel
> print server to using my OpenBSD box for printing to my one printer.
> Printing locally works fine but I'm having trouble printing from XP.
>
> ethantgrits:/home/ethant# cat /etc/printcap
> # $OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $
> #
> lp|:\
> :sh:sf:lp=/dev/lpt0:sd=/var/spool/output:lf=/var/log/lpd-errs:
>
> ethantgrits:/home/ethant# lpq
> Warning: no daemon present
> Rank Owner Job Files Total Size
> 1st ethant 9 Test Page 0 bytes
>
> ethantgrits:/home/ethant# ps waux |grep lpd
> daemon 7435 0.0 0.9 180 556 ?? Ss 10:22PM 0:00.03 /usr/sbin/lpd
>
> ethantgrits:/home/ethant# sudo lprm 9
> cannot dequeue dfA009LOCUST
> cfA009locust.2fortheroad.net dequeued
>
> And I get a bunch of these in /var/log/lpd-errs until I rm everything
> in /var/spool/output:
>
> Dec 1 22:31:06 grits lpd[15269]: locust.2fortheroad.net
> Dec 1 22:31:06 grits lpd[15269]: link tfA009locust.2fortheroad.net
> cfA009locust.2fortheroad.net: File exists
> Dec 1 22:31:14 grits lpd[5050]: locust.2fortheroad.net
> Dec 1 22:31:14 grits lpd[5050]: link tfA009locust.2fortheroad.net
> cfA009locust.2fortheroad.net: File exists
> Dec 1 22:31:22 grits lpd[21910]: locust.2fortheroad.net
> Dec 1 22:31:22 grits lpd[21910]: link tfA009locust.2fortheroad.net
> cfA009locust.2fortheroad.net: File exists
> Dec 1 22:31:30 grits lpd[17060]: locust.2fortheroad.net
> Dec 1 22:31:30 grits lpd[17060]: link tfA009locust.2fortheroad.net
> cfA009locust.2fortheroad.net: File exists
> Dec 1 22:31:38 grits lpd[23270]: locust.2fortheroad.net
> Dec 1 22:31:38 grits lpd[23270]: link tfA009locust.2fortheroad.net
> cfA009locust.2fortheroad.net: File exists
>
> I saw a similar message on misc back in August but no resolution.
> What am I doing wrong?
>
> Thanks,
> Greg
>

Hi

Have you tried using samba to share the printer with XP?

HTH

Fred