printing a .jpg

This is a discussion on printing a .jpg within the C# Programming forums, part of the General Programming Boards category; Okay i am creating an invoice .So my idea is to create a .jpg file with lines drawn to produce ...

  1. #1
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356

    printing a .jpg

    Okay i am creating an invoice .So my idea is to create a .jpg file with lines drawn to produce a company's invoice sheet.Then i would put that .jpg file as the background of a form .Where i would have controls added to the form ...I hope u are still with me?? Okay then when the person is finished entering his data , i would then take those string and draw them on the .jpg (invoice image file) and print it .

    My first question is does White color get printed? And how will i print out a .jpg file .I havent found any help fom the sdk or found any tutorials .
    Any information on printing would be great ..Advice on printing an invoice would be great to ..

    Thanks
    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    jpg is a bad format for something as exact as lines. I recommend png.

    I don't know how printing in general works, but undoubtly you will at one point get a Graphics for the printer. Simply draw your image on this Graphics.

    As for white color: maybe you can imagine a way to print white on white paper with a printer that can mix cyan, magenta, yellow and black, but I can't
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

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, 02:13 AM
  2. generic printing preferences dialog box
    By stanlvw in forum Windows Programming
    Replies: 8
    Last Post: 06-27-2008, 03:20 AM
  3. printing data to a file
    By coralreef in forum C Programming
    Replies: 3
    Last Post: 11-02-2006, 08:10 PM
  4. need help relating printing?
    By omarlodhi in forum Linux Programming
    Replies: 0
    Last Post: 03-03-2006, 04:46 AM
  5. Printing
    By Dual-Catfish in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 05-25-2002, 09:10 PM

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