From 2878fa95ab4e30046472a8c1f7576aa6a39f8ba5 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 22 Apr 2020 15:59:22 +0200 Subject: Add optional argument to Fl_Printer::begin_job() to inform caller when an error occurs. This solves an issue raised in fltk.general : Fl_Printer errors - how can I interpret them? https://www.fltk.org/newsgroups.php?s38419+gfltk.general+v38427 --- FL/Fl_PostScript.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL/Fl_PostScript.H') diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H index 470943268..6d26490dc 100644 --- a/FL/Fl_PostScript.H +++ b/FL/Fl_PostScript.H @@ -258,7 +258,7 @@ public: */ ~Fl_PostScript_File_Device(); /** Don't use with this class. */ - int begin_job(int pagecount, int* from, int* to); + int begin_job(int pagecount, int* from, int* to, char **perr_message); /** @brief Begins the session where all graphics requests will go to a local PostScript file. * -- cgit v1.2.3