03-19-2009, 10:04
|
rossa00
Joined on 09-24-2008
Posts 6
|
Re: Unable to View or Modify Default Printer Setting for Eprint Printers Under Vista64
|
 
 
|
|
|
I am using ePrint 5.
Re-installing did not help. But it looks like it is only a problem when I set properties dynamically in the code (I am using C#) and only when QFactor =1. Setting QFactor to 2 works fine. Using Save as dialog to set all the same settings with QFactor =1 also work fine.
This is the code I am using:
epnPrint.StartDocumentConversion(printername, 0);
epnMultiSaveOptions = new LPEPCLib.EpnMultiSaveOptionsClass();
epnMultiSaveOptions.SaveElementsCount = 1;
epnMultiSaveOptions.UseSave = true;
epnMultiSaveOptions.get_PrinterSaveOptions(0).SaveOptions.FileName = filename; epnMultiSaveOptions.get_PrinterSaveOptions(0).SaveOptions.DocumentOptions.MultiPageFile = true;
epnMultiSaveOptions.get_PrinterSaveOptions(0).SaveOptions.DocumentType = LPEPCLib.DocumentTypeConstants.FT_SAVE_TYPE_RASTER;
epnMultiSaveOptions.get_PrinterSaveOptions(0).SaveOptions.RasterOptions.MultiPageFile = true;
epnMultiSaveOptions.get_PrinterSaveOptions(0).SaveOptions.RasterOptions.BitsPerPixel = 24;
epnMultiSaveOptions.get_PrinterSaveOptions(0).SaveOptions.Format = LPEPCLib.ePrintFileConstants.FILE_RAS_PDF_JPEG_411;
epnMultiSaveOptions.get_PrinterSaveOptions(0).SaveOptions.RasterOptions.QFactor = 1;
epnPrint.SetPrinterSaveOptions(printername, epnMultiSaveOptions);
epnPrint.EndDocumentConversion(printername, 0);
Could is be a problem that I am creating new instance of the LPEPCLib.EpnMultiSaveOptionsClass? I tryed to use epnPrint.GetPrinterSaveOptions(), but it does not return the saved settings. SaveElementsCount is always 0.
|
|
|
|
|
Report
|
|
|
|