title: How to register classic printer to google cloud print
body: <p>How to register classic printers (e.g. HP or Samsung printer) to google cloud print using service register API(<a href="https://www.google.com/cloudprint/interface/register" rel="nofollow">https://www.google.com/cloudprint/interface/register</a>) call. I am passing these required parameters-</p>
  
  <pre><code>'printer' =&gt; 'My classic printer',
  'proxy'   =&gt; '212121',
  'capabilities' =&gt; '&lt;XPS capabilities data&gt;',
  'defaults' =&gt; '&lt;XPS capabilities data&gt;'
  </code></pre>
  
  <p>As I am not sure from where to get proxy id, I am passing arbitrary value. I am making the call using PHP CURL. Once the printer is registerd using API call it is showing printer type as 'Cloud ready printer' and connection status as 'unknown' in google account's printer list interface. </p>
  
  <p>But if i do mannual register using google chrome browser it is showing as 'Classic printer connected via Google Chrome' and connection status as 'Online'. </p>
  
  <p>Please comment if anyone has any idea..</p>