try something like this

by Michael Calkins (Login MCalkins)
Moderator

 

I'm not in a good position to test it, as I don't have an LPT printer hooked up...
Regards,
Michael

DIM i AS INTEGER
OPEN "LPT1" FOR OUTPUT AS 1
FOR i = 0 TO 15: PRINT #1 "Hello": NEXT
PRINT #1, CHR$(12);
CLOSE

PRINT "Did that print yet?"
SLEEP: WHILE LEN(INKEY$): WEND

OPEN "LPT1" FOR OUTPUT AS 1
FOR i = 0 TO 15: PRINT #1 "Goodbye": NEXT
PRINT #1, CHR$(12);
CLOSE
SYSTEM

Posted on Jul 17, 2012, 12:15 PM

Respond to this message   

Return to Index

Response TitleAuthor and Date
try thisLeon Schrecengost on Jul 17
 I forgot the commasMichael Calkins on Jul 17
  commasLeon Schrecengost on Jul 17
  commasLeon Schrecengost on Jul 18
   Good. Now that your initial problem is resolved ....Solitaire on Jul 18
   yeahMichael Calkins on Jul 18
    yeahLeon Schrecengost on Jul 18
    print formattingLeonSchrecengost on Jul 19
     Try CHR$(10) Line feed or CHR$(13) + CHR$(10)Clippy on Jul 19
      Line feedLeon Schrecengost on Jul 20

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement