Install htmldoc dan conversi file html ke pdf


Step by step :

  1. Install paket htmldoc $sudo apt-get install htmldoc -y
  2. untuk panduan command $ htmldoc –help
  3. membuat file sample $ nano test.html
    Output : <html>
    <head>
    <title>This is my first PDF</title>
    </head>
    <body>
    This is the body of my first PDF.
    </body>
    </html>
  4. lalu convert file html ke pdf dengan command $ htmldoc –webpage -f test.pdf test.html

Di tulis oleh: