A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Printing and Faxing with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Printing from DOS to network printer



 
 
Thread Tools Display Modes
  #16  
Old August 17th 06, 04:08 PM posted to microsoft.public.windowsxp.print_fax,comp.sys.hp.hardware
Reverse first and last names
external usenet poster
 
Posts: 6
Default 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  
Old August 17th 06, 04:52 PM posted to microsoft.public.windowsxp.print_fax,comp.sys.hp.hardware
Reverse first and last names
external usenet poster
 
Posts: 6
Default 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  
Old August 17th 06, 10:03 PM posted to microsoft.public.windowsxp.print_fax,comp.sys.hp.hardware
No_Name
external usenet poster
 
Posts: 1
Default 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  
Old August 18th 06, 04:26 PM posted to microsoft.public.windowsxp.print_fax,comp.sys.hp.hardware
Reverse first and last names
external usenet poster
 
Posts: 6
Default Printing from DOS to USB printer

On 17 Aug 2006 14:03:28 -0700, 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.

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.


Thank you for your response, but as I said in the original message,
that results in "System error 1231. Network location cannot be
reached." I get the impression that WinXP isn't recognizing LPT1 as a
reserve device, since there is no parallel port on the laptop.

Any other ideas?

Thanks,
Jay
  #20  
Old August 18th 06, 05:51 PM posted to microsoft.public.windowsxp.print_fax,comp.sys.hp.hardware
Alan Morris [MSFT]
external usenet poster
 
Posts: 783
Default Printing from DOS to USB printer

in a cmd window type
net share

is the HP8150 listed

--
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 ...
On 17 Aug 2006 14:03:28 -0700, 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.

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.


Thank you for your response, but as I said in the original message,
that results in "System error 1231. Network location cannot be
reached." I get the impression that WinXP isn't recognizing LPT1 as a
reserve device, since there is no parallel port on the laptop.

Any other ideas?

Thanks,
Jay



  #21  
Old August 21st 06, 05:26 PM posted to microsoft.public.windowsxp.print_fax,comp.sys.hp.hardware
Reverse first and last names
external usenet poster
 
Posts: 6
Default 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  
Old August 21st 06, 09:43 PM posted to microsoft.public.windowsxp.print_fax,comp.sys.hp.hardware
Alan Morris [MSFT]
external usenet poster
 
Posts: 783
Default 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  
Old August 22nd 06, 08:40 PM posted to microsoft.public.windowsxp.print_fax
Klaus Jorgensen
external usenet poster
 
Posts: 35
Default 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  
Old August 23rd 06, 08:13 PM posted to microsoft.public.windowsxp.print_fax
Reverse first and last names
external usenet poster
 
Posts: 6
Default 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  
Old August 24th 06, 05:25 PM posted to microsoft.public.windowsxp.print_fax
Klaus Jorgensen
external usenet poster
 
Posts: 35
Default 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  
Old August 25th 06, 02:36 PM posted to microsoft.public.windowsxp.print_fax
Reverse first and last names
external usenet poster
 
Posts: 6
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 06:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.