Displaying 1 result from an estimated 1 matches for "in_passthrough".
2007 Oct 11
3
Printing in Corel Draw through CUPS
...* cbInput is just this +2.
> * However Photoshop 7 has a bug that sets cbInput to 2 less
> than the
> * length of the string, rather than 2 more. So we'll use the
> WORD at
> * in_data[0] instead.
> */
> // if (!physDev->job.in_passthrough) {
> // WriteSpool16(physDev->job.hJob, (LPSTR)psbegindocument,
> sizeof(psbegindocument)-1);
> // physDev->job.in_passthrough = TRUE;
> // }
> // return
> WriteSpool16(physDev->job.hJob,((char*)in_data)+2,*(const WORD*)in_data);...