Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13602

Lexmark printing failure on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Some future release
    • 4.6.2
    • GUI: Printing
    • None
    • KUbuntu 64-bit AMD 10.04 LTS. All updates applied.

    Description

      After loading the attached ASCII text file into a TextEdit field on a dialog, printing with the following code fails misserably to any Lexmark printer using the newer "universal" Lexmark drivers shipping with KUbuntu 10.04 LTS. This impacts a large number of printers.

      void ReportBrowserDialog::printFile()
      {
      QPrinter printer(QPrinter::HighResolution);
      printer.setOutputFormat( QPrinter::NativeFormat);
      QPrintDialog *dlg = new QPrintDialog(&printer, this);
      dlg->setWindowTitle(tr("Print File"));
      if (dlg->exec() == QDialog::Accepted)

      { reportTextEdit->print(&printer); }

      delete dlg;

      } // end printFile method

      Changing the above code to use PostScriptFormat will print "some" of the file contents. Any line beginning with an ASCII FormFeed character is completely ignored even though said lines are loaded just fine in the TextEdit object.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kjernase Trond Kjernåsen (Inactive)
            seasoned_geek Roland Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes