Link to home
Start Free TrialLog in
Avatar of jack niekerk
jack niekerkFlag for Netherlands

asked on

PRINTING FROM DOS TO A TCP/IP PRINTER FROM WINDOWS

I have a laser connected to a Ethernethub , the hub on the network.
I can print everything from windows,  but I do have  a few programs that prints from a dos program to LPT1 poort
wich I have to redirect to this  TCP/IP printer , adress  192.168.1.106  portname  x_DHCPPC6
Can I use in a dos box or the mode command and/or the net  command?  and what would be the comand syntax line?
Avatar of mohsyn
mohsyn

1. set network printer as your default printer
2. in DOS when u print use port name PRN: instead of LPT1
done !
Avatar of jack niekerk

ASKER

Does not work,  it takes first printer from printerlist that has a real lpt1:
ASKER CERTIFIED SOLUTION
Avatar of venom96737
venom96737
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mohammed Hamada
TCP/IP must be installed for any DOS based Network printing.

Type Net use LPT2: \\PSXXXXXX\P1
Tell each program to print from LPT2.

Check This Link:-
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q154498