Printer not recognizing line-feed printing text from Unix.
  • 15 Apr 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Printer not recognizing line-feed printing text from Unix.

  • Dark
    Light
  • PDF

Article summary

Problem:

Printing straight text (from LPR) through Unix is not working correctly. Assumption is that the printer is not recognizing the line-feeds properly.


Cause:

This problem has been observed against text jobs from certain UNIX OSes which send through line-feeds in a non standard format.

Solution:

A filter (filter.exe, available on the CD at tools plugins\filter) has been developed to translate these end-of-line characters to a standard format. The Text Filter is a pre-processor plug-in replacement for the Page Counter. It can be used to wrap long lines at a given number of characters and to translate end-of-line characters to a standard format. Processing is of text files only, except for when binary files are parsed as text; PCL and PostScript files will pass through this filter unaffected.

The Text Filter is configured using the following registry key and values:

Key: "HKEY_LOCAL_MACHINE\SOFTWARE\Pharos\Text Filter"

Name: "Text Check"

Type: DWORD

Meaning:

If 0 then the text filter will attempt to parse binary files as text.

Default: 1

Name: "Text Type"

Type: String

Meaning:

Any end-of-line characters will be translated to this text type. Default: "dos". Other values are "mac" and "unix".

Name: "Text Width"

Type: DWORD

Meaning:

The number of characters to wrap lines at. If 0 then lines will not be wrapped.

Default: 0

To use this filtering in the pagecounter, copy both filter.exe and filterlf.bat, then make filterlf.bat the plug-in for PageCountJob.


Was this article helpful?


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.