Browse Source

Made Preparefiletoprint return int based on success and failure

refactor
5 years ago
parent
commit
431190d04c
  1. 2
      source/Printer.h

2
source/Printer.h

@ -95,7 +95,7 @@ extern int resx,resy; // Printer resolution, dpi (may be 0!) @@ -95,7 +95,7 @@ extern int resx,resy; // Printer resolution, dpi (may be 0!)
extern t_printdata printdata; // Print control structure
t_printdata Printfile(const std::string &path, const std::string &bmp);
void Preparefiletoprint(t_printdata *print);
int Preparefiletoprint(t_printdata *print);
int Initializeprinting(t_printdata *print, uint pageWidth, uint pageHeight);
void Stopprinting(t_printdata *print);
void Printnextpage(t_printdata *print);

Loading…
Cancel
Save