Print Jobs - One job per page?

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

Print Jobs - One job per page?

Postby Matt Dee » Mon Feb 19, 2007 2:42 am

Hi Alex, one of our testers noticed that when printing the cube, each page gets submitted as a separate job. Given that he sent a cube off to the printer that was 80 pages long, this made canceling the 'job' next to impossible as he couldn't click through 80 jobs to cancel them all. (He ended up getting the network admin to clear the whole queue).

Can you either change this to a single print job, or provide a flag in the print method to switch between single or multiple jobs?

Cheers,

Matt.
Matt Dee
User
 
Posts: 15
Joined: Sun Nov 05, 2006 9:11 pm

Postby AlexZencovich » Mon Feb 19, 2007 1:56 pm

Pity, but I have no idea how to make this task as single job. There is due to multiply picture files which really printed when user triy pring grid. It generate files not only along rows but along columns too so it cannot be printed as one large file for several printed pages
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Postby Matt Dee » Mon Feb 19, 2007 9:45 pm

Erm, I noticed that when you print from the PrintPreview form, you DO send everything to the printer as a single job.

I compared the results of printing from the print method and printing from the print preview form and they're identical.

In the print preview form you've got the correct code:

Code: Select all
TPrinter.BeginDoc;
  while (PagesToPrint) do
    TPrinter.NewPage;
    //Do stuff with page
  end;
TPrinter.EndDoc;
Matt Dee
User
 
Posts: 15
Joined: Sun Nov 05, 2006 9:11 pm

Postby AlexZencovich » Tue Feb 20, 2007 3:31 pm

Oh...just dumb problem.
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 1 guest

cron