Paper.SheetSizeIndex not working for virtual printers

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
guy.marom
User
Posts: 98
Joined: Tue Feb 17, 2009 12:08 pm

Paper.SheetSizeIndex not working for virtual printers

Post by guy.marom »

Hello,

I was using build 156 successfully and yesterday I installed build 157 of the API. Since then the parameter Paper.SheetSizeIndex stopped having any effect for the virtual printers.
The sheet size is working for the printer driver installed with the SDK, meaning if I manually change it it does make a different.
Attached is a code sample that uses MS-Word API to send a file to the printer.
Thank you,

Guy Marom
Attachments
Module1.zip
(811 Bytes) Downloaded 173 times
guy.marom
User
Posts: 98
Joined: Tue Feb 17, 2009 12:08 pm

Re: Paper.SheetSizeIndex not working for virtual printers

Post by guy.marom »

Here's an update...
I tried other sheet pages and they work (No. 5 - ANSI E, no. 10 - A0), but no. 0 (Letter/ANSI A) doesn't work.
However, if in the attached code I setup the option "Graphics.MonoAndDrawings.Convert.Method" to any value (I tried 0 and 2) then Letter/ANSI A comes out OK!!!
This is weird...
Please help me asap.

Thanks
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Paper.SheetSizeIndex not working for virtual printers

Post by Ivan - Tracker Software »

Please send me complete example (with compiled .exe file) - will check locally which settings we got.
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.
guy.marom
User
Posts: 98
Joined: Tue Feb 17, 2009 12:08 pm

Re: Paper.SheetSizeIndex not working for virtual printers

Post by guy.marom »

Apparently I was wrong in my previous post, the parameter Graphics.MonoAndDrawings.Convert.Method doesn't help.
My conclusion is that it is simply unstable since it worked OK yesterday, worked for a while this morning but not doesn't work well.
By doesn't work well I mean all output files come out with the sheet in the size of A4 paper.
I attached a sample solution, and some documents I am using for my testing.
Thanks you
Attachments
Docs.zip
(22.42 KiB) Downloaded 173 times
PDFXChangeTester.zip
(83.07 KiB) Downloaded 169 times
guy.marom
User
Posts: 98
Joined: Tue Feb 17, 2009 12:08 pm

Re: Paper.SheetSizeIndex not working for virtual printers

Post by guy.marom »

Any news about this?
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Paper.SheetSizeIndex not working for virtual printers

Post by Ivan - Tracker Software »

Sorry, I was ill and had no change to work on the fix. Fix will be available on Monday into new build if all goes well.
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.
guy.marom
User
Posts: 98
Joined: Tue Feb 17, 2009 12:08 pm

Re: Paper.SheetSizeIndex not working for virtual printers

Post by guy.marom »

I'm glad you are better now and back to work.
This is great to hear, this is the main issue were are having problems with.
Post Reply