Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2001 16:00:26 -0400
From:      bob@sfcei.com
To:        freebsd-questions@freebsd.org
Subject:   Okidata OL400 and no form feed
Message-ID:  <B9FB8C769C17D411892D00B0D021653208EA92@sf_pdc>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9FB8C769C17D411892D00B0D021653208EA92>