-
can anyone tell me how can I stop a printer at specified point...basically I want to use custom paper size but the problem is I am using a dot matrix printer object of this printer not allowing me to set the custom size for the paper. Can anyone help me in this.
Thanx Manish
-
HI
THIS IS NT WHAT I WANT...LET SAY I HAVE A PAGE HVING HEIGHT 6 INCHES... SO WHEEVRE I I SEND A PRINTER.ENDDOC IT SHLD STOP AT THE PAGE LENGTH SPECIFIED I CAN'Y USE THAT OPEN FILE METHOD BCZ THE TEXT WHICH I WANT TO PRINT IN THAT IN DIFF FONT AN DIF I USE THIS METHOD IT WILL PRINT THE DATA IN THE DEFAULT FONT.
-
You could bypass the Printer Object and Print Directly to the Printer Port, eg.
Code:
Dim iFile As Integer
iFile = FreeFile
Open "LPT1:" For Output As iFile
Print #iFile, "Line of Printed Text"
Close iFile
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]