First the slashes are reversed you have "esri\layers\FeatureLayer" and it should be "esri/layers/FeatureLayer". It would help to show your code also.
@Robert : no, in his code, the slashes are goods.
@Hisham : can you tell us why you want to do that and show us the console ? Maybe wrong order in the define/function !
Woh ! Ok, I thougth you were talking about an other issue of the print widget ...
First step, create another widget (something like CustomPrint) but don't touch the print one !
Second step...I can't help you there 'cause I don't know your code and your workflow, but good luck !
(but your define, seems to be good !)