04-16-2003, 05:38 PM
04-16-2003, 09:44 PM
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.
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.
04-17-2003, 09:24 AM
I thought CHR$(10) was linefeed. At any rate, it'll only work if the DOS emulation on your printer works.
04-17-2003, 09:52 AM
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.