Skip to content

Implicitcly create pdf hardcopy files #1096

Open
@rmkaplan

Description

@rmkaplan

We don't have direct code for producing pdf files that can be viewed locally, relying on Preview or Acrobat reader to implicitly convert ps to pdf. Those programs no longer do the conversion on the Mac, so those files are now not easily viewable by non hackers.

Eventually it would be good to construct a pdf hardcopy-stream, but an interim solution is to make pdf be a wrapper on the postscript stream with a shell command to implicitly invoke an available converter so that the file shows up as pdf.

In the meeting today we noted that on the Mac there is a choice of pstopdf and ps2pdf. The former appears to be provided by Apple and is available on really stripped down systems (like my wife's). ps2pdf (ghostscript) may be better maintained, but it doesn't exist on all systems (e.g. not my wife's). I don't know what is available on Windows/Linux systems.

For starters I propose to implement a pdf wrapper that with a parameterized call out, with pstopdf built in for the Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions