Results 1 to 2 of 2

Thread: Printing an Image

  1. #1

    Thread Starter
    Junior Member inxil's Avatar
    Join Date
    Mar 2000
    Posts
    23

    Question

    I'm currently working on a project that requires something of a letterhead to be printed above some text. I use a RichText control for the text, and basic Printer.Print and Printer.EndDoc (with a little more complicated alignment etc.. code). What i want to know, is how might one use simple code such as Printer.print to add an image to the printjob (i've figored out how to use a certain image object, but it automatically ends the document after the image, so it's no use to me.) I need some way to add an image to a printjob, but not have it end the document, so that i can also add text to the printjob. Thank you very much!

  2. #2
    Guest
    Try the SelPrint method.

    Code:
    RichTextBox1.SelPrint Printer.hDC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width