Printing a picture?

This is a discussion on Printing a picture? within the C++ Programming forums, part of the General Programming Boards category; Hello, How would I send a graphic file to the printer? Thanks for your help, Daniel...

  1. #1
    Registered User Daniel's Avatar
    Join Date
    Jan 2003
    Posts
    47

    Printing a picture?

    Hello,
    How would I send a graphic file to the printer?
    Thanks for your help,
    Daniel

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,531
    Which OS/Compiler?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    And, what graphics format? If you have a choice, and not too many different files... A bitmap is the most simple and most universal format.

    There are no standard C++ graphics functions. This is one of the things that makes standard C++ so "portable". A program written in pure-standard C++ doesn't need any graphics to work on any system.

    Every compiler/graphics library is different... Some compilers don't have any graphics.

  4. #4
    Registered User Daniel's Avatar
    Join Date
    Jan 2003
    Posts
    47
    I am using MSVC++, on Win 2k. I really don't care about the file format.

  5. #5
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    does that mean you can use any file format we feel like telling you to use?
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  6. #6
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    You probably need to head on over to the Windows programming board and ask this there. Essentially when you print you are just drawing to a different device context.

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. need help relating printing?
    By omarlodhi in forum Linux Programming
    Replies: 0
    Last Post: 03-03-2006, 03:46 AM
  4. printing picture files
    By alvarorahul in forum C Programming
    Replies: 6
    Last Post: 07-19-2004, 07:38 PM
  5. Insert picture for printing
    By ooosawaddee3 in forum C Programming
    Replies: 0
    Last Post: 04-05-2002, 08:26 PM

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