RE: Please help me Ashwin! Genprint... by ashwinn
ashwinn
Tue Aug 05 13:09:16 CDT 2003
------=_NextPart_0001_359FA26A
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
I cannot explain exactly how you need to parse the data stream. But the
general concept is to detect page breaks (possible via printer commands) in
the data stream and count the total number of pages. Since you will know
how many pages are present in a single copy of the print job, you can then
determine the copy count.
As for your question regarding calling a VB activex component, that is not
my area of expertise. But my guess is that you are going to have problems
working around the fact that the print processor runs in the spooler's
process context.
- Ashwin
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_359FA26A
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 I cannot explain exactly how you need to parse the data stream. But the general concept is to detect page breaks (possible via printer commands) in the data stream and count the total number of pages. Since you will know how many pages are present in a single copy of the print job, you can then determine the copy count.
\par
\par As for your question regarding calling a VB activex component, that is not my area of expertise. But my guess is that you are going to have problems working around the fact that the print processor runs in the spooler's process context.
\par
\par - Ashwin
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par }
------=_NextPart_0001_359FA26A--