NewStats: 3,265,244 , 8,186,117 topics. Date: Saturday, 14 June 2025 at 04:41 AM 4cum

6z3e3g

I Have A Problem Printing In Visual Basic 6.0 - Programming - Nairaland 3g4f45

I Have A Problem Printing In Visual Basic 6.0 (1492 Views)

(4)

(1) (Go Down)

princeuk(m): 10:17pm On Mar 21, 2008
Am having a Problem Printing with visual Basic 6.0, I need to print an employee record and i really want to make it look like a grid view but its not working,I need help,
Kobojunkie: 2:21am On Mar 22, 2008
How do we help if we have no clue what the actual problem is with your code?? Any Exceptions??
princeuk(m): 7:04pm On May 07, 2008
I have been able to call the System Printer with the common dialog control,but i cant assign the work i want to print to the printer, I only use the Print Form Method. Also the grid control is very messy, I put it in a form, and the scroll bar disappears. Can You Help Me Out.
luckyCO(m): 11:15am On May 13, 2008
Is data you are trying to print coming from database?
If it does, design a data report and fill the data inside and them print.
If not Write a program that will retrieve all the values in the grid and align it in a text box and then use system Printer to print it.

For you to choose printer you have to search the enumeration for each printer in printers such data you will see all printers in the system.

Any personal Help goto my post Post your VB problems here then I will write the code for you because I always visit it and attend to questions.

take care.
jairoyair: 10:57pm On Aug 03, 2008
Hi:

I am trying to learn how to program on visual basic 6.0 by my own. So I have some data on a text box and I want to print it. I don't have idea of how to do it. If somebody can help me i will appreciate it. You can e mail me if you want.

Thanks.
luckyCO(m): 1:00pm On Aug 04, 2008
Printer.Print Text1.Text
jairoyair: 8:29pm On Aug 04, 2008
Hey, thank you very much. I will use the code you posted. thanks again.
jairoyair: 11:22pm On Aug 06, 2008
Ok. I know how to print now. thanks. Can somebody help me again. I want to print receipts. Sow I want to manupulate what I have on my text box. Any advises??
Thanks for your help,
luckyCO(m): 4:44pm On Aug 07, 2008
If you are deg static reciept, the one given to you to design. i should advice to create in either in any deg too and later export it as an image. Send it on your form. Add textboxes where neccessary, do so on two forms. use one as preview and other for printing. so call form.print method and it will print the reciept for you. If you dont know the reciept, you can design it using crystal report and stuff like that. But take longer effort.

(1) (Reply)

Please How Do I Transform My Python Codes To A Cross-platform Mobile App???

(Go Up)

Sections: How To . 34
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or s on Nairaland.