-
ok, i have tried to open the printer port to "manually" print some text or something.
when i used the print # statement with some text, all the printer did was feed one line through without printing a single dot!
any clues?
------------------
Wossname,
Email me: [email protected] :)
-
I can not reproduce your problem.
This code works fine for me:
Code:
Open "lpt1" For Output As #1
Print #1, "Hello World." & vbCrLf
Print #1, "And this is line 2." & Chr(12) '12 = FormFeed
Close #1
-
Correction to Frans C: do not use a vbCrLf as it will skip a line (at least on my printer.
Intstead, use a vbCr or Carriage Return like the following:
Print #1, "Hello World." & vbCr
Also, with most printers, you dont need to include a FormFeed.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470 Add Me ICQ Me
AIM: TomY10
PERL, JavaScript and VB Programmer
-
printing bold
Hai
I am also using the print # statement in my application.Now i
want to print some lines in bold character usiung this statement and not printer.print statement which gives a form feed at the end of printer.endDoc statement which i don`t need.Can you help me to print bold characters using print # statement.Most urgent.