Giter VIP home page Giter VIP logo

Comments (3)

GitHubRulesOK avatar GitHubRulesOK commented on September 25, 2024

Artifex GhostScript is probably the best for printing via Command Line and should be much higher quality.
SumatraPDF is based on Artifex MuPDF Viewing technology that has no print functions, so has to use Windows basic screen orientated printing.

from sumatrapdf.

fdjkdf avatar fdjkdf commented on September 25, 2024

Artifex GhostScript 可能是通过命令行打印的最佳选择,并且质量应该更高。 SumatraPDF 基于 Artifex MuPDF Viewing 技术,没有打印功能,因此必须使用 Windows 基本屏幕定向打印。

Is sumatraPDF printing based on ghost, I just used ghost to print and it's still very slow, about the same speed as suma!

from sumatrapdf.

GitHubRulesOK avatar GitHubRulesOK commented on September 25, 2024

@fdjkdf
PDF printing in widows is generally slow

  1. read start of file for any early structure
    no its not there go to end of file where index is
    decompress and or decode index and note where file root starts
    darn its back near the start of file
    calculate from index where first page to print may be found and hope its not other end of file.
    no as usual its near the other end
    got it
    now index all the pages we may need to decompress
    go to first page and start decompiling
    oh dear the needed fonts are down at opposite end of file and we need to read the index as to where other objects like images are. So are we ready to print one page ?

etc etc . PDF is really the most random of all formats for printout
3 pages of text takes under 3 seconds to print from notepad.
where the initial PS design was few images and no document fonts as those were firmware in the printer so instantly usable, by sending just text control codes.

Modern PDF are about 10 times bigger than necessary, a single UTF letter can easily be needing over 10 bytes, (compared to a one byte Latin character) but then computers are 25% of 100 times faster so no real gains with modern methods. The greater the compression the longer to unpack for printing.

from sumatrapdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.