Solved

Printer problem LF->CRLF

Posted on 1997-12-09
1
482 Views
Last Modified: 2013-12-16
I can add the printer in my setup sucessfully.  However, when I print a text file, I prints a paragraph like "stairs" without the line caraige return.  In Linux, it claims there is an option for LF->CRLF; however, I cannot find it.  How can I fix this problem manually ?  Without using unix2dos everytime before send the file to the printer.
0
Comment
Question by:andrewma
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 1812807
Add a filter to your printer spooler.

A perl filter looks like:

#! /bin/perl -n
chop;
print "$_\r\n";

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question