|
-
April 22nd, 2002, 07:37 AM
#1
Direct copy to printer port under Win NT
Hi all,
I need to make a litle program that only copy the
to lpt1 on Win NT.
All is ok with the code, but after starting the printer do not print.
I try to start in MS DOS copy myfile lpt1.
The system reports : 1 file copied and so on, but nothig happen with printer.
The printer is ok and I can print with edit.
Is it possible to use lpt1 directly under NT ?
Many thanks.
-
April 22nd, 2002, 08:11 AM
#2
Re: Direct copy to printer port under Win NT
look in MSDN Library at CreateFile API Reference
let me know if this help
-
April 22nd, 2002, 08:28 AM
#3
Re: Direct copy to printer port under Win NT
Thanks for the answer, but it is not the solution.
I use the sandart ASCII open for file open and all
working well on Win98.
I do not know if it is NT bug or NT setting.
It is not working also on 2000 and NT Workstation.
Many thanks.
-
April 22nd, 2002, 08:33 AM
#4
Re: Direct copy to printer port under Win NT
can you, please, post some code here?
-
April 22nd, 2002, 09:21 AM
#5
Re: Direct copy to printer port under Win NT
Hi,
the code is very simple.
But you can try it with simple MS DOS copy to lpt1.
Regards.
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
|