Click to See Complete Forum and Search --> : Printer...Urgent
Manish
Nov 17th, 1999, 01:28 PM
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
Manish
Nov 18th, 1999, 11:39 AM
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.
Aaron Young
Nov 18th, 1999, 11:59 AM
You could bypass the Printer Object and Print Directly to the Printer Port, eg.
Dim iFile As Integer
iFile = FreeFile
Open "LPT1:" For Output As iFile
Print #iFile, "Line of Printed Text"
Close iFile
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.