Wrong line weight when printing if compared to Acrobat print

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

ciroettorre
User
Posts: 25
Joined: Tue Dec 30, 2008 9:59 am

Wrong line weight when printing if compared to Acrobat print

Post by ciroettorre »

Hello,

I am running in a serious issue related to the default line weight for printing both texts that vectorial data.
Attached is a sample PDF where, if printed with the PDF-XChange ActiveX, the line weights are bigger than if printed with Acrobat Reader last version.
For testing, please print it on a printer with the default DPI value, first with the PDF-XChange ActiveX and then with Acrobat Reader.
You will see that the table on the right side of the PDF is unreadable if printed with PDF-XChange, and readable if printed with Acrobat Reader.
The parameters I have used are ( only a sample ):

Code: Select all

hRes = spViewer->OpenDocument(...,PXCVA_NoUI);
Print.PrinterName = ...
Print.PaperName = "A3"
Print.Copies = 1
Print.RangeType = 2
Print.ScaleType = "FitToMargins"
Print.ScaleSimple.AutoRotate = "1"
Print.ScaleSimple.AutoCenter = "1"
Print.ScaleSimple.PaperByPage = "1"
spViewer->PrintDocument( ..., PXCVA_NoUI );
Our customers are not happy with such difference, and wont use the ActiveX for printing ( we bought the full OEM license of it )
Is there any way for fixing it ?
The issue is quite urgent

Regards,
Ciro Ettorre
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Wrong line weight when printing if compared to Acrobat print

Post by Stefan - PDF-XChange »

Hello Ciro Ettorre,

Please zip the file and attach it again as the first time it got removed.
Also could you please tell us which build are you using?

Regards,
Stefan Dzhukelov
ciroettorre
User
Posts: 25
Joined: Tue Dec 30, 2008 9:59 am

Re: Wrong line weight when printing if compared to Acrobat print

Post by ciroettorre »

Build is:

03/30/2009 02:31 PM 8,429,848 PDFXCview.exe
03/30/2009 02:33 PM 996,632 PDFXCviewAx.dll
03/30/2009 10:08 AM 3,869,696 pxcview.dll

Regards,
Ciro
You do not have the required permissions to view the files attached to this post.
ciroettorre
User
Posts: 25
Joined: Tue Dec 30, 2008 9:59 am

Re: Wrong line weight when printing if compared to Acrobat print

Post by ciroettorre »

For your further info, I have attached also two scans from the "true" paper print-outs on an HP A3 printer of both the Acrobat print and the PDFXCView print.
( Since I am not quite sure that the attachments have been correctly uploaded ( they have a big size ) ) I placed a copy of them in:
http://www.mechworks.com/ftproot/TrackerSoftware
Let me know if you have any trouble in accessing them

Regards,
Ciro
ciroettorre
User
Posts: 25
Joined: Tue Dec 30, 2008 9:59 am

Re: Wrong line weight when printing if compared to Acrobat print

Post by ciroettorre »

ciroettorre
User
Posts: 25
Joined: Tue Dec 30, 2008 9:59 am

Re: Wrong line weight when printing if compared to Acrobat print

Post by ciroettorre »

... last info:
I saw in the PDFXCview.exe that it is possible to assign an "Advanced Print Setup" ( Print text as curves, Max resolution for print as images, resolution for gradient fills )
In which way can I set such options through the API ?
Thanks,
Ciro
ciroettorre
User
Posts: 25
Joined: Tue Dec 30, 2008 9:59 am

Re: Wrong line weight when printing if compared to Acrobat print

Post by ciroettorre »

Hello, it is me again
After having tested the print with the advanced parameters, the print looks GOOD and very similar to Acrobat default printing
So I only need to set the Advanced Printer Options, but still don't know how

Regards,
Ciro
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Wrong line weight when printing if compared to Acrobat print

Post by Corwin - Tracker Sup »

You can use next properties for setting advanced print options:

"TextAsCurves" - allows the text to be printed as curves.
Type - integer
Possible values:
0 - Auto
1 - For embedded fonts
2 - Always
(Default value is 0)

"AsImagesMaxResol" - Maximum resolution for Print as Images.
Type - integer
(Default value is 300)

"GradientsResol" - Resolution for Gradient fills.
Type - integer
(Default value is 150)

"NotesAndPopups" - Print notes and popups.
Type - boolean (Integer/String)
(Default value is 0)

"PopupsAlpha" - sets the degree of opacity for poups.
Type - double
(Default value is 0.75)

Just a little sample:

Code: Select all

spViewer->SetProperty("Print.TextAsCurves", 2, 0);
spViewer->SetProperty("Print.AsImagesMaxResol", 600, 0);
spViewer->SetProperty("Print.NotesAndPopups", 1, 0);
ciroettorre
User
Posts: 25
Joined: Tue Dec 30, 2008 9:59 am

Re: Wrong line weight when printing if compared to Acrobat print

Post by ciroettorre »

Thank you very much for your help
I have just installed the new options and they appear to work perfectly
Regards,
Ciro
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Wrong line weight when printing if compared to Acrobat print

Post by John - Tracker Supp »

Pleased all is well ;)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com