<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="253421" data-post-id="253421">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="silverdr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/silverdr/120/23771_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  silverdr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>OK, so I was able to get back to this and scrutinise my setup details. I thought I found the culprit when I managed to go down to below 300ms on average. The reason for the previous lack of performance (I thought) was that <code>ChromicPDF</code> instead of the current “Chromium” browser, picked a two years old “Chrome” I even forgot I had still installed. And since I blocked Google’s malware updater software from running, it wasn’t updated for over two years. So everything looked great… for a moment. Once things started to work well on the dev machine running “macos”, I moved to the one running GNU/Linux. In the end this is what production env runs. Here I also made sure that the very same, latest “Chromium” version[*] is run in place of previously installed packaged one, and still received times over two seconds (pooled). Yes, the Linux running machine is of similar hardware capabilities so that’s definitely not the up to 10x factor I observe. And yes that machine clocks similar times with <code>wkhtmltopdf</code> (around 800ms) as the “macos” computer I normally use for dev work.</p>
<p>Shall return to this and do some more “tracing”.</p>
<p>* - in both cases I downloaded the same version directly off the “Chromium” project rather than using packaged versions</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="253421" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/52">Post #51</a>
	                </div>
	            </div>
              <div id="likers-container-253421" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="253421"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #51"></div>
  </section>
</div>
    <div class="postbit" id="253566" data-post-id="253566">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="outlog" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  outlog
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>if you are benchmarking/looking for speed, give weasyprint a go.. I simply use it calling the CLI using rambo (quick copy/paste code below), but you can set it up with ports <a href="https://cmdarek.com/pages/generate-pdfs-in-elixir.html" class="inline-onebox" rel="noopener nofollow ugc">cmdarek.com - Generate PDFs in Elixir</a> and have the weasyprint instance running at any time, including caching fonts/images for fast response..</p>
<p>might be quite the rabbit hole though:/</p>
<p>code for calling the cli (which obviously incur startup penalty) - (populate_html simply calls EEx.eval_file with the template path and data)</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">defmodule RamboPdf do
  def create_pdf(item) do
    css = Path.join([PDFfile.path(), "templates/invoice", "invoice.css"])

    html =
      PDF.gen_data(item)
      |&gt; PDF.populate_html("templates/invoice", "invoice.html")

    safe_name =
      PDFfile.fix_name(item.name)
      |&gt; String.trim()
      |&gt; String.replace(" ", "_")
      |&gt; String.to_charlist()
      |&gt; Enum.filter(&amp;(&amp;1 in 0..127))
      |&gt; List.to_string()

    output_file = Path.join([PDFfile.path(), "output", "#{item.room}_#{safe_name}.pdf"])
    # https://doc.courtbouillon.org/weasyprint/stable/api_reference.html#command-line-api

    task =
      Task.async(fn -&gt;
        Rambo.run("weasyprint", ["--encoding", "utf8", "-q", "-s", css, "-", "-"],
          in: html,
          log: false,
          timeout: 20_000
        )
      end)

    rambo = Task.await(task, :infinity)

    case rambo do
      {:ok, %Rambo{err: _err, out: output, status: 0}} -&gt;
        File.write(output_file, output, [:binary])
        output

      error -&gt;
        IO.inspect("error")
        IO.inspect(error)
    end
  end
end
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="253566" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/53">Post #52</a>
	                </div>
	            </div>
              <div id="likers-container-253566" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="253566"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #52"></div>
  </section>
</div>
    <div class="postbit" id="253597" data-post-id="253597">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="silverdr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/silverdr/120/23771_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  silverdr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="outlog" data-post="53" data-topic="29473">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/o/c0e974/48.png" class="avatar"> outlog:</div>
<blockquote>
<p>if you are benchmarking/looking for speed, give weasyprint a go…</p>
</blockquote>
</aside>
<p>Thank your for the suggestion. The main reason for going with <code>ChromicPDF</code> was that I need to have the output from browser-printed and server-generated PDF look the same. And that without synchronising and sync-maintaining two different templates. Of course there may be some minor differences between how each of the three major browsers render the printout but tests have shown that those are negligible. IOW I am not  really benchmarking for speed but rather trying to understand the reasons for severe underperformance I experience /in some cases/.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="253597" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/54">Post #53</a>
	                </div>
	            </div>
              <div id="likers-container-253597" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="253597"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #53"></div>
  </section>
</div>
    <div class="postbit" id="280183" data-post-id="280183">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="silverdr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/silverdr/120/23771_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  silverdr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Coming back after tuning the eventually put into production mode project with ChromicPDF. The good news is that in production, the application containerised with recent Chromium and Debian packaged 9.53.3 Ghostscript works (pooled rather than “on demant”) eventually <em>faster</em> than wkhtmltopdf while producing similarly sized output files (about 50 KiB)! The [very] long story short - both the performance and especially the output size depends heavily on what fonts are available for Chromium to pick for given CSS. Using only non-commercial fonts (my GNU/Linux running laptop) makes a big difference when compared to a macos running desktop with lots of various fonts available for the browsers. In order to get the look and output size I am satisfied with I eventually removed all preinstalled fonts from the container and added only those non-commercial ones I found giving good visual results, and then picking out which give the smallest filesize. All in all, after spending lots of time fine-tuning the container, I am very satisfied with the results. The only (acceptable) issue is that PDFs saved from browser’s window and generated on the server can (and often do) exhibit some visual differences due to different fonts being used. A known problem of course and, unless one wants to supply own fonts for both cases, something to live with. Summing up - once more thank you <a class="mention" href="/u/maltoe" rel="nofollow">@maltoe</a> and kudos!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="280183" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/55">Post #54</a>
	                </div>
	            </div>
              <div id="likers-container-280183" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="280183"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #54"></div>
  </section>
</div>
    <div class="postbit" id="281735" data-post-id="281735">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Bumbus" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Bumbus
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi, is there a way to print to total number of pages somehow?<br>
I need to achieve some kind of pagination info in the footer, e.g. Page 1 of 10.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="281735" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/56">Post #55</a>
	                </div>
	            </div>
              <div id="likers-container-281735" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="281735"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #55"></div>
  </section>
</div>
    <div class="postbit" id="281738" data-post-id="281738">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Bumbus" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Bumbus
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>ok found it myself:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">"&lt;span class='totalPages'&gt;&lt;/span&gt;"
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="281738" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/57">Post #56</a>
	                </div>
	            </div>
              <div id="likers-container-281738" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="281738"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #56"></div>
  </section>
</div>
    <div class="postbit" id="313461" data-post-id="313461">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="nseaSeb" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nseaSeb/120/30165_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  nseaSeb
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>First of all, thank you and Chromic is really cool!<br>
I’m encountering a rather silly problem when deploying on <a href="http://Fly.io" rel="noopener nofollow ugc">Fly.io</a>, chrome isn’t present, do I just need to add it to my yaml (docker), has anyone had any experience of this?<br>
I’d like to take this opportunity to wish everyone a happy new year</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="313461" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/58">Post #57</a>
	                </div>
	            </div>
              <div id="likers-container-313461" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="313461"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #57"></div>
  </section>
</div>
    <div class="postbit" id="313467" data-post-id="313467">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="nseaSeb" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nseaSeb/120/30165_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  nseaSeb
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I try what I read in this post</p><aside class="onebox discoursetopic" data-onebox-src="https://community.fly.io/t/cant-install-chrome-chromium-via-dockerfile-or-ssh/5303/4">
  <header class="source">
      <img src="https://global.discourse-cdn.com/fly1/optimized/1X/276bd78a68c1a9248075881ff96190aa81ee5804_2_32x32.png" class="site-icon" alt="" width="32" height="32">

      <a href="https://community.fly.io/t/cant-install-chrome-chromium-via-dockerfile-or-ssh/5303/4" target="_blank" rel="noopener nofollow ugc" title="01:15PM - 24 May 2022">Fly.io – 24 May 22</a>
  </header>

  <article class="onebox-body">
    <div class="aspect-image" style="--aspect-ratio:88/77;"><img src="https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg" class="thumbnail" width="88" height="77"></div>

<div class="title-wrapper">
  <h3><a href="https://community.fly.io/t/cant-install-chrome-chromium-via-dockerfile-or-ssh/5303/4" target="_blank" rel="noopener nofollow ugc">Can't install Chrome / Chromium via Dockerfile or SSH</a></h3>
  <div class="topic-category">
      <span class="badge-wrapper bullet">
        <span class="badge-category-bg" style="background-color: #0088CC;"></span>
        <span class="badge-category clear-badge">
          <span class="category-name">Questions / Help</span>
        </span>
      </span>
    <div class="topic-header-extra">
      <div class="list-tags">
        <div class="discourse-tags">
          <svg class="fa d-icon d-icon-tag svg-icon svg-string"><use href="#tag"></use></svg>
            <span class="discourse-tag simple">elixir</span>
        </div>
      </div>
    </div>
  </div>
</div>

  <p>Can you post the entire Dockerfile?</p>


  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="313467" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/59">Post #58</a>
	                </div>
	            </div>
              <div id="likers-container-313467" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="313467"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #58"></div>
  </section>
</div>
    <div class="postbit" id="313555" data-post-id="313555">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="nseaSeb" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nseaSeb/120/30165_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  nseaSeb
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hello, the link shared above is ok, it works for deploying chromic in a <a href="http://fly.io" rel="noopener nofollow ugc">fly.io</a> project.</p>
<p>Just in case, I’m trying to pass params to define an author, topic etc in my PDF but that doesn’t seem to be the right approach, any ideas?</p>
<pre data-code-wrap="elixir"><code class="lang-elixir"> params = [
        info: %{
          author: "Me myself &amp; I",
          subject: "Try to pass params"
        }
      ]
    {_, blob} =
      [
        content: """
        &lt;!doctype html&gt;
        &lt;html&gt;
          &lt;head&gt;
            &lt;meta charset="UTF-8" /&gt;
            &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
            &lt;script src="https://cdn.tailwindcss.com"&gt;
            &lt;/script&gt;

        &lt;style&gt;
        table {
        border-collapse: collapse;
        font-size: 10px
        }
        p {
          padding: 8px;
        }
        th {
        font-weight: 700;
        }
        td, th {
        border: 1px solid #999;
        padding: 0.5rem;
        text-align: left;
        }
        &lt;/style&gt;
          &lt;/head&gt;
          &lt;body&gt;
          &lt;div class="p-4"&gt;
           #{table}
           &lt;/div&gt;
          &lt;/body&gt;
        &lt;/html&gt;
        """,
        header: """
        &lt;p style="padding: 8px;"&gt;#{filename}&lt;/p&gt;
        """,
        footer: """
        &lt;p style="padding: 8px;"&gt;Gesti'up&lt;/p&gt;
        """,
        size: :a4,
        header_height: "40mm",
        footer_height: "40mm"
      ]
      |&gt; ChromicPDF.Template.source_and_options()
      |&gt; ChromicPDF.print_to_pdf(params)

    conn
    |&gt; put_resp_content_type("application/pdf")
    |&gt; put_resp_header("content-disposition", "attachment; filename=#{filename}.pdf")
    |&gt; put_root_layout(false)
    |&gt; send_resp(200, Base.decode64!(blob))
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="313555" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/60">Post #59</a>
	                </div>
	            </div>
              <div id="likers-container-313555" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="313555"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #59"></div>
  </section>
</div>
    <div class="postbit" id="313608" data-post-id="313608">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="maltoe" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/maltoe/120/18436_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  maltoe
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/nseaseb" rel="nofollow">@nseaSeb</a> The <code>:info</code> option is correct but unfortunately isn’t recognized by <code>print_to_pdf</code>, only by <code>print_to_pdfa</code>. There’s a ticket to resolve this <a href="https://github.com/bitcrowd/chromic_pdf/issues/200" class="inline-onebox" rel="noopener nofollow ugc">Add info option to print_to_pdf/2 · Issue #200 · bitcrowd/chromic_pdf · GitHub</a> but I can’t promise it’ll be implemented any time soon.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="313608" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/chromicpdf-pdf-generator/29473/61">Post #60</a>
	                </div>
	            </div>
              <div id="likers-container-313608" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="313608"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #60"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/29473/load_more?page=7">Load more posts (3 remaining)</a>
</div></template></turbo-stream>