Bug 42656

Summary: a2ps doesn't print plain text files
Product: [Retired] Red Hat Linux Reporter: Tomasz Kepczynski <tomek>
Component: a2psAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: bernd.bartmann
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-09 15:17:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Analysis and proposed patch
none
Corrected patch for this bug and bug #40532 none

Description Tomasz Kepczynski 2001-05-29 07:09:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i686)

Description of problem:
a2ps used to convert text files to postscript before sending them to
printer. At the moment it seems that the conversion fails as the postscript
printer (HPLJ 4050N) doesn't print. In addition if printing to postscript
file and viewing it with gv - ghostscript fails with errors or gv displays
empty page only with frame around it.
I don't know what magic a2ps uses to convert text to postscript so it
may be possible that actual fault is in some other place.
This used to work in RH 7.0 & 6.2.

How reproducible:
Always

Steps to Reproduce:
1. print any text file with a2ps
2.
3.
	

Additional info:

I use Polish ("pl_PL") locale and latin2 encoding but the latter doesn't
seem to matter. The fault disappers when locale is set to "en_GB" or "C".
If locale is set to "en" a2ps dumps core.

Comment 1 Jean-Luc Richier 2001-05-29 09:47:18 UTC
Created attachment 19855 [details]
Analysis and proposed patch

Comment 2 Jean-Luc Richier 2001-05-29 11:01:06 UTC
Created attachment 19863 [details]
Corrected patch for this bug and bug #40532

Comment 3 Tim Waugh 2002-01-10 09:37:11 UTC

*** This bug has been marked as a duplicate of 40532 ***