WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

n4CapturePrt

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

n4CapturePrt Works Until Someone Prints

Keywords:    n4CapturePrt

Question:

When using n4CapturePrt it seems to work fine it captures the lpt port with the correct queue and settings. Capture /sh shows the new captured queue and also W95 displays the correct queue name in the printer settings. The problem is when you print it still reverts back to the orginal print queue. And yes I'm using the correct default printer..

The funny thing is that when you pipe a file in a dos box to the lpt port it works perfectly.

We are running Netware Client 32 / Win95.

This is the original port assignment in the printer properties..


LPT1: (\\PW\.SYD13W05.TAX.SYDN.AUST)
This is what it looks like after my winbatch code is run:

 LPT1: (\\PW\.SYD5AN01.TAX.SYDN.AUST)
Note: Printer is defaulted to LPT1 and the original capture is carried out by the login script..

This is part of the code..


objects = n4ObjectList("TAX.SYDN.AUST", "", "Queue", "")
queue = askitemlist("Queues in current context", objects, @TAB, @sorted,@single)
 n4CapturePrt("\\Sydn-04","%queue%.TAX",1,"")

Answer:

A user reported the following:

We have been trying to use Novell's client32 with Win95 also.

If you go to Novell's Knowledge Base you'll discover that they are being inundated by printer problems.

Our particular problem was NetWare telling us that lpt1 didn't exist when trying to print from the network, yet we could print without problem from Windows 95 (in this case we were using rprint).

My point is: Check Novell Client32 before going off in another direction. It may save you some serious head banging.

For more articles about this issue, see:


http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Printing~Information+Capturing~Printer~Port.txt 

Question on n4CapturePrt and Ports other than LPT Ports:

Can I do a capture port in WINNT? How do I assign the port number parameter if it is other than an lpt port?

Answer:

n4CapturePrt only captures the lpt ports....
Article ID:   W13620
Filename:   n4CapturePrt Works until Someone Prints.txt
File Created: 2017:08:29:11:51:04
Last Updated: 2017:08:29:11:51:04