Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem in Serial Printer when printing

Status
Not open for further replies.

nadifa

Programmer
Jul 7, 2000
5
ID
Hi...<br><br>I have problem when printing text to the serial printer.<br>&nbsp;<br>as long as I know&nbsp;&nbsp;that visual basic program has image form when printing text to the printer so I can't print the whole&nbsp;&nbsp;text to the printer . How to solve it ? Until now I can't print the whole text. ( My Serial Printer is EPSON TM-300B).<br>&nbsp;<br>Thank you very much.
 
Can you explain some more?<br><br>Is it that VB is sending text as an image, and your printer only understands ASCII?<br><br>Do you have the correct printer driver installed in Windows -- can you successfully print a test page?<br><br>Chip H.<br>
 
if you want to print text to serial printer you can open serial printer as an output file, like this<br><br>Open &quot;Lpt1:&quot; for output as #1<br>but if your printer is not ready program will not respond until the printer is ready.<br><br>or you can use object printer, like this<br><br>printer.Print &quot;.....&quot;<br>or <br>Printer.PaintPicture Picture1.Image, if you want to print an image<br><br>aceng<br>
 
Hi...<br><br>My Aplication run two printer together at the same time. They are Parallel Printer (I Use EPSON LX-300) and Serial Printer (I Use EPSON TM-300B With maximum buffer 1kb Without Driver from Manufactur). In My Parallel Printer I can print text completely but in Serial Printer can't print completely <br>and I print same text.<br><br>My code for Serial Printer like this:<br><br>Open &quot;Com1:&quot; for Output as #1<br><br>Do While Not EOF()<br>&nbsp;&nbsp;Print #1,Field Name<br>&nbsp;&nbsp;&nbsp;LOOP<br>end do<br><br><br>and My code for Paralle Printer like this<br><br>Open &quot;Lpt1:&quot; for Output as #2<br>&nbsp;&nbsp;&nbsp;Print #2,Field Name<br>&nbsp;&nbsp;&nbsp;Loop<br>End do<br><br>How to solve it so I can print text completely in serial printer ?
 
Please re-state your question (I don't understand what you want?) and I will help.<br><br>MemDump
 
Is it that you are sending data too fast for the serial printer to cope with? <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top