[Linux] need some help with printer filter.

Dean Benson morbid69@bellsouth.net
Thu, 12 Oct 2000 08:44:20 -0400


    This may sound archaic, but have you tried opening the file under DOSEMU
on the linux box?  Use the EDIT command in DOSEMU and that should properly
format the file ...

Dean


----- Original Message -----
From: "Ronnie" <ronnie_g@bellsouth.net>
To: "flux" <linux@flux.org>
Sent: Wednesday, October 11, 2000 7:09 PM
Subject: [Linux] need some help with printer filter.


> I am trying to print to a DOS printer, flat ASCII text.
>
> I have the standard 'stair step' problem, and have not been able to
> 'write'
> a simple filter to correct it.
> I know the problem is the ^J ^M expected on a DOS printer, where UNIX
> is only sending a ^J
>
> I tried to modify a pearl script, then tried in sed & awk.
> Nothing I tried would output a file with a ^M at the end of each line?
> I don't 'think' I want to do anything ot the print job but translate the
> EOL's.
> I do not use X, and the version of Linux I am using doesn't have
> 'printool' etc..
> I am using a OLD version od Slackware.
>
> The printer is in another department, so changing its configuration is
> out of the question.
>
> Any thoughts would be appreciated....
>
> Thanks & see you at the meeting.
>
>
> _______________________________________________
> Linux mailing list
> Linux@flux.org
> http://www.flux.org/mailman/listinfo/linux
>