M
Marc Champagne
Hi folks,
I wish to print on pre-printed continuous forms on a dot
matrix printer.
My initial intent was to access to printer directly (in raw
mode, somehow) in order to send whatever is necessary to do
the job.
I had to try... but FileOpen does not permit opening LPT1.
From what I gatter (I may understand this incorrectly) the
printdocument component seems to be a graphical approach at
printing on modern cut-sheet printers (laser, inkjet).
The only aspects of printing I need are to send appropriate
text, CR/LFs, formfeeds and CPI settings all the while using
the printer's default power-on font.
Alternatively, I have a back door, but it's not elegant.
1) Create a textfile.txt via VB with the appropriate
print data.
2) Shell("printit.bat", AppWinStyle.Hide)
3) printit.bat contains: copy /b textfile.txt lpt1:
Any help to get me on the right track here would be more than
welcomed.
Thanks
I wish to print on pre-printed continuous forms on a dot
matrix printer.
My initial intent was to access to printer directly (in raw
mode, somehow) in order to send whatever is necessary to do
the job.
I had to try... but FileOpen does not permit opening LPT1.
From what I gatter (I may understand this incorrectly) the
printdocument component seems to be a graphical approach at
printing on modern cut-sheet printers (laser, inkjet).
The only aspects of printing I need are to send appropriate
text, CR/LFs, formfeeds and CPI settings all the while using
the printer's default power-on font.
Alternatively, I have a back door, but it's not elegant.
1) Create a textfile.txt via VB with the appropriate
print data.
2) Shell("printit.bat", AppWinStyle.Hide)
3) printit.bat contains: copy /b textfile.txt lpt1:
Any help to get me on the right track here would be more than
welcomed.
Thanks