We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

print quality - how to create print quality

Hi
print quality
if I print with WORD the thermal printer is nice
but when I use PdfViewerControl in lowercase, the print quality is poor
how to create print quality



MemoryStream stream_pdf = new MemoryStream();
                    reportWriter.Save(stream_pdf, WriterFormat.PDF);
                    PdfDocumentView pdfViewer = new PdfDocumentView();
                    pdfViewer.Load(stream_pdf);

  PdfViewerControl viewer = new PdfViewerControl();

viewer.Load(stream_pdf);
PrintDialog dialog = new PrintDialog();
 dialog.Document = pdfViewer.PrintDocument;

                    if (printer1.Length > 1)
                    {
                        dialog.Document.PrinterSettings.PrinterName = printer1;
                    }
                    else
                    {
                        PrinterSettings settings = new PrinterSettings();
                        dialog.Document.PrinterSettings.PrinterName = settings.PrinterName;

                    }

  ////dialog.Document.DefaultPageSettings.PrinterResolution.X = 203;
                    ////dialog.Document.DefaultPageSettings.PrinterResolution.Y = 203;
                    //PrinterResolution pkResolution = new PrinterResolution();
                    //pkResolution.X = 600;
                    //pkResolution.Y = 600;
                    //dialog.Document.DefaultPageSettings.PrinterResolution = pkResolution;

 dialog.Document.DefaultPageSettings.PrinterResolution.Kind = PrinterResolutionKind.Draft;// High;
 if (dialog.ShowDialog() == DialogResult.OK)
                        {

                            dialog.Document.Print();
                        }



Best,
Gregory

6 Replies

SS Sathish Sivakumar Syncfusion Team June 11, 2019 12:55 PM UTC

Hi Gregory, 
 
Greetings from Syncfusion. 
 
We regret to let you know that we could not reproduce the mentioned issue “print quality is low” in WinForms PDF viewer. Kindly refer the sample in the below link which we created to reproduce the reported issue. 
 
 
Kindly share the following details to analyze more on this issue and assist you with the better solution  
  1. Modify / Simple sample with which the issue could be reproduced.
  2. Share the document used. (If the document is confidential, you can share the document to support@syncfusion.com)
  3. Printer name and any other printer specific details.
Regards,
Sathish
 



GP Gregory Pe replied to Sathish Sivakumar August 2, 2019 01:11 PM UTC

Hi Gregory, 
 
Greetings from Syncfusion. 
 
We regret to let you know that we could not reproduce the mentioned issue “print quality is low” in WinForms PDF viewer. Kindly refer the sample in the below link which we created to reproduce the reported issue. 
 
 
Kindly share the following details to analyze more on this issue and assist you with the better solution  
  1. Modify / Simple sample with which the issue could be reproduced.
  2. Share the document used. (If the document is confidential, you can share the document to support@syncfusion.com)
  3. Printer name and any other printer specific details.
Regards,
Sathish
 


Hi
why change the format after printing

2019-08-02 14:46:54
08/02/2019 14:46:54

3,3
3.3

Please run
1.button2
2. print
3. button2

and changes
2019-08-02 14:46:54  > 08/02/2019 14:46:54
and
3.3> 3.3

how to stop it


Attachment: Forum14515991552327(1)_4513d009.rar


AS Aravindh Sathiyamoorthy Syncfusion Team August 5, 2019 12:03 PM UTC

Hi Gregory,  
   
We have tried to reproduce the issue “Date format gets changed after printing the document” with the shared sample in our side, but it is working fine as expected. 
  
Kindly share the following details to analyze more on this issue and assist you with the better solution   
·       Visual Studio version.  
·       Windows OS details.  
·       System Language/Culture information. 
   
Regards,  
Aravindh Sathiyamoorthy. 



GP Gregory Pe replied to Aravindh Sathiyamoorthy August 5, 2019 04:14 PM UTC

Hi Gregory,  
   
We have tried to reproduce the issue “Date format gets changed after printing the document” with the shared sample in our side, but it is working fine as expected. 
  
Kindly share the following details to analyze more on this issue and assist you with the better solution   
·       Visual Studio version.  
·       Windows OS details.  
·       System Language/Culture information. 
   
Regards,  
Aravindh Sathiyamoorthy. 


Hi Aravindh Sathiyamoorthy.

vs2012
16.3450.0.29
poland
windows 7


Best,
Gregory


Attachment: test001_6cda8ee6.rar


AS Aravindh Sathiyamoorthy Syncfusion Team August 6, 2019 01:22 PM UTC

Hi Gregory, 
 
Thank you for sharing the details with us.   
  
We are currently working on creating an environment to reproduce the issue using the details you have provided, and we will update further details on the same on August 8th, 2019.  

Regards, 
Aravindh Sathiyamoorthy. 



AS Aravindh Sathiyamoorthy Syncfusion Team August 8, 2019 12:54 PM UTC

Hi Gregory, 

The reported issue “Date Format gets changed after printing the document” is reproduced at our end with the provided environmental details. However, this issue was already resolved in our latest version (17.2.0.40) of PdfViewerControl. We suggest you upgrade to the latest version to overcome this issue. 

Kindly let us know if you still have any questions. 

Regards,
Aravindh Sathiyamoorthy. 


Loader.
Up arrow icon