|
-
Nov 17th, 1999, 02:28 PM
#1
Thread Starter
Lively Member
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
-
Nov 18th, 1999, 12:39 PM
#2
Thread Starter
Lively Member
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.
-
Nov 18th, 1999, 12:59 PM
#3
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|