Difference between revisions of "PDF"

From Ilianko
Line 2: Line 2:
  
 
  vi zad1.pdf
 
  vi zad1.pdf
 +
 +
Натискате "i" за влизане в текстов режим и копирате кода Листинг1. Натискате "Esc", ":", "w","q","Enter".
  
 
<code><pre>
 
<code><pre>
Line 59: Line 61:
 
</pre></code>
 
</pre></code>
  
 +
pdftk zad1.pdf output zad.pdf
 +
vi zad.pdf
  
  

Revision as of 10:40, 18 May 2012

Зад.1.

vi zad1.pdf

Натискате "i" за влизане в текстов режим и копирате кода Листинг1. Натискате "Esc", ":", "w","q","Enter".

%PDF-1.0 File header
1 0 obj
<<
  /Type /Pages
  /Count 1
  /Kids [2 0 R]
>>
endobj
2 0 obj
<< 
  /Type /Page
  /MediaBox [0 0 612 792]
  /Resources 3 0 R
  /Parent 1 0 R
  /Contents [4 0 R]
>>
endobj
3 0 obj
<< 
  /Font
  <<
    /F0
    << 
      /Type /Font
      /BaseFont /Times-Italic
      /Subtype /Type1
    >>
  >>
>>
endobj
4 0 obj
<< >>
stream
  1. 0. 0. 1. 50. 700. cm
  BT /F0 36. Tf (Hello, World!) Tj ET
endstream
endobj
5 0 obj
<<
  /Type /Catalog
  /Pages 1 0 R
>>
endobj
xref
0 6
trailer
<< 
  /Size 6
  /Root 5 0 R
>>
startxref
0
%%EOF
pdftk zad1.pdf output zad.pdf
vi zad.pdf


...

PDF