From owner-freebsd-questions Mon Dec 9 10:17:59 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA19643 for questions-outgoing; Mon, 9 Dec 1996 10:17:59 -0800 (PST) Received: from kilgour.nething.com ([204.253.210.65]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA19637 for ; Mon, 9 Dec 1996 10:17:56 -0800 (PST) Received: from randy.nething.com (randy.nething.com [204.253.210.83]) by kilgour.nething.com (8.7.5/8.6.9) with SMTP id MAA07645; Mon, 9 Dec 1996 12:13:11 -0600 (CST) Message-Id: <2.2.32.19961209181608.0071bb10@nething.com> X-Sender: rberndt@nething.com X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 09 Dec 1996 12:16:08 -0600 To: "Allen Hyer" , From: Randy Berndt Subject: Re: remote printers Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 11:35 AM 12/9/96 -0600, Allen Hyer wrote: > I am just trying to print plain text, nothing fancy. The text gets to >the printer, with one problem. At the end of a line of text, the printer >does a newline, but not a carriage return. I have tried using an input >filter, to no avail. Can you use an input filter on a remote printer? If >not, any idea how I can get this to work? I really don't want to change >the configuration of the printer, as it also serves the Novell LAN and the >AS/400. The laserjet needs to be sent a command to turn on "LF=CR+LF". The command is "Escape" followed by "&k2G". I do this by using a filter containing: #!/bin/sh printf "\033E\033&k2G" cat - printf "\033E" If the filter doesn't work on the remote printer, you might try and get whatever is generating the print job to prepend the command. Randy Berndt ---------------------------------- AOS/VS, FreeBSD, DOS: I'm caught in a maze of twisty little command interpreters, all different.