I have had an MFC440CN working on both 18.04 and 19.04, but on upgrading to 19.10 the printer stopped working. I have tried to reinstall the printer driver using the Brother provided method and I get an error message
lpadmin: Unable to open PPD "/tmp/013bc5e0992f3": Illegal option keyword string on line 229
however, the process continues. When I try to do a test print I get
lpadmin: Unable to open PPD "/usr/share/cups/model/brmfc440cn.ppd": Illegal option keyword string on line 229.
Examining that file around line 229 I see
*OpenGroup: Image Type
*%=== Document ================================
*OpenUI *BRDocument/ Image Type: PickOne
*OrderDependency: 21 AnySetup *BRDocument
*DefaultBRDocument: Photo
*BRDocument Photo/Photo: ""
*BRDocument Graphics/Graphics: ""
*BRDocument custom/custom: ""
*CloseUI: *BRDocument
Line 229 is the second to last one.
Does anyone have any ideas on how to correct this problem?
There's been no response to my question so, in desperation, I did the following - and the printer worked! (My requirements of the printer are pretty basic, it's quite possible that this procedure would fail for anyone with more complex needs.)
As the file is a system file, it is necessary to invoke
sudo
(I usedsudo su
)/usr/share/cups/model/brmfc440cn.ppd
as/usr/share/cups/model/brmfc440cnOLD.ppd
Edited the new version by removing all the lines quoted in the question
Saving the edited file as
/usr/share/cups/model/brmfc440cn.ppd
ie the original file has been replaced by an edited version but a copy of it has been saved under a new nameVia the settings windows adding the printer
Touching wood (this may not be absolutely necessary)
Print a random page from a random document.
It worked for me, perhaps it will for you.