title: Pechkin documentation / tutorial
body: <p>I tried wkhtmltopdf which worked perfectly... But on the server I cant start a process so my solution would be this: <a href="https://github.com/gmanny/Pechkin" rel="nofollow">https://github.com/gmanny/Pechkin</a></p>
  
  <p>But I have no idea how to implement it in my project... Are there any samples I can just open and run?</p>
  
  <p>I had a look at this example:</p>
  
  <pre><code>byte[] pdfBuf = new SimplePechkin(new GlobalConfig()).Convert("&lt;html&gt;&lt;body&gt;&lt;h1&gt;Hello world!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;");
  
  // create global configuration object
  GlobalConfig gc = new GlobalConfig();
  
  // set it up using fluent notation
  gc.SetMargins(new Margins(300, 100, 150, 100))
    .SetDocumentTitle("Test document")
    .SetPaperSize(PaperKind.Letter);
  //... etc
  
  // create converter
  IPechkin pechkin = new SynchronizedPechkin(gc);
  
  // subscribe to events
  pechkin.Begin += OnBegin;
  pechkin.Error += OnError;
  pechkin.Warning += OnWarning;
  pechkin.PhaseChanged += OnPhase;
  pechkin.ProgressChanged += OnProgress;
  pechkin.Finished += OnFinished;
  
  // create document configuration object
  ObjectConfig oc = new ObjectConfig();
  
  // and set it up using fluent notation too
  oc.SetCreateExternalLinks(false)
    .SetFallbackEncoding(Encoding.ASCII)
    .SetLoadImages(false);
    .SetPageUri("http://google.com");
  //... etc
  
  // convert document
  byte[] pdfBuf = pechkin.Convert(oc);
  </code></pre>
  
  <p>But I didn't make it work...  It looks so easy but no idea how to implement it...
  But I see Gman has worked with it.</p>
  
  <p>Thank you in advance... :)</p>