schrein@plains.NoDak.edu (wes schreiner) (04/01/91)
I can't get Windows to print to a LJII connected to COM3. Printing from DOS, in or out of Windows, works fine. DOS knows the address of the port and so does Windows. I thought it might be an IRQ problem, so I set the card to IRQ5 and told Windows about it in WIN.INI. Same thing, can print from DOS but Windows says the printer is "stalled." I thought it might be flow control, but no combination I tried makes a difference to Windows. Of course the silly combinations break printing from DOS too. I thought it might be the cable, so I replaced the cable with the HP-recommended wiring with a 25-wires straight through cable. Same result, DOS prints, Windows stalled. Disabling Print Manager just gets me the same error message, slightly quicker. I can't move the printer to COM1 or 2 and I don't have another LPT port. Printing is fine to the Epson on LPT1. I swapped the LJII to LPT1, set up for the parallel port, and everything worked then too. But I can't mess around swapping the printers around everytime so I'd really like to get Windows to print through COM3. Has anyone tried this? Any clues? I know, I should just get a I/O card with 2 LPT ports. Thanks for wading through this. wes schrein@plains.nodak.edu | ...!uunet!plains!schrein
tonyd@hplsla.HP.COM (Tony DeMartino) (04/02/91)
I am assuming that since you said you tried the HP recommended cable that you have an HP machine. If so you can get it to work on COM3 and or COM4 if you wish. I am also assuming you are using an HP Ser/Par or dual serial card. If it is an HP card I don't know how you changed it to IRQ5 (this is also the IRQ for LPT2) but the configuration shown here requires defaults or if they are not, then change the entries to match the IRQ's you have set and the IO addresses you have set. First add a mode statement in your autoexec.bat for the com port you wish to use. IE: mode com3:96,n,8,1,p Then edit your system.ini in your windows directory and add these lines to the [386enh] section Com3Base=3e8h Com3Irq=10 Com4Base=2e8h Com4Irq=11 Now edit your win.ini file and change or add ... Change COM3:=9600,n,8,1 to COM3.OS2= or just add COM3.OS2 in the same section. Do the same for COM4 if you have and wish to use it. Then reboot the machine and run windows. Run the control panel and configure your printer for one of the COMX.OS2 ports you added in your win.ini. I have also seen some folks just add a redirector in thier autoexec.bat like LPT2=COM3 along with the necessary mode statement and configure windows to LPT2.OS2 and it seems to work fine as well. Good luck.