Notes:
Brother tends to embed additional files into cupswrapper${printer_model}
sed
is a simple way to extract and cleanup said files0,/${string}/d
removes the line with${string}
and all previous lines/${string}/,$d
removes the line with${string}
and all following lines
Sources: