Opened 17 years ago

Closed 17 years ago

#11455 closed defect (fixed)

a2ps output incompatible with Adobe distiller (and therfore OS X's printing engine and Preview.app)

Reported by: mike@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.4
Keywords: Cc:
Port:

Description

As described on http://article.gmane.org/gmane.comp.printing.a2ps.bugs/2583, there is a bug in a2ps that makes its postscript output incompatible with Adobe's distiller (and therefore OS X's Preview.app and its printing system). e.g. do: $ sudo port install a2ps $ echo "Test text" >> test.txt $ a2ps -o test.ps test.txt Then either open test.ps in Preview.app or run $ pstopdf test.ps Which results in the error: %%[ Error: undefined; OffendingCommand: iso1dict; ErrorInfo: CharOffsets %%[ Flushing: rest of job (to end-of-file) will be ignored ]%% %%[ Warning: PostScript error. No PDF file produced. ] %% pstopdf failed on file test.ps with error code -31000 Shorter, less useful errors with the same origin result if you open test.ps in Preview.app or send a2ps's output straight to printer (omit -o test.ps).

Attachments (2)

patch-file (2.8 KB) - added by mike@… 17 years ago.
Proposed fix (patch)
Portfile.diff (592 bytes) - added by mike@… 17 years ago.
Proposed fix (Portfile)

Download all attachments as: .zip

Change History (4)

Changed 17 years ago by mike@…

Attachment: patch-file added

Proposed fix (patch)

Changed 17 years ago by mike@…

Attachment: Portfile.diff added

Proposed fix (Portfile)

comment:1 Changed 17 years ago by mike@…

As discussed on http://lists.macosforge.org/pipermail/macports-users/2007-February/001788.html, proposed fix and Portfile now attached. Am happy to become maintainer of this port.

comment:2 Changed 17 years ago by markd@…

Resolution: fixed
Status: newclosed

Committed. Thanks for improving the port and stepping up to the maintainer!

Note: See TracTickets for help on using tickets.