From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 06:39:20 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 C35E837B401; Wed, 18 Jun 2003 06:39:19 -0700 (PDT) Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id F401143F75; Wed, 18 Jun 2003 06:39:16 -0700 (PDT) (envelope-from veldy@veldy.net) Received: from veldy.net (veldy-host33.dsl.visi.com [209.98.200.33]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id 8271384AC; Wed, 18 Jun 2003 08:39:16 -0500 (CDT) Received: from 4K3500B (localhost [127.0.0.1]) by veldy.net (Postfix) with SMTP id C61AE7CA; Wed, 18 Jun 2003 08:39:15 -0500 (CDT) Message-ID: <00c201c3359f$016f4f10$d037630a@dh.com> From: "Thomas T. Veldhouse" To: "FreeBSD-Questions" Date: Wed, 18 Jun 2003 08:39:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 cc: FreeBSD-Current Subject: 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: Wed, 18 Jun 2003 13:39:20 -0000 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. ---- I have a machine that has been serving as a print server. That machine was running CUPS and SAMBA over Linux. Now, it is running FreeBSD 5.0-RELEASE-p7 with CUPS and SAMBA. I have a Lexmark Optra 312 laser printer hooked up to the usb port, ulpt0 (no reset). When it was running linux, everything ran perfectly. I allow the Windows client machines to use their print drivers and send a raw stream through samba to cups for printing. This configuration has worked fine. However, for reasons of my own, I have put FreeBSD 5.0 on this machine. The same software configuration exists for printing. Now, when I print most pages, I get an extra page prefixing the job with two or three lines of printer commands (i.e. resolution = 600, @PCL, etc). This seems to be caused by the FreeBSD usb printer driver dropping a couple of characters at the beginning of the command stream. This used to happen to me with FreeBSD 4.6 as well, which is why that machine was running Linux in the first place. Has anybody seen this strange behavior and is there a known fix for it? Thanks in advance, Tom Veldhouse