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