title: PaperSize cannot be changed unless the Kind property is set to Custom
body: <p>Hi I am working on a project where I need to set the printer setting for setting custom height and width for printer. I am using EPSON LW-900P printer for sticker printing. </p>
  
  <p>I am trying to set the height property of printer setting object but it's throwing an error like "PaperSize cannot be changed unless the Kind property is set to Custom." I know we can not set the property if Kind property is not set as a custom, but in my case papersize is set as custom however I am not able to set the height property.</p>
  
  <p>Please see the below image for reference
  <a href="https://i.stack.imgur.com/qskBz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qskBz.png" alt="enter image description here"></a></p>
  
  <p>Thanks a lot in advance if someone can me guide to resolve this issue.</p>