Win98 Client of 64-bit XP Pro Shared Printer Goes Offline

Win32 Programming


  • 1. certificate and smartcard
    Hi, I am currently working on a project using smartcards for authentication. Everything work fine but I have to automate the process and I wonder if you can advise me. Here is the list of the tasks I would like to automate : * Generate a user certificate * Copy this certificate on the smartcard * 'DUMP' smartcard data (serial number, ... so I will be able to store the data in a database for admin purpose) * copy the user certificate in the AD account (certificate mapping). I you can advise me that would be great. Best regards FE
  • 2. Network Adapter
    Does anybody knows how I can create new network adapter with WMI ( VBScript or C++) I found lot of examples how to read values and maybe update existing instance but no one how to create new network adapter on maschine !! Please HELP !!!
  • 3. How to programmatically change the interface metric
    Hi, I'm trying to achieve some routing table changes in Windows 2000 (or later). The modifications requires some route additions and the modification of default interface metric (by default is 1 on my Win2k machine). I managed to add/delete/modify specific routes using IPHLPAPI, by I was out of luck with the interface metric (not gateway metric!) for an Ethernet NIC. Do you happen to know some kind of technique (API, Registry manipulation) to change that interface metric? If not, I suppose the only possibility is to show the Connection Properties dialog corresponding to the specified adapter and then play with SendInput/SendMessage to the dialogs/controls. Thank you, Dragos
  • 4. WSAECONNABORTED and Standby/Suspend
    I've noticed on WinXP that when I leave a TCP/IP connection open (e.g. telnet, ssh) on my laptop, when it goes idle and enters standby or suspend state, the connection is aborted when I wake it back up. I don't recall this occurring on my Win98 laptop, and it's rather annoying. Since it's an unclean connection shutdown, my connections still exist on the server. Anyone know how to configure things to prevent this Abort from occurring, so that I can continue to use my terminal sessions immediately on wakeup? It's not related to any application timeouts or keepalive messages; I have those turned off in my TCP clients.
  • 5. getaddrinfo vs gethostbyname
    I am adding support to my application for IP V6 and have followed the programming guidelines from Microsoft. I replaced the call to 'gethostbyname' to 'getaddrinfo'. The problem is that getaddrinfo doesn't seem to do what gethostbyname does. When I call gethostbyname with the a NULL parameter, I get back a list of all IP V4 address on my machine. Example: However, whenever I call getaddrinfo with the parms below (and I tried other parms), I only seem to get a loopback address. Hints.ai_family = PF_INET6; Hints.ai_socktype = SOCK_STREAM; Hints.ai_flags = AI_NUMERICHOST | AI_PASSIVE; rc = getaddrinfo( NULL, szListenPort6, &Hints, &AddrInfo); I want to listen on specific addresses for my service and I don't seem to be able to enumerate addresses for IP V6 to do this. I used GetAdaptersAddresses to get the real addresses but never seem to be able to connect using those addresses. All help is greatly appreciated. Pierre

Win98 Client of 64-bit XP Pro Shared Printer Goes Offline

Postby Kevin » Thu, 11 May 2006 04:38:42 GMT

After printing from Windows 98 to a \\machine\sharename shared printer on a
Windows XP Pro 64-bit system, the printer icon in Windows 98 gets grayed-out
and says "Printer Offline - User Intervention Required".

The printer is not actually offline, it has no paper jam, it can be printed
to from the XP Pro 64-bit system.

I can uncheck the Printer Offline on the Windows 98 machine, but if I print
to it again, it goes offline.

I can share the same kind of printer from a XP Pro 32-bit system, and there
is no problem.

We did an Ethereal capture of Win98 -> XP64 and Win98 -> XP32, and saw that
a LANMAN request was getting a Status Code 59 response from the 64-bit
system, but the 32-bit system was giving a Status Code 0 response.

Why would the 64-bit Windows respond with Status Code 59?

Where can I get information on how LANMAN interfaces with the printer
spooler and such?

Thank you.

Re: Win98 Client of 64-bit XP Pro Shared Printer Goes Offline

Postby Kevin » Fri, 12 May 2006 08:09:08 GMT

1) On XP Pro x64, install the Generic / Text Only printer to the NUL: port
2) From XP Pro x64, share this Generic / Text Only printer
3) On Windows 98, add a new Network printer, point to the XP Pro x64 shared
4) On Windows 98, use the Generic / Text Only printer driver
5) On Windows 98, using Notepad, print a few characters a few times to the
shared printer on XP Pro x64
6) The Windows 98 printer-icon will go grayed-out and show "User
Intervention Required"
7) The LANMAN response from the XP Pro x64 shows 0x59 (An unexpected network
error occurred.)

The problem has not been observed between Windows 98 and XP32.


Similar Threads:

1.Sharing printer drivers to Windows XP Pro 64-bit clients

Yes, it is one of the Additional Drivers options available on the Sharing

Doug Sherman

"DanE" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...
> I have a couple of Windows XP pro 64-bit clients and I want them to access
> the network printers that are shared off of a Windows 2003 Server.  Has
> anyone been successfully installing 64-bit drivers onto Windows 2003
> -Dan

2.Share printer Vista Ultimate 64 computer with XP Pro 32 bit

I have  the following:

Compaq with AMD 64 Dual Core
HP 1320 laserjet

Compaq with P4

Both computers 'see' each other just fine. HP 64 bit driver works fine on 
Vista machine.

But when I share the printer and try to install 'additional' drivers for XP 
32 bit drivers, Vista says that the 32 bit drivers are not correct for this 
machine. Which is correct, but I only want the 32 bit drivers there for the 
XP machines which will use the shared printer.

What am I missing here.


Al xp pro 32-bit pc can't access files in win xp pro 64-bit pc

Hello! The 2 problems are: 1) win xp pro 32-bit pc can see the win xp pro 
64-bit folders in the network but cannot access the files instead asks for 
log-on name and password (which I never set up); 2) Can't access the printer 
attached to the 64-bit xp. I got everything setup properly: shared the 
folders and files in the permission, shared the printer attached to the 
64-bit xp. I can access all the shared folders and files in the 32-bit xp 
from the 64-bit xp. The question is: why is the 32-bit xp is asking for 
log-on name and password when accessing the files? Thanks in advance for any 
help or leads. xp pro 32-bit pc can't access files in win xp pro 64-bit p

5.using 32-bit flash java with 64 bit IE on a 64 bit system

Color me doubly embarrassed.  Not only did I have the memory lapse noted
below, but I missed a few letters in the subject line of my original post.
Anyway, I remember having found a thread describing a 
way to make 32-bit java (or maybe Flash) work in 64-bit Internet 
Explorer. (Vista Home Premium system)  The process was simple, just 
copy a couple files into a different directory. I followed the 
instructions, and it worked.  Now I'm thinking of uninstalling those 
files, and I can't find the thread to know what I copied where.  Anyone 
out there recall the discussion and description of what was copied 

Thanks in advance.

6. XP Pro clients see the shared printer offline

7. Windows Vista 64-bit Canon Pixma IP2600 fails to install correctly even with 64-bit driver

8. 32-bit verses 64-bit printer drivers

Return to Win32 Programming


Who is online

Users browsing this forum: No registered users and 94 guest