|
-
Jul 1st, 2006, 12:07 PM
#1
Thread Starter
New Member
how to set co-ordinates for printing data in vb6.0
hi friends,
i am doing project using visual basic 6.0 and oracle 9i. i have to print recept using dot matrix printer. i was to set my own page size and print the data at perticular position but i dont know how to do it.
so plz help me out..
thanks
rahul srivastava
-
Jul 1st, 2006, 01:02 PM
#2
Re: how to set co-ordinates for printing data in vb6.0

Do you mean Printer.CurrentX = 123 and Printer.CurrentY=123?
-
Jul 3rd, 2006, 09:40 AM
#3
Thread Starter
New Member
Re: how to set co-ordinates for printing data in vb6.0
clearly i dont know about that. the thing i have to do is that i have to print a predefined recept and the should go exectly to the desired place and the main problem is that by default paper size of dot matrix printer is A4. in place of this i want to define my own... thats it.
-
Jul 3rd, 2006, 10:32 AM
#4
Re: how to set co-ordinates for printing data in vb6.0
The only way I know of to put text exactly where you want it on a piece of paper (regardless of the size of the paper) is to set the X-coordinate with CurrentX and the Y-coordinate with CurrentY and be prepared to do a lot of experimentation.
-
Jul 3rd, 2006, 10:34 AM
#5
Thread Starter
New Member
Re: how to set co-ordinates for printing data in vb6.0
no problem. i am ready to try this..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|