From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 22:17:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD2E137B401; Fri, 20 Jun 2003 22:17:23 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BE6643F85; Fri, 20 Jun 2003 22:17:23 -0700 (PDT) (envelope-from mbsd@pacbell.net) Received: from atlas (adsl-64-165-199-152.dsl.snfc21.pacbell.net [64.165.199.152])h5L5HK8J020373; Sat, 21 Jun 2003 00:17:21 -0500 (CDT) Date: Fri, 20 Jun 2003 22:17:20 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@atlas.home To: "Thomas T. Veldhouse" In-Reply-To: <00c201c3359f$016f4f10$d037630a@dh.com> Message-ID: <20030620221423.I30278@atlas.home> References: <00c201c3359f$016f4f10$d037630a@dh.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD-Current cc: FreeBSD-Questions Subject: Re: Problem with USB ulpt0 and CUPS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2003 05:17:24 -0000 On Wed, 18 Jun 2003, Thomas T. Veldhouse wrote: > I posted this in April and received no response. However, this has been an > ongoing issue since at least 2001 (where I found the first reference to this > trouble via Google). > > The problem seems to be that the FreeBSD USB LPT driver (even with no-reset) > is somehow dropping the first bits of the data stream, causing a page full > of trash to be printed prior to the actual print job. I have no verified > this problem with 5.1-RELEASE as well. FWIW, I had similar problems with USB printer and 4.7. Inserting a sleep(1) between opening the device and the first write proved to be a sufficient workaround. $.02, /Mikko