Fail to print on Color printer using PostScript
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Fail to print on Color printer using PostScript
Hi,
there seems to be a problem when printing a colored PDF to a color enabled printer (Samsung CLP410) using PostScript driver: the result is still black and white. Printing with PCL driver instead works fine.
Steps to reproduce:
- start Delphi Sample application PXCView Delphi Demo Application
- load attached PDF
- note, screen shows colored content
- print using a PostScript driver on a color enabled printer
--> result is black&white
used version: PDFXEditSimple.x86.dll 6.0.317.0
I also noticed, that when I load this PDF on latest full PDF-XChange Editor, also on screen the upper part is not rendered with dark red color.
best regards,
Ulrich
there seems to be a problem when printing a colored PDF to a color enabled printer (Samsung CLP410) using PostScript driver: the result is still black and white. Printing with PCL driver instead works fine.
Steps to reproduce:
- start Delphi Sample application PXCView Delphi Demo Application
- load attached PDF
- note, screen shows colored content
- print using a PostScript driver on a color enabled printer
--> result is black&white
used version: PDFXEditSimple.x86.dll 6.0.317.0
I also noticed, that when I load this PDF on latest full PDF-XChange Editor, also on screen the upper part is not rendered with dark red color.
best regards,
Ulrich
- Attachments
-
- single_page_colored.pdf
- (1.56 MiB) Downloaded 128 times
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Hello Ulrich,
Have you tried using that driver in other PDF applications?
Cheers,
Alex
Strange - here's how the opened file looks like in the End-user editor on my machine:uko wrote:I also noticed, that when I load this PDF on latest full PDF-XChange Editor, also on screen the upper part is not rendered with dark red color.
Have you tried using that driver in other PDF applications?
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Fail to print on Color printer using PostScript
Hello Sasha,
Attached is the result for my latest PDF-XChange Editor. Please note the difference between preview and full view (running on Windows 7/64 ).
But back on printer:
I tried to print this page using Adobe Reader with this PS-driver and here the printed result is fully colored. I tested it also with a earlier version of our application that uses your older pxcview.dll version 2.5.313.1 and here the result is also printed colored.
So I guess there is a change between pxcview.dll 2.5.131.1 and PDFXEditSimple.x86.dll 6.0.317.0 that causes this problem (and it would explain, why only customers of our new version are having that problem but none of previous version: here the change from pxcview to PDFXEditSimple.x86 was done)
best regards,
Ulrich
Attached is the result for my latest PDF-XChange Editor. Please note the difference between preview and full view (running on Windows 7/64 ).
But back on printer:
I tried to print this page using Adobe Reader with this PS-driver and here the printed result is fully colored. I tested it also with a earlier version of our application that uses your older pxcview.dll version 2.5.313.1 and here the result is also printed colored.
So I guess there is a change between pxcview.dll 2.5.131.1 and PDFXEditSimple.x86.dll 6.0.317.0 that causes this problem (and it would explain, why only customers of our new version are having that problem but none of previous version: here the change from pxcview to PDFXEditSimple.x86 was done)
best regards,
Ulrich
- Attachments
-
- Screenshots.zip
- (1008.16 KiB) Downloaded 98 times
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Hello Ulrich,
It's strange that your end-user Editor displays this file differently. Please try to reset the settings and see whether it reoccurs.
Cheers,
Alex
It's strange that your end-user Editor displays this file differently. Please try to reset the settings and see whether it reoccurs.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Fail to print on Color printer using PostScript
Alex,
you're right, after resetting all settings the page is displayed fine now! Is there an easy way to find out, which setting caused the problem? I have exported the corrupted one before and when I reimport it, the problem is back.
But more severe problem is the PostScript printing. Do you have any ideas what happens here?
best regards,
Ulrich
you're right, after resetting all settings the page is displayed fine now! Is there an easy way to find out, which setting caused the problem? I have exported the corrupted one before and when I reimport it, the problem is back.
But more severe problem is the PostScript printing. Do you have any ideas what happens here?
best regards,
Ulrich
- Tracker Supp-Stefan
- Site Admin
- Posts: 17901
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Fail to print on Color printer using PostScript
Hello Ulrich,
Settings that could affect the colors displayed in a file would be e.g. the accessibility settings, or the Edit -> Preferences -. Page Display -> Rendering options, but given the screenshots provided where you have the tob grey and the image still with colours - it seems like for you it was the accessibility settings were enabled. Please check the attached images.
Regards,
Stefan
Settings that could affect the colors displayed in a file would be e.g. the accessibility settings, or the Edit -> Preferences -. Page Display -> Rendering options, but given the screenshots provided where you have the tob grey and the image still with colours - it seems like for you it was the accessibility settings were enabled. Please check the attached images.
Regards,
Stefan
- Attachments
-
- Images.zip
- (598.91 KiB) Downloaded 92 times
Re: Fail to print on Color printer using PostScript
Hello Stephan,
you're right, that was the problem. For any reason, 'Override document colors' was activated on my system. So one part of problem is solved, thank you for that!
best regards,
Ulrich
you're right, that was the problem. For any reason, 'Override document colors' was activated on my system. So one part of problem is solved, thank you for that!
best regards,
Ulrich
- Tracker Supp-Stefan
- Site Admin
- Posts: 17901
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Fail to print on Color printer using PostScript
Hi,
did you had a chance to reproduce PostScript the printing issue?
best regards,
Ulrich
did you had a chance to reproduce PostScript the printing issue?
best regards,
Ulrich
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Hello uko,
We are still working on it. We'll notify you when we'll have some results.
Cheers,
Alex
We are still working on it. We'll notify you when we'll have some results.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Fail to print on Color printer using PostScript
Hi Alex,
thank you!
best regards,
Ulrich
thank you!
best regards,
Ulrich
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
- Ivan - Tracker Software
- Site Admin
- Posts: 3549
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: Fail to print on Color printer using PostScript
As a workaround for now you can set option "Color Override" to "Color" value. To find this option please press "More..." button on Editor's print dialog. It is located in "Rendering Options" section
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Re: Fail to print on Color printer using PostScript
Thank you, Ivan!
But I need a solution for our Delphi Application using 'PDFXEditSimple.x86.dll' the way, the PXCView Delphi Demo Application does. Is there a way to set this option using the DLL API?
best regards,
Ulrich
But I need a solution for our Delphi Application using 'PDFXEditSimple.x86.dll' the way, the PXCView Delphi Demo Application does. Is there a way to set this option using the DLL API?
best regards,
Ulrich
- Tracker Supp-Stefan
- Site Admin
- Posts: 17901
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Fail to print on Color printer using PostScript
Hello Ulrich
You will need to set the correct ColorOverride value for the printing operation:
https://sdkhelp.pdf-xchange.com/vie ... es_Options
it is not listed on the above page - but value 3 is for Color as shown here:
https://sdkhelp.pdf-xchange.com/vie ... rrideModes
Regards,
Stefan
You will need to set the correct ColorOverride value for the printing operation:
https://sdkhelp.pdf-xchange.com/vie ... es_Options
it is not listed on the above page - but value 3 is for Color as shown here:
https://sdkhelp.pdf-xchange.com/vie ... rrideModes
Regards,
Stefan
Re: Fail to print on Color printer using PostScript
Hello Stefan,
that might work when using the ActiveX version. But how to do that when using just the plain DLL and it's exported methods (That's why I'm insisting on PXCView Delphi Demo Application )?
It looks like the DLL doesn't export a configuration interface. Is there a way to set this using the PXV_CommonRenderParameters structure on PXCV_DrawPageToDC method?
best regards,
Ulrich
that might work when using the ActiveX version. But how to do that when using just the plain DLL and it's exported methods (That's why I'm insisting on PXCView Delphi Demo Application )?
It looks like the DLL doesn't export a configuration interface. Is there a way to set this using the PXV_CommonRenderParameters structure on PXCV_DrawPageToDC method?
best regards,
Ulrich
- Tracker Supp-Stefan
- Site Admin
- Posts: 17901
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Fail to print on Color printer using PostScript
Hi Ulrich,
Just spoke with a colleague from the dev team (while he was on his way out for lunch) - he said that he will prepare a sample in the afternoon. So please bear with us and we will post the sample as soon as we can!
Cheers,
Stefan
Just spoke with a colleague from the dev team (while he was on his way out for lunch) - he said that he will prepare a sample in the afternoon. So please bear with us and we will post the sample as soon as we can!
Cheers,
Stefan
Re: Fail to print on Color printer using PostScript
Hi Stefan,
don't worry, I just had the feeling that we were talking on different things. Thank you for the fine help! I will wait for the sample.
best regards,
Ulrich
don't worry, I just had the feeling that we were talking on different things. Thank you for the fine help! I will wait for the sample.
best regards,
Ulrich
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Hello Ulrich,
Have you tried printing on the PostScript printer with the End-User Editor with the usage of the Color Override "Auto" setting? The simple SDK will behave like that. I have looked in the inner code - it's not possible to set these settings that are required for the workaround with the functionality available for the Simple SDK - that will only work from the full Editor SDK.
Cheers,
Alex
Have you tried printing on the PostScript printer with the End-User Editor with the usage of the Color Override "Auto" setting? The simple SDK will behave like that. I have looked in the inner code - it's not possible to set these settings that are required for the workaround with the functionality available for the Simple SDK - that will only work from the full Editor SDK.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Fail to print on Color printer using PostScript
Hi Alex,
I just tested it again: printing from latest Editor using the PostScript driver works fine here, independent of 'Color Override' setting: both 'Auto' and 'Color' result in a colored print.
Then I loaded the PDF on PXCView Delphi Demo Application (see attached ZIP with Source and compiled exe) and printed from there: this results in a black-white print.
edit: please add PDFXEditSimple.x86.dll version 6.0.317.1 to exe from ZIP to make it run.
best regards,
Ulrich
I just tested it again: printing from latest Editor using the PostScript driver works fine here, independent of 'Color Override' setting: both 'Auto' and 'Color' result in a colored print.
Then I loaded the PDF on PXCView Delphi Demo Application (see attached ZIP with Source and compiled exe) and printed from there: this results in a black-white print.
edit: please add PDFXEditSimple.x86.dll version 6.0.317.1 to exe from ZIP to make it run.
best regards,
Ulrich
- Attachments
-
- PDFXEditSimple.zip
- (597.86 KiB) Downloaded 86 times
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Hello Ulrich,
We've managed to reproduce the problem and now trying to do various tests to find the cause of it. When we'll have the results of our investigation I will inform you whether the possible solution is or will be available.
Cheers,
Alex
We've managed to reproduce the problem and now trying to do various tests to find the cause of it. When we'll have the results of our investigation I will inform you whether the possible solution is or will be available.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Fail to print on Color printer using PostScript
Hello Alex,
fine to hear that!
best regards,
Ulrich
fine to hear that!
best regards,
Ulrich
- Tracker Supp-Stefan
- Site Admin
- Posts: 17901
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Fail to print on Color printer using PostScript
Hi,
any news on this issue? We got some more reports from customers having this problem with PostScript so a solution is highly appreciated (not using PostScript is not an option).
thank you,
Ulrich
any news on this issue? We got some more reports from customers having this problem with PostScript so a solution is highly appreciated (not using PostScript is not an option).
thank you,
Ulrich
- Tracker Supp-Stefan
- Site Admin
- Posts: 17901
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Fail to print on Color printer using PostScript
Hello Uko,
I've asked Sasha for an update - and as soon as I have one, we will post back here in the topic.
Regards,
Stefan
I've asked Sasha for an update - and as soon as I have one, we will post back here in the topic.
Regards,
Stefan
Re: Fail to print on Color printer using PostScript
Hi,
anything I can do to help you to solve this issue?
best regards,
Ulrich
anything I can do to help you to solve this issue?
best regards,
Ulrich
- Ivan - Tracker Software
- Site Admin
- Posts: 3549
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: Fail to print on Color printer using PostScript
I added new flag pxvrpf_ForceRenderAsColor with value 512 to the PXV_CommonRenderParametersFlags enum.
When this flags is specified, page will be forced to draw in color, instead of using information from printer's bpp.
Please download updated DLL by the URL: http://www.docu-track.co.uk/PDFXEditSimple.x86.zip
and modify your code to use this flag:
And check if that solves the problem.
When this flags is specified, page will be forced to draw in color, instead of using information from printer's bpp.
Please download updated DLL by the URL: http://www.docu-track.co.uk/PDFXEditSimple.x86.zip
and modify your code to use this flag:
Code: Select all
PrintParams.Flags := pxvrpf_UseVectorRenderer or pxvrpf_ForceRenderAsColor;
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Re: Fail to print on Color printer using PostScript
Hi Ivan,
I have tested this version with the new flag: now it works fine!
Thank you very much for finding a solution! Is this DLL already ready for delivery or should I wait for the official release?
best regards,
Ulrich
I have tested this version with the new flag: now it works fine!
Thank you very much for finding a solution! Is this DLL already ready for delivery or should I wait for the official release?
best regards,
Ulrich
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Hello uko,
This dll is for developer testing only and you should wait for the next official release with this fix included.
Cheers,
Alex
This dll is for developer testing only and you should wait for the next official release with this fix included.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Fail to print on Color printer using PostScript
Hi,
thank you for clarifying! Will wait for it (hopefully not too long )
best regards,
Ulrich
thank you for clarifying! Will wait for it (hopefully not too long )
best regards,
Ulrich
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Fail to print on Color printer using PostScript
Sasha,
as we need to plan our own new release: do you have an estimation when the new version will be released? It is also helpful if you can say: not before x.y.2016
Thank you,
Ulrich
as we need to plan our own new release: do you have an estimation when the new version will be released? It is also helpful if you can say: not before x.y.2016
Thank you,
Ulrich
- Tracker Supp-Stefan
- Site Admin
- Posts: 17901
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Fail to print on Color printer using PostScript
Hello Ulrich,
We do not have an official release date yet, but in the mean time you can use the dll that Sasha provided before if it is not causing you any other troubles!
Regards,
Stefan
We do not have an official release date yet, but in the mean time you can use the dll that Sasha provided before if it is not causing you any other troubles!
Regards,
Stefan
Re: Fail to print on Color printer using PostScript
Stefan,
we currently use the DLL Sasha has built for testing. Unfortunately since it is out on field we get more and more reports that it causes crashes (unfortunately we cannot reproduce them on our different test systems). Below is a typical report. It seems that it always happens when closing a file.
best regards,
Ulrich
we currently use the DLL Sasha has built for testing. Unfortunately since it is out on field we get more and more reports that it causes crashes (unfortunately we cannot reproduce them on our different test systems). Below is a typical report. It seems that it always happens when closing a file.
I guess it is related to this special build as we have never seen this before. Unfortunately we urgently need the fix contained in this build, so when do plan to release an official version containing it?exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 771F6D99 in module 'ntdll.dll'. Write of address 00000014.
main thread ($1f4):
771f6d99 +074 ntdll.dll
7720f8e0 +040 ntdll.dll RtlEnterCriticalSection
6084bd93 +013 PDFXEditSimple.x86.dll PXCV_Delete
014ca6e3 +00b PDFAnnotator.exe paRendererPDFXChange 199 +3 TPaPDFXChangeRenderer.DoCloseFile
best regards,
Ulrich
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Fail to print on Color printer using PostScript
Hello uko,
The 319 build should be out in a couple of weeks or so.
Cheers,
Alex
The 319 build should be out in a couple of weeks or so.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ