Bug 137336
Summary: | a2ps seems to have a font problem. Output lines are too long. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bob Gustafson <bobgus> | ||||
Component: | a2ps | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-11-10 20:01:39 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
Bob Gustafson
2004-10-27 16:26:34 UTC
Confirmed with a2ps-4.13b-41. Same problem exists on Fedora Core 3 Clean installation from CDs, move of old /old/home/user1 to /home/user1 after user1 was created in new system. I think it is also related to Mozilla printing of plain text lines - too large and Mozilla does not have the correct metric to figure out where the text is on the printed page. Note that this problem does not exist on RedHat 9. Since my problem stemed from printing using a2ps and also shows up in Mozilla, I am focusing on CUPS as the root of the problem. Check out this extremely well written critique of CUPS - at least from the GUI and documentation thought-process point of view http://www.catb.org/~esr/writings/cups-horror.html I suspect that debugging font metrics for the default monospace font are deep in the same mire. OK, fixed it. Gnome->System Settings->Printing->(select printer queue)->Action->Import PPD I navigated to the ppd file which came on the disk with my printer (HP 2100M). The application 'opened' it and did whatever with it. Gnome->System Settings->Printing->(select printer queue)->(button)Edit->(tab)Printer Driver This panel recommends using the pxlmono driver for my printer (HP 2100M). Since my printer IS a postscript printer, ignoring this advice and choosing the 'Postscript' printer does the trick. I also did a 'kill -HUP xxx' on the pid of every process with a 'cups' in the name. (it is like a wooden stake..) ---- Mow, both the 'code.txt' sample and pages in Mozilla with <pre> plain text print very nicely. Works for me, but there is still a problem in the 'plxmono' driver for real Postscript printers. Created attachment 109590 [details]
Broken postscript output of a2ps
The above attachment was created using a2ps as follows: a2ps foo.txt -o foo.ps This problem appears both with a2ps, enscript and firefox printing. I tried changing the printer driver to no avail. My default printer is a laserjet 1100, and I tried both hpijs and ljet4, with no discrenable difference. I'm seeing this problem on FC3. |