Solved

Printer problem LF->CRLF

Posted on 1997-12-09
1
478 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

832 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