dm_roff_ps_to_pdf Function

public function dm_roff_ps_to_pdf(input, output) result(rc)

Uses

  • proc~~dm_roff_ps_to_pdf~~UsesGraph proc~dm_roff_ps_to_pdf dm_roff_ps_to_pdf module~dm_file dm_file proc~dm_roff_ps_to_pdf->module~dm_file module~dm_error dm_error module~dm_file->module~dm_error module~dm_kind dm_kind module~dm_file->module~dm_kind module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Converts PostScript file input to PDF file output by executing ps2pdf(1). On error, an empty PDF file may be created. This function requires Ghostscript to be installed locally.

The function returns the following error codes:

  • E_ERROR if execution of ps2pdf(1) failed.
  • E_IO if output file could not be created.
  • E_NOT_FOUND if input file does not exist.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input

Path of PostScript file.

character(len=*), intent(in) :: output

Path of PDF file.

Return Value integer


Calls

proc~~dm_roff_ps_to_pdf~~CallsGraph proc~dm_roff_ps_to_pdf dm_roff_ps_to_pdf proc~dm_file_exists dm_file_exists proc~dm_roff_ps_to_pdf->proc~dm_file_exists proc~dm_file_touch dm_file_touch proc~dm_roff_ps_to_pdf->proc~dm_file_touch proc~dm_is_error dm_is_error proc~dm_roff_ps_to_pdf->proc~dm_is_error