search for: psbegindocu

Displaying 1 result from an estimated 1 matches for "psbegindocu".

2007 Oct 11
3
Printing in Corel Draw through CUPS
...ts 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); > > return PSDRV_WriteSpool(physDev, ((char*)in_data) + 2, cbIn...