Hi!
I'm looking for information about a problem I'm having trying to run the GTKmm printing example published on the GNOME site (https://developer.gnome.org/gtkmm-tutorial/3.4/sec-printing-example.html.en). Whenever I set the PrintOperation's track_print_status to true, the last PrintStatus I can get on the status_changed handler is PRINT_STATUS_FINISHED_ABORTED (coming from PRINT_STATUS_WAITING), although the operation finishes and the file is correctly printed. If I set it to false, I get PRINT_STATUS_FINISHED (never passing from PRINT_STATUS_WAITING). This is the output of the program: * Tracking status The state is Initial state The state is Preparing to print The state is Generating data The state is Sending data The state is Waiting The state is Finished with error * Not tracking status The state is Initial state The state is Preparing to print The state is Generating data The state is Sending data The state is Finished I'm getting this behaviour on Ubuntu 12.10 and Fedora 18 (32 bits, both of them). I need to track the job's status but I don't want to rely on a custom CUPS monitor built around the provided GTKmm functionality. Any help on this matter would be greatly appreciated. Andrés Sánchez
Jr. Software Engineer |