1,105,578 Community Members

Print in DOS mode in VB6

Member Avatar
Arijit Manna
Newbie Poster
10 posts since May 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi :)


Iam preparing a report on VB6. I wish to have my report printed in the DOS mode using a DotMatrix printer.

How will I do it, since Iam not working on the command prompt. Is there any way to solve this issue? Are there any general rules irrespective of the tools used to undertake such printing ?

Any help/suggestion in this regard would be highly appreciated.

Regards

ARIJIT

Member Avatar
selvaganapathy
Posting Pro
547 posts since Feb 2008
Reputation Points: 31 [?]
Q&As Helped to Solve: 100 [?]
Skill Endorsements: 7 [?]
 
0
 

Hi,
What you are using for Report Preparation ?(Data Report or Your own).
VB Has Printer Object to send data directly to the printer. U can also choose the printer in the list of printer. prn Command used for Print the Document in DOS Mode. I am not much know about that
If u use DateReport , it will manage the Printer

Example using Printer Object

Printer.Print "Hi Welcome to VB Printing"
   Printer.EndDoc
Member Avatar
Arijit Manna
Newbie Poster
10 posts since May 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Iam using Combit List&Label with VB6 for generating reports.How do I print directly in the DOS mode? Where do I make changes in the code? The user after making a bill has to press the print button after which the bill is generated from dotmatrix printer. Do you have any suggestions or sites where I could get help?
Regards
ARIJIT

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article