Discussion Locked
0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Print jobs are generated on a AS400, saved to the user's PC in the temporary internet folder, and then redirected to a parallel port via a DOS batch file. Is there a way to modify this batch file to have the job redirected to a printer connected viaan IP address of a USB port? Most of the PC's are either Win2K or XP. Thanks.
5 replies
by cactus pete
Is the batch file sending the file to ltp1? You can map it to a server by using net use:
net use lpt1: \\server\sharedprinter
If you want to keep ltp1 that way [across multiple reboots] add to the end:
/persistent:yes
by cactus pete
YOu might want to encapsulate the 'type' command then with the net use configurations.
Net use lpt1: \\server\sharedprinter
type %1 > lpt1
net use lpt1: /delete
by kbwoynatl
Poster rated this answer.
by kbwoynatl
A sample batch file is: type %1 > lpt1: The LPT port is usually whichever port is captured.
by kbwoynatl
This question was closed by the author
This discussion is closed to new replies.
Trending Desktop posts
Sort by Trending
Question
Floppy drive wont work on my 486
0 helpful
1 reply
Discussion
How to make light speed agent go away
0 helpful
4 replies
0 helpful
1 reply
Discussion Locked
Ryzen 7 7700
0 helpful
2 replies
Question Locked
Issue fully resetting my PC
0 helpful
4 replies