Print Page | Close Window

Printing on Matrix printer -> letters distorted

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1851
Printed Date: 22 Nov 24 at 7:47PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Printing on Matrix printer -> letters distorted
Posted By: mortzde
Subject: Printing on Matrix printer -> letters distorted
Date Posted: 08 Jun 11 at 8:28AM
Hi,

if i print on a matrix printer the letters in the printout are distorted/crackled, it is hard to describe. It's like there is a scaling which is not calculated properly. The same printout on a laserprinter is printing fine.

Do you have any idea? I use quickpdf 7.24 and

  qp.PrintDocument(newpr, 1, qp.PageCount, qp.PrintOptions(0, 0, reportname));

does anyone have an idea?

Thanks,

Martin 



Replies:
Posted By: dsola
Date Posted: 09 Jun 11 at 12:11PM
Did You try to print that PDF from Adobe Reader to that matrix printer and compare results?

D.


-------------
registered QuickPDF user


Posted By: mortzde
Date Posted: 10 Jun 11 at 8:06AM
yes,
 
Adobe reader is printing fine.
 
Martin


Posted By: JanN
Date Posted: 15 Jun 11 at 1:22PM
Please keep in mind, that QuickPdf prints differently than Adobe Reader. QuickPdf renders the pages and then submits an image to the printer. Whereas Adobe really communicates with the printer driver and submits text if possible.

Someone correct me please if I'm wrong.

EDIT: Printing images on a matrix printer in most cases is a bad idea.


Posted By: dsola
Date Posted: 16 Jun 11 at 9:03AM
Can You send me that PDF for testing?

Regards,
Davor


-------------
registered QuickPDF user


Posted By: BukeMan
Date Posted: 21 Mar 12 at 11:20AM
hello!
is there any progress in that direction? our company just faced the same issue with 9-pin matrix printer. from Adobe Reader it prints fine..


Posted By: edvoigt
Date Posted: 21 Mar 12 at 1:49PM
Hi,

as JanN wrote: you try to print an image (made by rendering) on a device with very low resolution.

Let's assume every line has 4mm high letters on 9 needles, so the printer realizes much less than 72dpi. Thats less as on screen! And in the image, there is not exactly one pixel for every needleposition on paper. Needles and pixels dont match. So it cannot be quality. Its the same as with fax-communication.

It is rather sure that adobe goes another (more complicated) way, depending more on the possibilities of use printer.

You should think about another way (textextraction, printing without QPL).


Cheers,
Werner


Posted By: AndrewC
Date Posted: 22 Mar 12 at 10:46AM

It could be related to printer driver settings where the default setting are low quality.  It may require some work with the DEVMODE structure to set the correct quality settings in the QPL Customer Custom printer before printing.

    QP.LoadFromFile("PrintDocumentTest.pdf", "");
    int op = QP.PrintOptions(1, 0, "Hello World");

    string printer = QP.NewCustomPrinter(QP.GetDefaultPrinterName());

    int ret = QP.SetupCustomPrinter(printer, 5, 1);  // Print Quality = High

    ret = QP.PrintDocument(printer, 1, MyPageCount(), op);




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk