network printer unable to initialize

In my network I have all xp sp3 machines.
On one machine I have Fujitsu dl3600 printer.
I have shared the printer.
everyone can print to this printer from windows applications, but nobody (except computer, on which printer is connected) can print from dos applications.

I have then tried to print from command prompt, using command:
print /D:\\computer\printer c:\test.bat

but I got the "network printer unable to initialize"  error
I have also tried the net use command like this:
net use LPT1 \\computer\printer
this command went successfully, but when I try to print to LPT1,
I get error: unable to initialize device PRN.

A little more info:
Computer is fujitsu-siemens p2510, it doesn't have LPT port (I installed PCI card).
mamocnikAsked:
Who is Participating?
 
mamocnikAuthor Commented:
I found a solution.
It seems that it has somethitng to do with FormFeed.
It looks that if you print from command promt to a network printer, than you are using printer's drivers.
So, to work, you have to do it like this:

1. Share the printer on computer1
2. On printer properties (under ADVANCED tab), make sure that:
  a) "print directly to printer"  option IS NOT enabled!
  b) Under "Print Processor...", you MUST select WINPRINT (left window) and RAW[FF AUTO].
3. On computer that will be using this printer, you than simply link any free lpt port to this network printer, like this:
   NET USE LPT(X) \\COMPUTER\PRINTERSHARE /PERSISTENT:YES

That's it. Now you just use the lpt(x) to print from dos, perhaps like this:
PRINT /D:LPT(X) C:\sometextfile.txt
or
dir *.exe >LPT(x)

VERY helpful in my solution was this link(from bhaskarvasudevan):
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_24069247.html
Thanks, hathehariken.
0
 
mamocnikAuthor Commented:
I forgot (if it means anything) to say that this computer was brought from another company, where it had different IP and different workgroup (not domain).
When I brought it to current location, I fixed Ip addres and workgroup to match other computers.

I also tried the program (from windows tools kit) to delete all printers, all ports. Nothing helped.

I am stumped at this. Has anyone seen this yet?
Thx Matjaz
0
 
hatheharikenCommented:
i dont think it is possible to print to a network printer from DOS.

what drivers are you using?
if using PCL, try to map a local printer using the PS driver set.

cheers!
hathehariken.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
mamocnikAuthor Commented:
Printing from MS-DOS based programs is possible, according to:

http://support.microsoft.com/kb/314499

And I know for a fact that it works, because I used it before.

Besides, doesn't MS-DOS based programs print directly to local port, regardless of driver? If that is correct, than I just have to redirect LPT-->network printer (via net use command).

0
 
mamocnikAuthor Commented:
And I am not printing from DOS, but from winXP command prompt.
Just to clarify.

Thanks for response
0
 
hatheharikenCommented:
theoritically it should be possible, but i am out of my depths.
may be other, more experienced experts will be able to help you out.

cheers!
hathehariken.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.