From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 14:31:33 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04CD540D for ; Tue, 24 Feb 2015 14:31:33 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 781D5146 for ; Tue, 24 Feb 2015 14:31:32 +0000 (UTC) Received: by labhv19 with SMTP id hv19so3376828lab.10 for ; Tue, 24 Feb 2015 06:31:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LteKP8eZ34dRTJwL5eBRqgC+Zn/wqOxeoRS+GbuSijk=; b=NNOGCnqZOG4rsBhp41E+qmlruHqMHAjusqtcnxiDv0aQpTmJSilcxM6LpGYbKc3FYP aLumUREQrlV/fliX1RRn9L0iP5U88BRapWuTLD9Mtly31TaZ/LmVx6Sw2tfwkEsSLX23 NJNIVPv6Yg+DxQz+YshZl4zhA6lkUCGZ3x64P0zViG6qO3dJ0hb06bEoNvx5RHFTtUra vHszSwO2qGnBoWJs+o5rSvK9xFF36VTlRX6sgsuk6gyoRwxRe5EyL+UxHiiUSs9nbhWK hTuQznXghVLIdypzp4lO7UhPBl18Cz6o1di5Ddy38jN4olZ1C3bLqWfMXqkHfEHkxJWa G12w== MIME-Version: 1.0 X-Received: by 10.152.115.136 with SMTP id jo8mr11006444lab.32.1424788290422; Tue, 24 Feb 2015 06:31:30 -0800 (PST) Received: by 10.25.34.68 with HTTP; Tue, 24 Feb 2015 06:31:30 -0800 (PST) In-Reply-To: <20150224145943.6216e9d3.freebsd@edvax.de> References: <20150224145943.6216e9d3.freebsd@edvax.de> Date: Tue, 24 Feb 2015 08:31:30 -0600 Message-ID: Subject: Re: Using dotmatrix printer with (or without) CUPS for graphics printing From: Andrew Gould To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 14:31:33 -0000 On Tue, Feb 24, 2015 at 7:59 AM, Polytropon wrote: > I have a dotmatrix printer Epson LQ 570+ attached to a parallel port > and can print text (using the "recode" utility even with special > german characters). The printer is being used outside of CUPS > which I am "forced" to use even though _I_ don't need it (but some > programs insist on it in order to print). > > % dmesg | grep lpt > lpt0: on ppbus0 > lpt0: [ITHREAD] > lpt0: Interrupt-driven por > > Is there a way I can add this printer to CUPS (of course none of > the auto-detect capabilities work here) so I can print graphics > with it? Out of programs (Gimp, OpenOffice)? I know this could > be done with apsfilter (chained to system's lpd) in the past, > but how to do that with CUPS? Is it even possible? > > It's also an acceptable solution to do this without CUPS, for > example by somehow "preprocessing" the PS output of the application > and then writing that to the printer, as I'm doing with the > crappy Samsung CLX-2160 laser printer I have (speaks "Splix"): > > % foo2qpdl-wrapper -p 2 -r 1200x600 -z 0 file.ps > /dev/ulpt0 > > So using CUPS is not mandatory as I can "print to file" in > programs like Gimp or OpenOffice, and then use that file. > > Any ideas? > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Are PPD files cross-platform? If so, you could try adding the PPD file manually during printer configuration. The related openprinting page for your printer is here: http://www.openprinting.org/printer/Epson/Epson-LQ-570plus Andrew