title: How to insert "\\" chars inside a PDF text ? I'm writing the file manually
body: <p>I'm writing PDF files by hand... </p>
  
  <p>I put some words with some codes inside a text file. When I change the file extension to ".pdf" we can see a PDF file.</p>
  
  <p>The problem is about backslashes in a text...</p>
  
  <p>The content of my file includes something like :</p>
  
  <pre><code>\\127.0.0.1\
  </code></pre>
  
  <p>but when I open the .pdf file generated, I see my text without a backslash:</p>
  
  <pre><code>\127.0.0.1\
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>    %PDF-1.2 
      %ÓÓÓÓ
      1 0 obj
      &lt;&lt;
      /Creator  (Dinesh Asanka PSOPDF)
      /Producer (VB to PDF dineshasanka@hotmail.com)
      /Title (VBTOPDF)
      &gt;&gt;
      endobj
      4 0 obj
      &lt;&lt;
      /Type /Font
      /Subtype /Type1
      /Name /F1
      /Encoding 5 0 R
      /BaseFont /Courier
      &gt;&gt;
      endobj
      5 0 obj
      &lt;&lt;
      /Type /Encoding
      /BaseEncoding /WinAnsiEncoding
      &gt;&gt;
      endobj
      6 0 obj
      &lt;&lt;
      /Font &lt;&lt; /F1 4 0 R   &gt;&gt;  /ProcSet [ /PDF  /Text ]
      &gt;&gt;
      endobj
      7 0 obj
      &lt;&lt;
      /Type /Page
      /Parent 3 0 R
      /Resources 6 0 R
      /Contents 8 0 R
      &gt;&gt;
      endobj
      8 0 obj
      &lt;&lt;
      /Length 9 0 R
      &gt;&gt;
      stream
      BT
      /F1 10 Tf
      1 0 0 1 1 780 Tm
      12 TL
      T* (                                          Impressoras de NF) Tj
      T* (                                                                                      Loja Logada: 1) Tj
      T* (                                                                                    Data: 03/03/2015) Tj
      T* (                                                                                      Versao: 4.0.2u) Tj
      T* (------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------) Tj
      T* (            IP Nome              Localização Store Serie ) Tj
      T* (               Impressora                               ) Tj
      T* (------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------) Tj
      0.392 0.392 0.392 rg
      T* ( 192.168.17.22 192.168.17.22\pdf PDF            1     1 ) Tj
      0.000 0.000 0.000 rg
      T* (  192.168.17.6 \\Directory\EPSONNF  CPD            1     0 ) Tj
      0.392 0.392 0.392 rg
      T* (          ) Tj
      ET
      endstream
      endobj
      9 0 obj
      315
      endobj
      2 0 obj
      &lt;&lt;
      /Type /Catalog
      /Pages 3 0 R
      /PageLayout /OneColumn
      &gt;&gt;
      endobj
      3 0 obj
      &lt;&lt;
      /Type /Pages
      /Count 1
      /MediaBox [ 0 0 612 792 ]
      /Kids [ 7 0 R ]
      &gt;&gt;
      endobj
      xref
      010
      0000000000 65535 f
      0000000017 00000 n
      0000000880 00000 n
      0000000959 00000 n
      0000000144 00000 n
      0000000247 00000 n
      0000000321 00000 n
      0000000396 00000 n
      0000000484 00000 n
      0000000858 00000 n
      trailer
      &lt;&lt;
      /Size 10
      /Root 2 0 R
      /Info 1 0 R
      &gt;&gt;
      startxref
      1052
      %%EOF
  </code></pre>
  
  <p>How can I print my address with two backslashes?</p>