V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
MrMike
V2EX  ›  Linux

用 html 转换成 pdf,除了 wkhtmltopdf 外,还有没有其他程序呢?商业版的也可以

  •  
  •   MrMike · 2017-09-18 14:05:37 +08:00 · 2788 次点击
    这是一个创建于 2384 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题,可以安装在 linux 下面的程序,谢谢。

    14 条回复    2017-10-11 19:52:24 +08:00
    oska874
        1
    oska874  
       2017-09-18 14:07:22 +08:00
    doxygen
    EricCartman
        2
    EricCartman  
       2017-09-18 14:14:43 +08:00 via Android
    pandoc
    geelaw
        3
    geelaw  
       2017-09-18 14:15:32 +08:00 via iPhone
    浏览器,打印
    akstrom
        4
    akstrom  
       2017-09-18 14:18:56 +08:00
    IE
    linauror
        5
    linauror  
       2017-09-18 14:19:21 +08:00
    浏览器打印+1
    huangsw
        6
    huangsw  
       2017-09-18 14:34:30 +08:00
    如果要做到浏览器兼容,并能完美打印成 pdf 非 phantomjs 莫属。
    地址: https://github.com/ariya/phantomjs/

    我之前是在 windows 下用的,linux 应该也可以,自己看下
    wasabia
        7
    wasabia  
       2017-09-18 14:43:30 +08:00
    chrome headless + puppeteer
    LoLeon
        8
    LoLeon  
       2017-09-18 14:49:13 +08:00
    浏览器打印 x+1
    freehere
        9
    freehere  
       2017-09-18 15:26:34 +08:00
    unoconv 完美解决
    H3x
        10
    H3x  
       2017-09-18 15:31:15 +08:00
    chrome 打印 另存为 PDF
    TestSmirk
        11
    TestSmirk  
       2017-09-18 15:33:28 +08:00
    chrome
    bertonzh
        12
    bertonzh  
       2017-09-18 15:43:25 +08:00
    puppeteer README 里面就有 demo
    MrMike
        13
    MrMike  
    OP
       2017-09-18 22:38:16 +08:00
    谢谢各位的回复。不能使用浏览器或其他客户端进行打印。
    @bertonzh 没有看到可以在线测试的,我再看看。谢谢。
    iceheart
        14
    iceheart  
       2017-10-11 19:52:24 +08:00 via Android
    phantomjs
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2767 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 12:13 · PVG 20:13 · LAX 05:13 · JFK 08:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.