My application wants to print.

Hey'ya all.

Does anybody have an idea how can I print a document from my VB app?
For example if I have a picturebox with a picture on it how can I start the printbox and print the content of the picturebox?
Do I have to use any special libraries and where can I find them?
Mihail Dimitrov

Comments

  • : Hey'ya all.
    :
    : Does anybody have an idea how can I print a document from my VB app?
    : For example if I have a picturebox with a picture on it how can I start the printbox and print the content of the picturebox?
    : Do I have to use any special libraries and where can I find them?
    : Mihail Dimitrov
    :

    Form.PrintForm

    Might work, oes straight to the printer I thimk, doesn't bother with the print box if I remember correctly.

    Hadji
    ----------------------------------------------------
    The solution to the problem changes the problem

  • : Hey'ya all.
    :
    : Does anybody have an idea how can I print a document from my VB app?
    : For example if I have a picturebox with a picture on it how can I start the printbox and print the content of the picturebox?
    : Do I have to use any special libraries and where can I find them?
    : Mihail Dimitrov
    :
    I think, but I am not sure, you can use Printer object. Check MSDN for Printer object.
  • : : Hey'ya all.
    : :
    : : Does anybody have an idea how can I print a document from my VB app?
    : : For example if I have a picturebox with a picture on it how can I start the printbox and print the content of the picturebox?
    : : Do I have to use any special libraries and where can I find them?
    : : Mihail Dimitrov
    : :
    : I think, but I am not sure, you can use Printer object. Check MSDN for Printer object.
    :

    I agree with the first poster, you would have to do that, because with the box, I have no idea how to set it up, and tell it to print your form. You may be able to do 'picture1.print' or something if you only want the pic, but thats completely out of memory I haven't tested it.
  • Form.PrintForm starts the printer queue list but does not print :(
    The list is empty and it quits one second from the moment it starts.
    ---------------
    Mihail Dimitrov
    ICQ : 110064098

  • : Form.PrintForm starts the printer queue list but does not print :(
    : The list is empty and it quits one second from the moment it starts.
    : ---------------
    : Mihail Dimitrov
    : ICQ : 110064098
    :
    :
    There is guy name Genjuro on this board. He is very good in such subject. I do remeber, he's gave somebody advise about printing puicture recently. Send him email through this board with question.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories