Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto Line Feed to Printer
#1
Can anyone tell me how I get the Line Feed to work on the Printer so that it will eject the Paper after the job is printed
Reply
#2
On most printers, if they're attached to LPT1,

LPRINT CHR$(12);

should work. Otherwise, it's

OPEN "LPT1n:" AS #1
PRINT#1, CHR$(12);
CLOSE #1

where n is the number of the LPT port that you're printer's attached to.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#3
I thought CHR$(10) was linefeed. At any rate, it'll only work if the DOS emulation on your printer works.
Reply
#4
ejecting the page from the printer (at least, I thought that's what he said), I thought he really meant a formfeed. And I guess I assumed he was able to print with DOS programs (e.g., those written with QB) because he was asking about it in a QB forum and the implication was that he was already getting *something* output to the printer.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)