|
-
Nov 27th, 1999, 11:37 PM
#1
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] 
-
Nov 28th, 1999, 03:36 AM
#2
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
-
Nov 28th, 1999, 07:07 AM
#3
Hyperactive Member
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
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
|