This is all fine and well, but it's a terrible waste of ink when printing. It would be better if the black part were white instead. Is it possible to influence this somehow? Note: the output has to be an A4 PDF, not A5.
I'm roughly using the following code:
Code: Select all
imageApi.TwainSetAutomaticBorderDetection(False) imageApi.TwainSetPaperSize(GdPicture9.TwainPaperSize.A4) imageID = imagingApi.TwainAcquireToGdPictureImage(_windowHandle) pdfApi.AddImageFromGdPictureImage(imageID, False, True)