Search found 5 matches
- Wed May 14, 2014 7:56 pm
- Forum: TWAIN & WIA Acquisition
- Topic: Citrix and TWAIN Question
- Replies: 1
- Views: 6502
Citrix and TWAIN Question
Hello All, I have encountered a strange situation with a customer site. They have two applications that use the same scan component, this scan component contains GDPicture. The two applications, we will call one 'A' and the other 'B', and both are published applications through Citrix. Following is ...
- Mon Mar 11, 2013 6:13 pm
- Forum: TWAIN & WIA Acquisition
- Topic: Using 8 bit for 24bit in function TwainSetBitDepth
- Replies: 2
- Views: 3489
Re: Using 8 bit for 24bit in function TwainSetBitDepth
Thanks but it still will not accept the 24. For the TwainSetPixelType I can use TWPT_RGB, TWPT_PALETTE, TWPT_GRAY, and TWPT_BW. When I use RGB or PALETTE the highest value I can enter for the TwainSetBitDepth is 8 all other values return false when I call the method. In looking at the TwainGetLastRe...
- Tue Mar 05, 2013 6:22 pm
- Forum: TWAIN & WIA Acquisition
- Topic: Using 8 bit for 24bit in function TwainSetBitDepth
- Replies: 2
- Views: 3489
Using 8 bit for 24bit in function TwainSetBitDepth
My Fujitsu fi-4120C can support, according to its UI, B&W, Grayscale, Color as 8 colors, 256 colors, or 24 bit color. When I try and use 24 in the TwainSetBitDepth function it fails but will not fail if I use 8 as the bit depth. In looking at the GDPicture Twain sample there is this line: oGdPic...
- Tue Apr 24, 2012 4:57 pm
- Forum: Document Printing
- Topic: OutOfMemory Exception with DrawGdPictureImageOnHDC
- Replies: 2
- Views: 12704
Re: OutOfMemory Exception with DrawGdPictureImageOnHDC
Sorry for not supplying the full code. It follows: This first part is the Win APIs that are used: public static class WinUser32API { [DllImport("user32.dll", SetLastError = true)] public static extern int DrawText(IntPtr hDC, string lpString, int nCount, ref RECT lpRect, int uFormat); publ...
- Mon Apr 23, 2012 6:48 pm
- Forum: Document Printing
- Topic: OutOfMemory Exception with DrawGdPictureImageOnHDC
- Replies: 2
- Views: 12704
OutOfMemory Exception with DrawGdPictureImageOnHDC
Hello, I am currently trying to print a pdf file, actually just the first page, to a printer that is already defined by a calling application. So my application receives from the other application a HDC representing the printer. When I execute the following code I get an OutOfMemory Exception when t...