*BSD News Article 73752


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!alpha.sky.net!winternet.com!nntp.primenet.com!news.asu.edu!ennfs.eas.asu.edu!cs.utexas.edu!swrinde!news-res.gsl.net!news.gsl.net!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!news.fb1.fhtw-berlin.de!zib-berlin.de!solid.theo-physik.uni-kiel.de!news.informatik.uni-kiel.de!news.techfak.uni-kiel.de!news
From: maw@techfak.uni-kiel.d400.de (Maciej Wiatr)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Printer filter file error
Date: 15 Jul 1996 13:02:25 +0200
Organization: Technische Fakultaet, University of Kiel, Germany
Lines: 27
Message-ID: <4sd8g1$ruk@slowmo.techfak.uni-kiel.de>
NNTP-Posting-Host: slowmo.techfak.uni-kiel.de


Salute,

I use freeBSD with a HP DJ500C and a proper (as I think) filter file, which
has woreked. Yesterday I got to know it does not work any more.
As I could understand, there is an error by the execution of the filter file.
I have to tell my printer to use CR+LF, when it receives LF by
printf "\033&k2G", but it is not accepted. Printf (as well as cat)
do not send the first character of the given string to the printer,
so it cannot interprete the above string as a command.

In my case the sh shell is used. Despite the error it isw possible to print
text files by sending a blank space before the command line, but ps files
don't work.

Does anybody know the reason ? What happens with the first character ?

Please HELP !


Maciej


-----------------------------------------------
maw@teckfak.ini-kiel.de		Maciej Wiatr
macko@tusia.kiel.org		+49 431 723746
-----------------------------------------------