I need to convert the chm file to another format, most likely to pdf or html. I tried chm2pdf and other converters, but they all do terrible tasks when converting. Even when using a program like htmldoc, it doesn’t work very well when converting to html.
Is there a way to print each page of the chm file or take its image, and then save this image in pdf format or in another format.
The main reason for this is that chm books are filled with code, and the conversion tools do not format anything correctly.
I'm afraid it will be a multi-step procedure ...
, PDF, linuxy ( Debian Ubuntu). .;)
- Primo PDF, PDF . ( - http://www.helixoft.com/vsdocman-faqs/printing-chm-documentation.html)
linux, xchm (http://xchm.sourceforge.net/) .chm.
, CHM - MSIE (Internet Explorer). , , . ( , , MSIE 6)
, , - ( CHMLIB , , Free Pascal/Lazarus) CHM ( html- ) fire MSIE , , PDF.
, , IE. ( , , ).
TOC XML- .hhc, PDF-.
- "" IE, , , PDF, , . : -)
:
https://cloudconvert.com/chm-to-pdf
REST API:
API CloudConvert REST , - CloudConvert.
, pdf , . 80%.
chm pdf, .
1)2) ,3), , TEMP ( c:\Documents and Settings\USERNAME\Local Settings\Temp) "~ hhSOMETEXT.htm"4) .htm Internet Explorer PDF.
, , img {display: none! important;}
: CHM Decompiler (http://www.zipghost.com/chmdecompiler.html).
, . .
Source: https://habr.com/ru/post/1726733/More articles:Autostart height FlowLayoutPanel not working - layoutexplicit expression for XAttribute value - castingdelayed_job - Executes non-updated code? - ruby-on-railsHaystack / Whoosh index generation error - pythonNew for TDD for .NET, NUnit, or MSTest - .netInitialize boost / multi_array array - c ++How to silence the launch of the installer of another program (PostgreSQL) during installation on WIX? - installerCommunication between Windows service and Exchange server - c #Search Engine Inverted Index - search-engineChanging model binding to controller instead of type or attributes? - asp.net-mvcAll Articles