Problems with AbsolutePageCount
?Environment: D2007 + RB10.08/10.09 + ADO & MSSQL 2005
I have a program?that prints invoices directly in Pdf.
To have them sent by a post service, I need to provide, for every
invoice, the exact number of pages.
I had this controlled by a client procedure that launched the Pdf
printout (a single Print for every invoice) *and* got AbsolutePageCount
to update the database.
All went well.
Next I moved the app to the server (Win2003 R2) and launched it via
terminal services.
The Pdf printout is the same, the timing is somewhat faster, but I end up
having *always* an AbsolutePageCount of 0.
I suspected the program was doing something out of synch, so I put on a
cycle, waiting for currReport.Printing to go False.
The program keep working on the client but I'm unable to get the page
count on the server.
Am I overlooking something important or obvious ?
TIA
Carlo Wolter
--- posted by geoForum on http://delphi.newswhat.com
I have a program?that prints invoices directly in Pdf.
To have them sent by a post service, I need to provide, for every
invoice, the exact number of pages.
I had this controlled by a client procedure that launched the Pdf
printout (a single Print for every invoice) *and* got AbsolutePageCount
to update the database.
All went well.
Next I moved the app to the server (Win2003 R2) and launched it via
terminal services.
The Pdf printout is the same, the timing is somewhat faster, but I end up
having *always* an AbsolutePageCount of 0.
I suspected the program was doing something out of synch, so I put on a
cycle, waiting for currReport.Printing to go False.
The program keep working on the client but I'm unable to get the page
count on the server.
Am I overlooking something important or obvious ?
TIA
Carlo Wolter
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.