set DevCopies to many with a page range don't work

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

set DevCopies to many with a page range don't work

Postby jfauger » Tue Jul 17, 2007 4:23 pm

Hi,

With a document of 4 pages, if i try to print only a range of page of one page with milti-copies i got only on page from printer.

see the code:

Code: Select all
this.vpeControl.DevFromPage=4;
this.vpeControl.DevToPage = 4;
this.vpeControl.DevCopies = 2;
this.vpeControl.PrintDoc(true);   


only on copie of page 4 are printed. Also, if i try with the preview is the same problem.

But, if my page range if greater of one page it's work perfectly.

I'm with vpe version 3.60.0.5 (pached for NullReferenceException see http://idealsoftware.com/phpBB2/viewtopic.php?t=448)
jfauger
 
Posts: 9
Joined: Fri Mar 30, 2007 3:26 pm
Location: Suisse

Postby IDEAL Software Support » Wed Jul 18, 2007 9:27 am

This is a bug of your printer driver. The driver reports to VPE that it is capable of printing copies of a page itself, so VPE does not send one and the same page multiple times (if collation is turned off, or only a single page is printed - as in your case).

We tested our code 5 minutes ago on an HP 5P printer and it works. We tested it with Adobe Distiller - and see: it has this bug.

You can verify if the driver has a bug by printing more than a single page and turning collation off (which also causes VPE to delegate the printing of copies to the driver): same problem.

Depending on how many people report the same problem with different printer drivers, we are willing to change our code, so that VPE handles the printing of copies itself, regardless whether a driver reports it can print copies. But this would have the disadvantage that much more time is required to print a document with copies, because each printed page must be prepared by VPE, then by the driver and afterwards it needs to be transferred to the printer.

If other applications (like OpenOffice Writer) do print copies correctly, this only means they are sending each copy themselves at the cost of loss of performance. By the way: Word 2003 does it right, so turning collation off and printing multiple copies causes the same bug to appear.

People experiencing the same problem should report it exactly here in this thread, with the name of the printer manufacturer, the printer model, the printer driver version, the Windows version and installed Service Pack.

They should also report this problem to the printer driver manufacturer as follows: "Your driver reports in DevMode.dmFields that it is capable of handling the printing of copies itself (DM_COPIES flag set), but it doesn't. Please fix this problem."

By the way, what is your printer model / Windows version?

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Postby jfauger » Wed Jul 18, 2007 10:29 am

Hi thank-you for your anwer!

I have make a work around with the Collation to off if i'm in multi-copies and i have only one page. it's work properly.

just for information:
my printer is a HP LaserJet 4050 Series PCL, with latest driver version form Windows update, I'm with windows XP-SP2 with all update activated.

the reel target printer can be anything beacose is for a large deployement, and I can't force the client to change printer drivers.

But anyway with this work around it's oki! thank-you to guide me in this way!
jfauger
 
Posts: 9
Joined: Fri Mar 30, 2007 3:26 pm
Location: Suisse


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 9 guests

cron