|
-
May 2nd, 2002, 08:22 AM
#1
Thread Starter
Addicted Member
print me please!!!
hi,
i need to print to a printer directly without using printer driver. i know there are lots of posts here which can help but guess not enuf to help me.
when i say this nothing happens:
VB Code:
Open "lpt1" For Output As #1
Print #1, "Test"
Close #1
why is this so?
i m using epl2 programming is there some1 who has used this before.
please please please help me with this epl2 programming.
Nihar.
-
May 2nd, 2002, 08:32 AM
#2
-= B u g S l a y e r =-
only suggestion I have is using LPT1: instead of just LPT1
sample
VB Code:
Dim nPrinter As Long
nPrinter = FreeFile
Open "LPT1:" For Output As nPrinter
Print #nPrinter, "TEST TEST"
Print #nPrinter, Chr(13) & Chr(10)
Print #nPrinter, "TEST LINE NO 2"
Close nPrinter
worth trying
-
May 2nd, 2002, 08:45 AM
#3
Thread Starter
Addicted Member
Tried it mate
doesnt work..
do i need to install any drivers to print? say a generic text only printer driver?
my guess is that since we are trying to send it directly to the printer port it shouldnt be required.
if some1 has worked on epl2 programming he should have the experience which can be shared. please please please help me
regards,
Nihar.
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
|