Q: I have a JetDirect 150x connected to a Windows 2000 server over IPX / SPX. When I say I mean connected to installed. Then the server shares the printer and other machines. The problem is the print queue is always in the correct order and prints jobs in any order. The need to print them in the order they are received. Any ideas?
Best Answer: You're using Java, so what follows is Java's convention.
If you have the following two lines inside a method:
int x;
System.out.println(x);
The code will fail to compile, and the compiler will give an error message saying that "x might not have been initialized" — in other words, the compiler figures out that you didn't assign a value to x.
However, if x is a data member in a class, for instance, then x will default to 0. double defaults to 0.0. I'm not sure what what boolean defaults to. Some people believe that relying on these default values is bad style, and that you should explicitly initialize all your values, but it's really up to you.
As one of the above posters noted, int, double, and boolean are all primitives, so they cannot be null. (Only Objects can be null.) However, note that their wrapper classes (Integer, Double, and Boolean) can be null, since they are objects.
Re:thanks for the responses.
Re:Yeah, they were all on least priority (1). I think it was something to do with the way the HP JetDirect was handling the data. Maybe a TCP/IP and IPX/SPX thing? Who knows, it works now.
Re:Originally posted by: guy:
…The problem is the print queue always goes out of order and prints jobs in no order. It should be printing them in the order they are recieved. Any ideas?Right-click on some of the individual print jobs in the queue and check their Priority. Are they all the same?
Re:I did up date it but no luck. I just put a new linksys print server in. No problems now.
Re:Are you using the latest JetAdmin/Firmware install?
There is a fix for LPD processing when printing to slow printers.
Re:Right now I am thinking that the problem is win2k server. The jobs queue and go out in a random order. What gives?
Re:Has anyone even seen this before?
Re:Do you think the printer server would be the problem? Or do u think the server settings are incorrect. I just installed the printer. I played around with some spooling settings but that didn't fix it.
0 Comments.