• 请不要在回答技术问题时复制粘贴 AI 生成的内容
JesseHeisenberg
V2EX  ›  程序员

js 打印 900 页内容,预览白屏怎么破?

  •  
  •   JesseHeisenberg · Jan 8, 2019 · 2397 views
    This topic created in 2872 days ago, the information mentioned may be changed or developed.

    环境:chrome
    区域打印,有没有什么办法可以不预览直接,在 chrome 下。

    Kagari
    Kagari
    Jan 8, 2019
    1
    可以试下“--disable-print-preview ”
    cnit
    cnit
    Jan 8, 2019
    2
    1 楼的方法是可以,我以前试过。但是后来我是做成了个服务进程,socket 接数据直接打
    JesseHeisenberg
    JesseHeisenberg
    OP
    Jan 9, 2019
    3
    @Kagari #1
    @cnit #2 用 js 还是无法控制的吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1320 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 17:16 · PVG 01:16 · LAX 09:16 · JFK 12:16
    ♥ Do have faith in what you're doing.