Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to printer share in command prompt do not print

Status
Not open for further replies.

herzel

IS-IT--Management
Joined
Mar 5, 2003
Messages
73
Location
IL
Hi to all the gurus

I have the following problem: when I try to print from windows xp home edition to printer that is in share in windows 98 SE, I can print test page from the printer properties but i can not print to the printer from the command line.
I do capture the printer with
"net use lpt1: \\server\printer"
and then I try to sent job to the printer with the following command "dir > lpt1: "or "copy c:\config.sys lpt1:"
I do not get any thing printed. The net use successed and in the window environment i can print easily also other windows 98 machine can easily print to the share,(in the dos or windows environment). The printer that is connected to the 98 machine is USB type.
I also noticed that the printer that it is xerox type receives something but do not print and goes online again without printing anything.


Any help will be appreciated
 
Is there anything here which covers what you are talking about?


Non-Administrators Cannot Remap an LPT Port to a Network Printer

How to print to a network printer from an MS-DOS-based program in Windows XP

'net use lpt1' Oddity
thread779-1112896

DOS programs not printing in XP
thread779-688514

DOS Program under XPpro, USB Printer
thread779-335131

printer problem
thread779-279009

Printing on a USB-printer from DOS
thread779-736429
 
linney hi
I red your reply thanks a lot., but I do notice in your reply two issues and I do not believe any of them is my case first of all in the reply you suggest me to try the devcon command to disable plug and play on the lpt1 but I tried also the lpt2 and lpt3
With net use and nothing printed (of course with dir > lpt2: or dir > lpt3:) also you suggested me to try the following command
"net use lpt1: \\server\printer /persistent: yes"
Well I do success to do the net use without persistent: yes and I red in one of your articles that the persistent: yes is nothing special.
So do you believe my case is something special that nobody had this case till now?
Do you believe I should install there print server?

I will appreciate any help

 
Those links just about covered all the suggestions that I have read, somebody else might have to help out here.

Have you considered approaching Microsoft Support or Xerox Support to see if they can help?

You can have a look at this in case it goes further than those earlier links.


HOWTO: Print to a USB Printer from DOS in Windows XP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top