If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#16
|
|||
|
|||
Printing from DOS to USB printer
I have finally found a customer patient enough to go through all the
rigamarole to test this out. I still have some customers that can't print from our DOS program to a USB printer. Here is what we have: Customer has a Toshiba Satellite M35X-S114 and wants to print to an HP Photosmart 8150 on a local USB port. He is using WinXP, but I don't know if it is Home or Pro and don't know the SP. Here is what we have tried: Turned on Printer Pooling and checked LPT1 as well as the USB port. Doesn't work. Our program thinks it is printing, so it thinks there is an LPT port available. Shared the printer as "HP8150". Went to DOS. Ran NET USE LPT1: \\user\HP8150 /persistent:yes "user" was a 4 letter username, so everything is DOS legal. Got an error "System error 1231. Network location cannot be reached." Tried NET USE LPT1: \\127.0.0.1\HP8150 /persistent:yes Got the same error 1231. Interesting thing is, when we open Device Manager, there is no "Ports" section. I think the computer doesn't "know" anything about LPT1, but it was there on the list of ports in the printer setup. I forgot to try "NET VIEW \\user", but in the past when I have tried this, it shows the printer, but "NET USE" won't work. We tried DOS2USB and it didn't work. We're about to try DOSPRN, but when I tried it on my own computer, it ran very slowly (like about 10 minutes per page). Anyone have any other ideas? I have checked Bruce Sanderson's page and it just has the above suggestions. FYI, I KNOW we need to convert the software to Windows. We are working on it. For now, I have to get the DOS program to print. Thanks, Jay |
Ads |
#17
|
|||
|
|||
Printing from DOS to USB printer
Just a follow-up. I used the "Net View" command and I could see the
printer. I just can't use the "Net Use" command to redirect to it. Jay On Thu, 17 Aug 2006 10:08:29 -0500, Reverse first and last names wrote: I have finally found a customer patient enough to go through all the rigamarole to test this out. I still have some customers that can't print from our DOS program to a USB printer. Here is what we have: Customer has a Toshiba Satellite M35X-S114 and wants to print to an HP Photosmart 8150 on a local USB port. He is using WinXP, but I don't know if it is Home or Pro and don't know the SP. Here is what we have tried: Turned on Printer Pooling and checked LPT1 as well as the USB port. Doesn't work. Our program thinks it is printing, so it thinks there is an LPT port available. Shared the printer as "HP8150". Went to DOS. Ran NET USE LPT1: \\user\HP8150 /persistent:yes "user" was a 4 letter username, so everything is DOS legal. Got an error "System error 1231. Network location cannot be reached." Tried NET USE LPT1: \\127.0.0.1\HP8150 /persistent:yes Got the same error 1231. Interesting thing is, when we open Device Manager, there is no "Ports" section. I think the computer doesn't "know" anything about LPT1, but it was there on the list of ports in the printer setup. I forgot to try "NET VIEW \\user", but in the past when I have tried this, it shows the printer, but "NET USE" won't work. We tried DOS2USB and it didn't work. We're about to try DOSPRN, but when I tried it on my own computer, it ran very slowly (like about 10 minutes per page). Anyone have any other ideas? I have checked Bruce Sanderson's page and it just has the above suggestions. FYI, I KNOW we need to convert the software to Windows. We are working on it. For now, I have to get the DOS program to print. Thanks, Jay |
#18
|
|||
|
|||
Printing from DOS to USB printer
Reverse first and last names wrote: I have finally found a customer patient enough to go through all the rigamarole to test this out. I still have some customers that can't print from our DOS program to a USB printer. Here is what we have: Customer has a Toshiba Satellite M35X-S114 and wants to print to an HP Photosmart 8150 on a local USB port. He is using WinXP, but I don't know if it is Home or Pro and don't know the SP. Here is what we have tried: Turned on Printer Pooling and checked LPT1 as well as the USB port. Doesn't work. Our program thinks it is printing, so it thinks there is an LPT port available. Shared the printer as "HP8150". Went to DOS. Ran NET USE LPT1: \\user\HP8150 /persistent:yes "user" was a 4 letter username, so everything is DOS legal. Got an error "System error 1231. Network location cannot be reached." Tried NET USE LPT1: \\127.0.0.1\HP8150 /persistent:yes Got the same error 1231. Interesting thing is, when we open Device Manager, there is no "Ports" section. I think the computer doesn't "know" anything about LPT1, but it was there on the list of ports in the printer setup. I forgot to try "NET VIEW \\user", but in the past when I have tried this, it shows the printer, but "NET USE" won't work. We tried DOS2USB and it didn't work. We're about to try DOSPRN, but when I tried it on my own computer, it ran very slowly (like about 10 minutes per page). Anyone have any other ideas? I have checked Bruce Sanderson's page and it just has the above suggestions. FYI, I KNOW we need to convert the software to Windows. We are working on it. For now, I have to get the DOS program to print. Thanks, Jay Jay, I've had good luck with this command line: type net use lpt1: \\servername\printerSharedName /persistent:yes Where servername is the hostname of the computer the printer is connected to, in this case it's the computer you are on. Type "net use" to see if an lpt1 port is alread setup and if it is type "net use lpt1: /delete" Hopefully this will help. |
#19
|
|||
|
|||
Printing from DOS to USB printer
|
#21
|
|||
|
|||
Printing from DOS to USB printer
Yes.
Any assistance you can give me would be greatly appreciated. Jay On Fri, 18 Aug 2006 09:51:44 -0700, "Alan Morris [MSFT]" wrote: in a cmd window type net share is the HP8150 listed |
#22
|
|||
|
|||
Printing from DOS to USB printer
net use should do it. I have only seen this fail if the device does not
support text only or raw pcl commands. -- Alan Morris Windows Printing Team Search the Microsoft Knowledge Base he http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto This posting is provided "AS IS" with no warranties, and confers no rights. "Reverse first and last names" wrote in message ... Yes. Any assistance you can give me would be greatly appreciated. Jay On Fri, 18 Aug 2006 09:51:44 -0700, "Alan Morris [MSFT]" wrote: in a cmd window type net share is the HP8150 listed |
#23
|
|||
|
|||
Printing from DOS to USB printer
Reverse first and last names wrote :
I have finally found a customer patient enough to go through all the rigamarole to test this out. I still have some customers that can't print from our DOS program to a USB printer. Here is what we have: Customer has a Toshiba Satellite M35X-S114 and wants to print to an HP Photosmart 8150 on a local USB port. He is using WinXP, but I don't know if it is Home or Pro and don't know the SP. Here is what we have tried: Turned on Printer Pooling and checked LPT1 as well as the USB port. Doesn't work. Our program thinks it is printing, so it thinks there is an LPT port available. Are you sure this printer understands data from a DOS-program? /klaus |
#24
|
|||
|
|||
Printing from DOS to USB printer
On Tue, 22 Aug 2006 21:40:55 +0200, Klaus Jorgensen
wrote: Reverse first and last names wrote : I have finally found a customer patient enough to go through all the rigamarole to test this out. I still have some customers that can't print from our DOS program to a USB printer. Here is what we have: Customer has a Toshiba Satellite M35X-S114 and wants to print to an HP Photosmart 8150 on a local USB port. He is using WinXP, but I don't know if it is Home or Pro and don't know the SP. Here is what we have tried: Turned on Printer Pooling and checked LPT1 as well as the USB port. Doesn't work. Our program thinks it is printing, so it thinks there is an LPT port available. Are you sure this printer understands data from a DOS-program? /klaus It shouldn't matter about the printer. It is failing before sending anything to the printer. The command NET USE LPT1: \\server\printer /persistent:yes returns error "System error 1231. Network location cannot be reached." I think the problem may be that the laptop mfgr. may have edited WinXP to remove the reference to LPT1: as a reserve word since there is no parallel port on the laptop. Thanks for your response, though. Jay |
#25
|
|||
|
|||
Printing from DOS to USB printer
Reverse first and last names wrote :
On Tue, 22 Aug 2006 21:40:55 +0200, Klaus Jorgensen wrote: Reverse first and last names wrote : Turned on Printer Pooling and checked LPT1 as well as the USB port. Doesn't work. Our program thinks it is printing, so it thinks there is an LPT port available. Are you sure this printer understands data from a DOS-program? /klaus It shouldn't matter about the printer. It is failing before sending anything to the printer. The command NET USE LPT1: \\server\printer /persistent:yes returns error "System error 1231. Network location cannot be reached." I was referring to the pooling trick where I took it that your print job vanished into thin air. That often happens when sending DOS data to a GDI-printer. /klaus |
#26
|
|||
|
|||
Printing from DOS to USB printer
On Thu, 24 Aug 2006 18:25:10 +0200, Klaus Jorgensen
wrote: Reverse first and last names wrote : On Tue, 22 Aug 2006 21:40:55 +0200, Klaus Jorgensen wrote: Reverse first and last names wrote : Turned on Printer Pooling and checked LPT1 as well as the USB port. Doesn't work. Our program thinks it is printing, so it thinks there is an LPT port available. Are you sure this printer understands data from a DOS-program? /klaus It shouldn't matter about the printer. It is failing before sending anything to the printer. The command NET USE LPT1: \\server\printer /persistent:yes returns error "System error 1231. Network location cannot be reached." I was referring to the pooling trick where I took it that your print job vanished into thin air. That often happens when sending DOS data to a GDI-printer. /klaus You could be right, but I have had good luck with HP printers. My Photosmart 1000 works fine. I'll try again. Thanks, Jay |
|
Thread Tools | |
Display Modes | |
|
|