Printing Bitmaps

This is a discussion on Printing Bitmaps within the Windows Programming forums, part of the Platform Specific Boards category; How do I print bitmaps? I've done text but StretchBlt doesn't work for pinting. StretchBlt works for drawing to the ...

  1. #1
    Registered User Josh Kasten's Avatar
    Join Date
    Jul 2002
    Posts
    109

    Printing Bitmaps

    How do I print bitmaps? I've done text but StretchBlt doesn't work for pinting. StretchBlt works for drawing to the screen.
    int a; don't make a program without it.

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,903
    heeey, wazzzup kasten!

    Did a board search and an msdn search:

    Printing in WinAPI applications

    msdn links:
    http://msdn.microsoft.com/library/de...tspol_62ia.asp
    http://msdn.microsoft.com/library/de...tspol_2ik4.asp

    you finally doing some more coding then? heh

  3. #3
    Registered User Josh Kasten's Avatar
    Join Date
    Jul 2002
    Posts
    109

    Talking

    Thanks jeff, got it working now, but now could someone please tell me how to find the number of pixels x by x a printer can output?
    int a; don't make a program without it.

  4. #4
    Registered User
    Join Date
    Sep 2003
    Posts
    23
    Quote Originally Posted by Josh Kasten
    Thanks jeff, got it working now, but now could someone please tell me how to find the number of pixels x by x a printer can output?
    Petzold, 5th edition, Chapter 13 - Using the Printer, Application - DevCaps2.
    Amazing utility for exploring the printers and printing code in general.

    And btw, DevCap2 told me that in fact my laser printer supports both
    BitBlt and StretchBlt, but does not support FloodFill.

  5. #5
    Registered User Josh Kasten's Avatar
    Join Date
    Jul 2002
    Posts
    109

    Smile

    thanks for pointing that program out didn't see it in the book untill you said something about it.
    int a; don't make a program without it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# Printing Problem
    By silverlight001 in forum C# Programming
    Replies: 0
    Last Post: 03-23-2009, 01:13 AM
  2. generic printing preferences dialog box
    By stanlvw in forum Windows Programming
    Replies: 8
    Last Post: 06-27-2008, 02:20 AM
  3. printing data to a file
    By coralreef in forum C Programming
    Replies: 3
    Last Post: 11-02-2006, 07:10 PM
  4. need help relating printing?
    By omarlodhi in forum Linux Programming
    Replies: 0
    Last Post: 03-03-2006, 03:46 AM
  5. MFC: Multiple clicks shows multiple bitmaps - how?
    By BrianK in forum Windows Programming
    Replies: 0
    Last Post: 06-20-2004, 07:25 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21