Function: doc-view-ps->pdf
doc-view-ps->pdf is a byte-compiled function defined in
doc-view.el.gz.
Signature
(doc-view-ps->pdf PS PDF CALLBACK)
Documentation
Convert PS to PDF asynchronously and call CALLBACK when finished.
Source Code
;; Defined in /usr/src/emacs/lisp/doc-view.el.gz
(defun doc-view-ps->pdf (ps pdf callback)
"Convert PS to PDF asynchronously and call CALLBACK when finished."
(or (executable-find doc-view-ps2pdf-program)
(error "You need the `ps2pdf' program to convert PS to PDF"))
(doc-view-start-process "ps->pdf" doc-view-ps2pdf-program
(list
;; Avoid security problems when rendering files from
;; untrusted sources.
"-dSAFER"
;; in-file and out-file
ps pdf)
callback))