visual basic printer

Tags:
Development
i am using vb6.0 . i want to take printout in dotmatrix printer. for english i know how to take dos-mode printing. but i dont know how to take printout in other languages in dos-mode like tamil,hindi(indian languages). pls inform me.
ASKED: January 8, 2007  11:50 AM
UPDATED: January 9, 2007  5:05 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you want to take print in dot matrix printer, you make report program in dos-based coding,

coding:
——-

Open “c:windowsdesktoppslip.txt” for output as prpslip

dim psp as rdoresultset
dim i as integer
set paydb=rdoenvironments(0).openconnection(“payroll”,rdDriverNoPrompt)
set psp=paydb.openresultset(“select * from rptpayslip”,2,4)
if psp.rowcount <> 0 then
do while psp.EOF=False
print prpslip,chr(14)+chr(15)+”ABC Company”+chr(18)
print prpslip,”Code:”+psp(“code”)+space(40)+”Name:”+psp(“Name”)
print prpslip,”Address:”+psp(“address”)
print prpslip,
print prpslip,
psp.movenext
loop
endif
clost prpslip
shell (c:windowsdesktopprintfile.bat”)

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following