From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 13:59:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C5FDB37 for ; Tue, 24 Feb 2015 13:59:53 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0024D00 for ; Tue, 24 Feb 2015 13:59:52 +0000 (UTC) Received: from r56.edvax.de (port-92-195-131-196.dynamic.qsc.de [92.195.131.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7096B3CF3B for ; Tue, 24 Feb 2015 14:59:44 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t1ODxhvE002379 for ; Tue, 24 Feb 2015 14:59:43 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 24 Feb 2015 14:59:43 +0100 From: Polytropon To: FreeBSD Questions Subject: Using dotmatrix printer with (or without) CUPS for graphics printing Message-Id: <20150224145943.6216e9d3.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 13:59:53 -0000 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, ...