problem in printing in VB

Reply

Join Date: Jan 2006
Posts: 1
Reputation: nithin is an unknown quantity at this point 
Solved Threads: 0
nithin nithin is offline Offline
Newbie Poster

problem in printing in VB

 
0
  #1
Jan 7th, 2006
hi

I have a problem with vb 6. I made a program to print bills using Data Report. The problem is, the printer prints the bill in fixed paper height. but the bill height varies according to the data. i want to stop the printer after the data ends. because i am using rolled paper not fixed height papers. my printer is dot matrix.

thank you
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 186
Reputation: aparnesh is an unknown quantity at this point 
Solved Threads: 10
aparnesh's Avatar
aparnesh aparnesh is offline Offline
Junior Poster

Re: problem in printing in VB

 
0
  #2
Jan 15th, 2006
Sorry to say u probably can't acheive this in Data Report. I had a similar problem regarding printing in roll papers. I sent the output to a text file and printed the file. U can probably try that approach if it helps
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 4
Reputation: aakulks is an unknown quantity at this point 
Solved Threads: 0
aakulks aakulks is offline Offline
Newbie Poster

Re: problem in printing in VB

 
0
  #3
Jan 19th, 2006
hi
try with report's deactivate event

Aniket
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 4
Reputation: laljain123 is an unknown quantity at this point 
Solved Threads: 0
laljain123 laljain123 is offline Offline
Newbie Poster

Re: problem in printing in VB

 
0
  #4
Apr 20th, 2008
i sent the output to a text file and printed the file. U can probably try that approach if it helps BUT STILL IT PRINTS AND FORWARDS THE PAPER TO NEXT PAGE.
WHAT TO DO?
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 4
Reputation: laljain123 is an unknown quantity at this point 
Solved Threads: 0
laljain123 laljain123 is offline Offline
Newbie Poster

Re: problem in printing in VB

 
0
  #5
Apr 20th, 2008
Originally Posted by nithin View Post
hi

I have a problem with vb 6. I made a program to print bills using Data Report. The problem is, the printer prints the bill in fixed paper height. but the bill height varies according to the data. i want to stop the printer after the data ends. because i am using rolled paper not fixed height papers. my printer is dot matrix.

thank you
have you got the solution for the problem
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 186
Reputation: aparnesh is an unknown quantity at this point 
Solved Threads: 10
aparnesh's Avatar
aparnesh aparnesh is offline Offline
Junior Poster

Re: problem in printing in VB

 
0
  #6
Apr 20th, 2008
I gave the solution for rolled paper, not pages (fanfold or otherwise). For rolled paper, there is naturally no concept of next page. If you are printing to pages of fixed height, using a data report and setting report height would be the best solution.
If you want to print from a text file and the printer moves onto next page, check if you have inserted a Form feed character at the end of your text file. Remove any such character.
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 4
Reputation: laljain123 is an unknown quantity at this point 
Solved Threads: 0
laljain123 laljain123 is offline Offline
Newbie Poster

Re: problem in printing in VB

 
0
  #7
Apr 21st, 2008
Dear
problem in Bill prinitng
1.
Ok if u consider the roll paper,i want print stops at the end of last line, Paper should not move forward. what to do?

2. There is no such any feed characer at the end of file.

thanks in advance

lalith jain
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 4
Reputation: laljain123 is an unknown quantity at this point 
Solved Threads: 0
laljain123 laljain123 is offline Offline
Newbie Poster

Re: problem in printing in VB

 
0
  #8
Apr 21st, 2008
Dear
problem in Bill prinitng
1.
Ok if u consider the roll paper,i want print stops at the end of last line, Paper should not move forward. what to do?

2. There is no such any feed characer at the end of file.

thanks in advance

lalith jain
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC