|
-
Feb 28th, 2009, 01:57 PM
#1
Thread Starter
New Member
Printing data to printer in VB 6
Hi friends i am doing database project for finance and i stuck in one problem.
I want to print like this in printer
Name........................ date:...........
address.................... time :.........
........................
sub:some agreement statements xxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Amount:............
rate of interest:............
signature
All this agreement statements are same for all persons and i want to save this
in file and in doted lines(...........) i want to print the data in specific location
how we can done this in vb .please help me
-
Feb 28th, 2009, 02:53 PM
#2
Re: Printing data to printer in VB 6

You can use Printer.CurrentX and Printer.CurrentY to position your output.
-
Feb 28th, 2009, 02:55 PM
#3
Re: Printing data to printer in VB 6
And if you need to continue a line, or in other words two things on the same line then you use a semi-colon.
Code:
Printer. Print "This is part one";
Printer.CurrentX = 3000
Printer.Print "This prints on the same line with part one"
-
Feb 28th, 2009, 03:00 PM
#4
-
Mar 1st, 2009, 04:10 AM
#5
Thread Starter
New Member
Re: Printing data to printer in VB 6
Thank you friends.
How to create template in MS office and how to link to Vb.
And also how to store each person record in file , Is it required to maintain each for each person or single file .
NOTE:I am novice
-
Mar 1st, 2009, 04:16 AM
#6
Re: Printing data to printer in VB 6
 Originally Posted by arjunpi
Thank you friends.
How to create template in MS office and how to link to Vb.
And also how to store each person record in file , Is it required to maintain each for each person or single file .
NOTE:I am novice
A good place to start with
http://www.vbforums.com/showthread.php?t=358585
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
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
|