The command requires in total at least 5, or an optional 6th parameter. ![]() Most of these parameter names show that the tool clearly related to printing. Usage: xhtmltopdf job-id user title copies options Calling it with no parameters at all (or with the wrong number of parameters) it will emit a small usage hint: $ /usr/libexec/cups/filter/xhtmltopdf The second thing to know is that it requires a specific syntax and order of parameters to run, otherwise it won't. It is in /usr/libexec/cups/filter/xhtmltopdf. The first thing to know is that it is not in any desktop user's $PATH.However, if you know about it, know where to find it and know how to run it, there is no problem with doing so: This filter is usually not meant to be used by end-users but only by the CUPS printing system. ![]() This method (ab)uses a filter from the Mac's print subsystem, called xhtmltopdf. It does not use LibreOffice at all and should work on all Macs. Ok, here is an alternative way to do convert (X)HTML to PDF on a Mac command line. I'm trying to convert a HTML file to a PDF by using the Mac terminal.
0 Comments
Leave a Reply. |