Discussion:
No chance to get the correct copies amount for a printjob ...
(too old to reply)
Hannes G?nser
2003-10-29 15:08:13 UTC
Permalink
The following issue happens only under Microsoft Word (2000/XP) and as
far as i know only with laser-printers, tests with Excel, Notepad,
Wordpad, etc. results in an absolut correct information.

I have tried the following possibilities to obtain the copies:

[WaitForSingleObject with FindNextPrinterChangeNotification]

Results (1 Page, 3 Copies, Not Collated): Totalpages is 1 -> WRONG
Results (1 Page, 3 Copies, Collated): Totalpages is 1 -> WRONG
Results (2 Pages, 3 Copies, Not Collated): Totalpages are 2 -> WRONG
Results (2 Pages, 3 Copies, Collated): Totalpages are 6 -> OK
*Result-copies are always 1 when printed with Word

[EnumJobs or GetJob]

Results (1 Page, 3 Copies, Not Collated): Totalpages is 1 -> WRONG
Results (1 Page, 3 Copies, Collated): Totalpages is 1 -> WRONG
Results (2 Pages, 3 Copies, Not Collated): Totalpages are 2 -> WRONG
Results (2 Pages, 3 Copies, Collated): Totalpages are 2 -> WRONG
*Result-copies are always 1 when printed with Word

[Other tries]

- I tried the API ReadPrinter, but never worked.
- I tried to access the .shd-file in the spool-dir, but that file is
locked under WinXP.
- I tried to access the .spl-file in the spool-dir, this is working
(with many but not all printers), but not the best solution because
the spl-file may sometimes be huge.

So please heeelp me, i am trying to find a solution for month now -
the only help i found on the net was to write my own driver/print
monitor/print processor (but i have no exp with that and are
developing under Delphi).

Thanks in advance for any tipps/infos/links/commands.
But im afraid there is no solution for that problem (except a driver
of course).
Merrion
2003-11-04 11:29:23 UTC
Permalink
Post by Hannes G?nser
The following issue happens only under Microsoft Word (2000/XP) and as
far as i know only with laser-printers, tests with Excel, Notepad,
Wordpad, etc. results in an absolut correct information.
[WaitForSingleObject with FindNextPrinterChangeNotification]
Results (1 Page, 3 Copies, Not Collated): Totalpages is 1 -> WRONG
Results (1 Page, 3 Copies, Collated): Totalpages is 1 -> WRONG
Results (2 Pages, 3 Copies, Not Collated): Totalpages are 2 -> WRONG
Results (2 Pages, 3 Copies, Collated): Totalpages are 6 -> OK
*Result-copies are always 1 when printed with Word
[EnumJobs or GetJob]
Results (1 Page, 3 Copies, Not Collated): Totalpages is 1 -> WRONG
Results (1 Page, 3 Copies, Collated): Totalpages is 1 -> WRONG
Results (2 Pages, 3 Copies, Not Collated): Totalpages are 2 -> WRONG
Results (2 Pages, 3 Copies, Collated): Totalpages are 2 -> WRONG
*Result-copies are always 1 when printed with Word
[Other tries]
- I tried the API ReadPrinter, but never worked.
- I tried to access the .shd-file in the spool-dir, but that file is
locked under WinXP.
- I tried to access the .spl-file in the spool-dir, this is working
(with many but not all printers), but not the best solution because
the spl-file may sometimes be huge.
So please heeelp me, i am trying to find a solution for month now -
the only help i found on the net was to write my own driver/print
monitor/print processor (but i have no exp with that and are
developing under Delphi).
Thanks in advance for any tipps/infos/links/commands.
But im afraid there is no solution for that problem (except a driver
of course).
This is a known issue with MS Word. For reasons best known to itself
it does not set the DEVMODE.pCopies - the only solution is to scan the
.spl file and since the format of that depends on the job language (or
may be EMF in Win2000 and beyond) this is an onorous task. We have a
project underway to do just this but it's a long way from completion.

Hope this helps,
Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Hannes G?nser
2003-11-10 18:14:59 UTC
Permalink
It does not help but i am glad not to be the only one having that problem :)

Thanks
Post by Merrion
Post by Hannes G?nser
The following issue happens only under Microsoft Word (2000/XP) and as
far as i know only with laser-printers, tests with Excel, Notepad,
Wordpad, etc. results in an absolut correct information.
[WaitForSingleObject with FindNextPrinterChangeNotification]
Results (1 Page, 3 Copies, Not Collated): Totalpages is 1 -> WRONG
Results (1 Page, 3 Copies, Collated): Totalpages is 1 -> WRONG
Results (2 Pages, 3 Copies, Not Collated): Totalpages are 2 -> WRONG
Results (2 Pages, 3 Copies, Collated): Totalpages are 6 -> OK
*Result-copies are always 1 when printed with Word
[EnumJobs or GetJob]
Results (1 Page, 3 Copies, Not Collated): Totalpages is 1 -> WRONG
Results (1 Page, 3 Copies, Collated): Totalpages is 1 -> WRONG
Results (2 Pages, 3 Copies, Not Collated): Totalpages are 2 -> WRONG
Results (2 Pages, 3 Copies, Collated): Totalpages are 2 -> WRONG
*Result-copies are always 1 when printed with Word
[Other tries]
- I tried the API ReadPrinter, but never worked.
- I tried to access the .shd-file in the spool-dir, but that file is
locked under WinXP.
- I tried to access the .spl-file in the spool-dir, this is working
(with many but not all printers), but not the best solution because
the spl-file may sometimes be huge.
So please heeelp me, i am trying to find a solution for month now -
the only help i found on the net was to write my own driver/print
monitor/print processor (but i have no exp with that and are
developing under Delphi).
Thanks in advance for any tipps/infos/links/commands.
But im afraid there is no solution for that problem (except a driver
of course).
This is a known issue with MS Word. For reasons best known to itself
it does not set the DEVMODE.pCopies - the only solution is to scan the
.spl file and since the format of that depends on the job language (or
may be EMF in Win2000 and beyond) this is an onorous task. We have a
project underway to do just this but it's a long way from completion.
Hope this helps,
Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
SuperJeff
2004-12-29 21:34:44 UTC
Permalink
Has anyone else experienced this with any other applications? Or is it
really specific only to Word 2000/XP?
Post by Hannes G?nser
It does not help but i am glad not to be the only one having that problem :)
Thanks
Post by Merrion
Post by Hannes G?nser
The following issue happens only under Microsoft Word (2000/XP) and as
far as i know only with laser-printers, tests with Excel,
Notepad,
Post by Hannes G?nser
Post by Merrion
Post by Hannes G?nser
Wordpad, etc. results in an absolut correct information.
[WaitForSingleObject with FindNextPrinterChangeNotification]
Results (1 Page, 3 Copies, Not Collated): Totalpages is 1 -> WRONG
Results (1 Page, 3 Copies, Collated): Totalpages is 1 -> WRONG
Results (2 Pages, 3 Copies, Not Collated): Totalpages are 2 -> WRONG
Results (2 Pages, 3 Copies, Collated): Totalpages are 6 -> OK
*Result-copies are always 1 when printed with Word
[EnumJobs or GetJob]
Results (1 Page, 3 Copies, Not Collated): Totalpages is 1 -> WRONG
Results (1 Page, 3 Copies, Collated): Totalpages is 1 -> WRONG
Results (2 Pages, 3 Copies, Not Collated): Totalpages are 2 -> WRONG
Results (2 Pages, 3 Copies, Collated): Totalpages are 2 -> WRONG
*Result-copies are always 1 when printed with Word
[Other tries]
- I tried the API ReadPrinter, but never worked.
- I tried to access the .shd-file in the spool-dir, but that file is
locked under WinXP.
- I tried to access the .spl-file in the spool-dir, this is working
(with many but not all printers), but not the best solution because
the spl-file may sometimes be huge.
So please heeelp me, i am trying to find a solution for month now -
the only help i found on the net was to write my own driver/print
monitor/print processor (but i have no exp with that and are
developing under Delphi).
Thanks in advance for any tipps/infos/links/commands.
But im afraid there is no solution for that problem (except a driver
of course).
This is a known issue with MS Word. For reasons best known to itself
it does not set the DEVMODE.pCopies - the only solution is to scan the
.spl file and since the format of that depends on the job language (or
may be EMF in Win2000 and beyond) this is an onorous task. We have a
project underway to do just this but it's a long way from
completion.
Post by Hannes G?nser
Post by Merrion
Hope this helps,
Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Loading...