You can convert HTML to PDF in a way convenient for you, in a quick way, and in an advanced way. Also, the way is described here Convert Web page to PDF....Path ; import java.nio.file.Paths ; import com.aspose...{ } private static Path _dataDir = Paths . get ( "/home/admi...