Results 1 to 2 of 2

Thread: Printing with Dot Matrix printers problem - text doesn't appear correctly.

  1. #1
    Join Date
    May 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Printing with Dot Matrix printers problem - text doesn't appear correctly.

    Hi, Guys.

    While printing on dot matrix printer, text appeared too tight on portrait, and too loose while on landscape (only with Qt). When on other program like Office, etc, the printer works normal.

    After some check, i found that it's caused by different resolution on the printer.
    the printer support like: 240*144, 120*144, 120*72 dpi. (QPrinter physical res).
    while QPrinter (logical res) is square (96*96, 300*300, etc.).

    Any solution to get the text printed right?

    PS: I've read this on Qt's Doc, but not sure how to get it done
    Note that if the physicalDpiX() doesn't equal the logicalDpiX(), the corresponding QPaintEngine must handle the resolution mapping.

  2. #2
    Join Date
    May 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Printing with Dot Matrix printers problem - text doesn't appear correctly.

    I'm sorry to bring this up again.. But Is there really no solution for this?

    Are dot matrix printer should be used with direct printing only in Qt? not with QPrinter?
    Does anyone know how to handle the resolutions difference?

    Dot Matrix are still widely used in my country...

Similar Threads

  1. Replies: 6
    Last Post: 22nd November 2016, 13:57
  2. Replies: 2
    Last Post: 31st August 2011, 16:15
  3. Qt Printing QTextDocument problem (truncated text)
    By giowck in forum Qt Programming
    Replies: 3
    Last Post: 20th April 2011, 07:37
  4. QWebView doesn't display correctly unicode
    By binaural in forum Qt for Embedded and Mobile
    Replies: 16
    Last Post: 3rd September 2010, 08:24
  5. Replies: 1
    Last Post: 3rd September 2008, 14:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.