From owner-freebsd-questions Fri Apr 27 13: 8:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shark.flips.net (shark.flips.net [208.214.176.71]) by hub.freebsd.org (Postfix) with ESMTP id 94F8137B423 for ; Fri, 27 Apr 2001 13:08:46 -0700 (PDT) (envelope-from bob@sfcei.com) Received: from sf_pdc.schaefer-fagan (SF_PDC.flips.net [64.183.103.106]) by shark.flips.net (Post.Office MTA v3.5.3 release 223 ID# 0-60222U2500L250S0V35) with ESMTP id net for ; Fri, 27 Apr 2001 16:28:57 -0400 Received: by sf_pdc with Internet Mail Service (5.5.2448.0) id ; Fri, 27 Apr 2001 16:00:31 -0400 Message-ID: From: bob@sfcei.com To: freebsd-questions@freebsd.org Subject: Okidata OL400 and no form feed Date: Fri, 27 Apr 2001 16:00:26 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Gurus, I was given an old Okidata OL400 and figured it would be a nice addition to my FBSD box. I have followed all the instructions I can find for /etc/printcap lpfilter etc. I got rid of the staircase effect (which was fully expected) immediately and went to work on the form feed. When I send a print job, it will only print if I manually take the Oki off-line and use the form feed function on the printer. In review of the Oki web site, I found the escape sequence of 0C was equal to Form Feed. I placed this in the lpfilter as such: printf "\0D&0A" && fpr && printf "\0C" && exit 0 exit 2 and I get an error message about a command or some such. When I remove "\0C" this error goes away. (the 0D&0A are properly understood as CR & LF, I also got these esc sequences from the Oki web site) Does anybody know what the proper esc sequence is? Or have a suggestion? "\f" does not do the trick either for the form feed. Thanks Bob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message