Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 8:44
Yuriy20033-Jan-07 8:44 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 9:26
Mark Salsbery3-Jan-07 9:26 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 10:08
Yuriy20033-Jan-07 10:08 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 10:19
Mark Salsbery3-Jan-07 10:19 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 10:50
Yuriy20033-Jan-07 10:50 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 11:56
Yuriy20033-Jan-07 11:56 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 12:59
Mark Salsbery3-Jan-07 12:59 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20035-Jan-07 11:10
Yuriy20035-Jan-07 11:10 
Mark, just want to let you know that I finally was able to print PNG with GDI+ correctly (that is, correct size). There's still a minor problem with shadows on color printers, but I can live with it. Apparently, the size of image that I have to pass to DrawImage() is different from that used in StretchDIBits() as destination coordinates. Looks like DGI+ does its own stretching. This is why my original code using GDI+ was returning successful code but did not print: the image was beyond the page size. Thank you for your help.

P.S. Where are you located (physically)?
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery5-Jan-07 11:15
Mark Salsbery5-Jan-07 11:15 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20035-Jan-07 11:22
Yuriy20035-Jan-07 11:22 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery5-Jan-07 11:27
Mark Salsbery5-Jan-07 11:27 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20035-Jan-07 11:33
Yuriy20035-Jan-07 11:33 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery5-Jan-07 11:46
Mark Salsbery5-Jan-07 11:46 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20035-Jan-07 13:52
Yuriy20035-Jan-07 13:52 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery30-Dec-06 12:12
Mark Salsbery30-Dec-06 12:12 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy200330-Dec-06 12:44
Yuriy200330-Dec-06 12:44 
AnswerRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery30-Dec-06 12:29
Mark Salsbery30-Dec-06 12:29 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy200330-Dec-06 12:46
Yuriy200330-Dec-06 12:46 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery30-Dec-06 12:55
Mark Salsbery30-Dec-06 12:55 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery5-Jan-07 14:18
Mark Salsbery5-Jan-07 14:18 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20036-Jan-07 8:36
Yuriy20036-Jan-07 8:36 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery6-Jan-07 11:03
Mark Salsbery6-Jan-07 11:03 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20036-Jan-07 11:56
Yuriy20036-Jan-07 11:56 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery6-Jan-07 12:05
Mark Salsbery6-Jan-07 12:05 
QuestionCMap [modified] Pin
devvvy29-Dec-06 14:44
devvvy29-Dec-06 14:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.