Just an update persuant to the old status monitor fix for Canon printers with CUPS 1.5
http://forums.opensuse.org/showthread.php/471838-Canon-status-monitor-for-CUPS-1-5
There’s an error in the pastebin code as the calling function of getProductName doesn’t provide the pointer for pModelIdStr and it’s unused with the old (2.60) drivers.
This probably wasn’t an issue before as I previously had it backtested with 2.80 and a different printer. Had to reinstall the drivers today and spent some time scratching my head as to why the monitor was segfaulting.
Some printers such as the 4200 are using 2.60.
To make the fix, all that’s necessary is to comment out line 119,
snprintf(pModelIDstr, sizeof(pModelIDstr), "%d", pPPD->model_number);
in the pastebin file. Not the prettiest since the function definition still allows for pModelIDstr, but it’s unused.
~VintagePC