OK, the PCL5 codes are as follows:
ESC & k 0 G will make CR=CR, LF=LF, FF=FF
ESC & k 1 G will make CR=CR+LF, LF=LF, FF=FF
ESC & k 2 G will make CR=CR, LF=CR+LF, FF=CR+FF
ESC & k 3 G will make CR=CR+LF, LF=CR+LF, FF=CR+FF
So if you can't find a filter "or" UNIX2DOS and don't want to fiddle
around, send the appropriate code to the printer and let it do all
the conversions for you!!!
George Gallen
> if you cant find a filter send the ESC code that will make the printer
> send a LF/CR when it receives a LF. Not sure what the code is, my book
> isn't with me. I'll post the Code sequence later the afternoon if needed.
> Its will be a PCL5 code.
> George
> > G'day all,
> > I had setup the /etc/printcap on SunOS4.1.3 for the HP lasterjet 5MP.
> > Although the ps files are printed well, the text file can't be
printed
> > well. It seemed that the printer miss the LF and CR.
> > Can anyone setup a filter for it?
> > Thank for your reply in advance.
> > Best regards,
> > Lepidus.