Date: Thu, 8 Aug 2002 11:49:49 -0400 From: Alan E <alane@geeksrus.net> To: cups@easysw.com Cc: FreeBSD Ports List <ports@freebsd.org> Subject: FreeBSD usb uses unlptX which now works right, so USB printing is broken. Message-ID: <20020808154949.GA35812@wwweasel.geeksrus.net>
next in thread | raw e-mail | index | archive | help
My USB printer is/was using it and it does not work correctly anymore. The print job never gets kicked out of the printer. This is with an HP LJ 2100M (Postscript) connected via a Belkin USB-to-parallel cable. There's no reason given in the CHANGES.txt, but the code change apparently happened a long time ago. It could be that since I am running a very new FBSD 4.6-STABLE (20020807) the functionality finally was implemented to (I assume) omit the final FF. I am using the following patch, which is going into the FBSD port in about 5 minutes... --- backend/usb.c.orig Thu May 16 09:44:50 2002 +++ backend/usb.c Thu Aug 8 11:37:20 2002 @@ -433,18 +433,7 @@ #elif defined(__sun) #elif defined(__hpux) #elif defined(__osf) -#elif defined(__FreeBSD__) - int i; /* Looping var */ - char device[255]; /* Device filename */ - - - for (i = 0; i < 3; i ++) - { - sprintf(device, "/dev/unlpt%d", i); - if (!access(device, 0)) - printf("direct usb:%s \"Unknown\" \"USB Printer #%d\"\n", device, i + 1); - } -#elif defined(__NetBSD__) || defined(__OpenBSD__) +#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) int i; /* Looping var */ char device[255]; /* Device filename */ -- AlanE KDE-FreeBSD Team To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020808154949.GA35812>