Solved

Netware Printing to Windows 2003

Posted on 2007-11-29
11
397 Views
Last Modified: 2008-09-22
Hello
I have an "inhouse" application that is designed to work with Novell Netware print queues. (We do not have the source code)
This application prints reports to a printer connected locally to a PC with nprinter command running.
Now we need to replace Netware with Active Directory (No Netware anymore, :-s), but continue using this application.  
The app works well in Windows server, but we cannot print because the application sends the print job to a queue in our netware server.
Is there any way to redirect these print jobs to a shared printer in Windows?
How could I make it work, since we cannot change the source code (at least until we find the programmer)?
0
Comment
Question by:tsurugi
  • 5
  • 4
11 Comments
 
LVL 35

Expert Comment

by:ShineOn
ID: 20379342
Is it a DOS app?  Do you capture the queue to an LPT port?
0
 

Author Comment

by:tsurugi
ID: 20379745
Hello
It's an app in FoxPro for Windows, and it doesn't capture to an LPT port.
I think it's sending the files directly to a queue of the netware server.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 20379937
It's in FoxPro for Windows and it doesn't even use a Windows printer object?

NetWare 5.1, right?  I suppose you're using IPX because of this app's print queue requirements?   Nprinter doesn't matter much by the way - it's just a way to service the queue and send print to the printer.  Pserver probably would work too, if it's an old dot-matrix or line printer, or a laser printer that uses PJL.  The concern is how the program is getting the output into the queue.

Generally speaking, any app that prints to a NetWare queue does it through either port capture or by defining a special direct-to-NDS-object port within the Windows printing environment, so I'm surprised to hear it has nothing defined on the PC it's running on.

FoxPro runs on the client, regardless of where the database files are stored, so it is running on a pc, not on the server.  There's got to be some evidence - a capture command in the Novell login script or a printer object on the PC to which the stuff spools on its way to the legacy NetWare print queue.
0
 

Author Comment

by:tsurugi
ID: 20395755
I think it does a port capture, but maybe a temporal capture while running the app?
It works with nothing defined in the client.
In the login script there are only drive maps, and the printer used is not "installed" in clients.
I think I'll have to contact the original programmer to help us.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 20397118
If it's doing a capture dynamically, from within the program, you're probably right.  The code would have to be changed to do a NET USE instead of a CAPTURE.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:tsurugi
ID: 20403305
Yes.  But the idea was to redirect this capture to a printer without Netware, and without having to modify the code.  Maybe a 3rd party tool, or something.  Anyway, I could contact the programmer and he's willing to help us.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 20405542
I understand what the idea was, but if the program is issuing a NetWare CAPTURE command, it will not work unless you're connecting to NetWare on the back end and have a Novell client (or the crapware(tm) client that comes with Windows) installed.

Windows Server 2003 does not have the old FPNW service that NT and 2000 Server did, so you can't make your Windows 2003 server act like a NetWare 3 server any more.  That's the only thing in a windows-only environment that would have fooled the program/client into thinking that there was a traditional NetWare queue available that could be captured using the CAPTURE command.

Since Windows does not natively support the CAPTURE command, but uses the old LanMan Server "NET USE" command, the program will have to change.

I was hoping the program used an LPT port that was captured in a login script.  You could've worked around that by using NET USE with persistence.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 20405583
Of course, if you wanted to, you could write a program that issues NET USE based on the command-line string it receives, and call it "capture.exe."   Hmm.  I wonder if some enterprising Windows admin did that once upon a time...  I know that NetWare admins would do that kind of thing on the "other side of the aisle..."
0
 

Author Comment

by:tsurugi
ID: 21109404
After all, I contacted the original programmer and he made the modifications in the code.
It's working fine now.
Thank you.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 22544706
PAQed with points refunded (350)

Computer101
EE Admin
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Learn about cloud computing and its benefits for small business owners.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now