borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (continuous printing through Crystal Report Application)Next Topic (print a whole picture box or form at 600 dpi including the controls over it, is it possible?) New Topic New Poll Post Reply
AndreaVB Forum : Printing : i have problems with print margins
Poster Message
nanu
Level: Guest


icon i have problems with print margins

I have a picturebox at the size of A4 . I print this picturebox in portrait orientation, and Everything is fine. When I'm trying to print in landscape orientation , my picturebox is printed from marging that is indented . I want to keep my margins. When I see my picturebox , everything look fine, but when I'm printing this, my left margins are wrong. Can anybody help me? I will appreciate this.

[Edited by nanu on 10-11-2004 at 04:33 PM GMT]

10-11-2004 at 02:33 PM
| Quote Reply
GeoffS
Level: VB Lord


Registered: 29-09-2004
Posts: 536
icon Re: i have problems with print margins

Hi,
You don't say what method you are using to Print the PictureBox, but assuming that you are using Printer.PaintPicture then if you set the 2nd. Parameter (Printer X) to that function as your print start position then it should give you the margin you require.


____________________________
multi-tasking - the ability to hang more than one app. at the same time.

11-11-2004 at 08:35 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : i have problems with print margins
Previous Topic (continuous printing through Crystal Report Application)Next Topic (print a whole picture box or form at 600 dpi including the controls over it, is it possible?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder