7

I have a task to make a PDF file about using Linux from my teacher. What program do I need to use, and do I need to format the file I make to PDF?

Zijo
  • 71

3 Answers3

16

LibreOffice (or OpenOffice).

There is an option "export to PDF" in the panel of Libreoffice:

enter image description here

Rinzwind
  • 309,379
7

If your document is a simple/regular text (not highly formatted), as an alternative to LibreOffice we got a lot of different ways to do this.

Let's say we don't have LibreOffice installed, and we're not aware of any third-party tools.

Drag and drop your text file to a browser (e.g: Firefox). Press Ctrl + P, then print it into a PDF file:

Enter image description here

This is worth to mention too: How to print a regular file to pdf from command line

Ravexina
  • 57,256
0

LibreOffice has an "Export to PDF" option on the toolbar at the top of the screen by default: Export as PDF in LibreOffice

If you can't see this toolbar button for some reason, you can also export documents in PDF format by clicking "Export as PDF..." in the Menu (File-->Export as PDF).

Alternatively, any program that allows printing will let you "print" as a PDF, by simply pressing Ctrl+P (or selecting "Print" from the respective program's menu/toolbar)... Just choose "Print to File" as the printer and then select "PDF" under "Output format": Print to File

Just like if you were printing to an actual printer, you can adjust various settings in the "Print" dialog box, such as which pages to print, the page orientation, etc...

Unless you specify otherwise (in the "File" section of the "Print" dialog box), Ubuntu will "print" the file as a PDF to your "Home" directory (Files-->Home).