Viewer 2.0 Build 41.3 doesn't process Silent Printing Java

The PDF-XChange Viewer for End Users
+++ FREE +++

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

synovagroup
User
Posts: 6
Joined: Tue Apr 07, 2009 6:31 pm

Viewer 2.0 Build 41.3 doesn't process Silent Printing Java

Post by synovagroup »

Hi Folks,
The following script works in Adobe 7 viewer to print 6 pages of one page, 1 page of another and 2 pages of the last page.

It also prints silently to the default printer. (Very Good)

-------------------------
for (i=1; i<=6; i=i+1)

{print({bUI: false, bSilent: true, nStart: 6, nEnd: 6})}

for (i=1; i<=1; i=i+1)

{print({bUI: false, bSilent: true, nStart: 7, nEnd: 7})}

for (i=1; i<=2; i=i+1)

{print({bUI: false, bSilent: true, nStart: 8, nEnd: 8})}
----------------------------------------------------------

In PDF Exchange Viewer, it keeps forcing the print dialogue up and wants to print all the pages.
Is there a bug in PDFViewer 2.0, or is there a workaround script for this so I can use it in PDFViewer?
I look forward to your reply.

Brian
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Viewer 2.0 Build 41.3 doesn't process Silent Printing Java

Post by Ivan - Tracker Software »

It is bug into the viewer - it doesn't handle print parameters.

Will fix into the next build of the viewer.
PDF-XChange Co Ltd. (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.
synovagroup
User
Posts: 6
Joined: Tue Apr 07, 2009 6:31 pm

Re: Viewer 2.0 Build 41.3 doesn't process Silent Printing Java

Post by synovagroup »

Ivan,

Do you have a timeline for the next release, or a workaround ?

Brian
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Viewer 2.0 Build 41.3 doesn't process Silent Printing Java

Post by Ivan - Tracker Software »

For now there are no workaround, I'm afraid. doc.print function will work as expected into the next build (2.0.42) which is expected in 4 weeks aprox.
PDF-XChange Co Ltd. (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.