Ok I follow you about the page I think
are you saying vbUser = twips?
And can you be more specific about x and y coordinates as I
am not familiar with this...thanks
Tim, I went back to what you were suggesting before
for printing purposes. Now I have got this form layout
the way I want in design time, and I need it to print
the same in run time...so I did this
Private Sub cmdPrint_Click()
Dim ckcopy As Form
Set ckcopy = frmCkCopy...
Yes your are exactly right, this was beautiful. I was able
to lay out my lables exactly the way I need them. But it does not print that size in run-time. I tried re-size event
and that didn't work. I am not sure why..I tried putting that event right after load sub on the form with the layout...
:)
well I don't know how to give stars...but you deserve two...
You certainly have a good understanding of the printer
properties. I am going to take your feedback and work on this. I shall let you know the final resolve on this form problem...Take Care Peppy
Tim, that did work....hurrah. However this is printing
just picturebox and the image. I am trying to print forms with lables on it. I am sending information to this lables that I need to print in a specific layout. I did try putting these lables in the picture box but they are not...
Hello Tim, Hope your were not flying??
The error "Type Mismatch" occurs on the following line:
Printer.PaintPicture frmCkCopy.Picture1, 100, 100, 7560, 6480
I brought this to my professor and he did not know either??
Thanks
Hi Tim, the assumption you made about my forms setup is what
I have. I did change Public sub, and printer.print ;...
I also tried making a brand new project with 3 forms, print from form1, insert your code into cmdPrint sub, which tells
form2.picture2, form3.picture3 to print....however I am...
I tried your code and got a type mismatch error
here is my code:
Public Sub cmdPrint_Click()
Printer.ScaleMode = vbTwips
Printer.Print;
Printer.PaintPicture frmCkCopy1.Picture1, 100, 100, 7560, 6480
Printer.PaintPicture frmCkCopy2.Picture2, 100, 6580,7560,6480
Printer.EndDoc
End Sub
Am I...
Dear MrMooCow, I see what ur saying...
Well yes setting two forms to equal 4.25 x 5.5 is not a problem, but how do I get them to print on the same page?
Dear MrMooCow, I see what ur saying...
Well yes setting two forms to equal 4.25 x 5.5 is not a problem, but how do I get them to print on the same page?
Hi, I was browsing the vb 6.0 forum for threads about
resizing forms. I need a form that is 12240 w x 15840 H and
the height and width will not take this size. The resize event will only work during run time. I was wondering if you have a solution. I thought about making two forms 6120 X...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.