What control would be best for.....

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CG3000

    #1

    What control would be best for.....

    creating a label to be printed out on a label printer.

    The image on the label would be a jpeg file with labels and text beside
    that image. This image and text would be printed out by a printer that
    prints labels.

    Is there a document control that will display the image with the text I
    need printed with it?
    The user would enter in plain text into text controls and the value of
    those text controls should appear next to the image.

    I know VS 2005 has a print preview control. Ill use that to display the
    image after they enter text before printing it.

    Thanks for your help

    Carlton G.

  • CG3000

    #2
    Re: What control would be best for.....

    can I use a clob?

    Comment

    • Bruce Wood

      #3
      Re: What control would be best for.....

      I understand your system, but I'm not sure what you're asking.

      Do you want to know if there is a control that will display the jpeg to
      the user and allow them to enter the text? No, but you can put an Image
      object on your form and use Textboxes to have the user enter text. In
      other words, it's really easy to build it yourself.

      Or, are you asking about the printing side of things? If so, there is
      no such thing as a pre-made "document" that will print what you want.
      You have to either write the PrintDocument-derived class yourself, or
      use Crystal reports. Crystal XI will allow you to place an image on a
      report given its file name, and all versions of Crystal that work with
      ..NET allow you to pass an image to Crystal as a blob.

      Comment

      • CG3000

        #4
        Re: What control would be best for.....

        Thanks for your response.

        I understand that I will have to write my PrintDocument code myself to
        display the image modified with the newly entered text.

        Maybe a better question would be what namespace/class can I use to
        apply text to a jpeg/png/gif ?

        Comment

        Working...