Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HELP! Windows NT Printer Access Protocol - Can't UNset PAP EOF!

0 views
Skip to first unread message

feel the burn

unread,
Mar 10, 1999, 3:00:00 AM3/10/99
to

Greetings fellow netizens...

I have an NT printer emulator that opens an Appletalk PAP socket
reads postscript data from the client, and writes large chunks of data
back to the macintosh client. The problem is that the FIRST 4K buffer
written or sent to the socket results in the PAP End of File flag
being set which confuses almost all font downloaders and Postscript
downloaders. My question is this: How do you manipulate the EOF flag
on a PAP socket under windows NT?

Please help if you know the answer! I have a product to ship.

jwa...@cdc.net

thanks

jeff
SpamBait:
Chairman Reed Hundt: rhu...@fcc.gov
Commissioner James Quello: jqu...@fcc.gov
Commissioner Susan Ness: sn...@fcc.gov
Commissioner Rachelle Chong: rch...@fcc.gov

And for the National Organization for Women
n...@now.org

Thomas F. Divine

unread,
Mar 10, 1999, 3:00:00 AM3/10/99
to
The flags field in the send() function controls the PAP EOF flag sent to the
client. All calls to send(0), except the are "partial" messages should have
the MSG_PARTIAL bit set in the flags field. I know, it's backwards from the
way PAP EOF is ordinarily thought of.

Hope this helps,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - TDI Client - Windows 95 Redirector
<http://www.pcausa.com>

feel the burn wrote in message
<27A76DC904A9FE5D.9C612C57...@library-proxy.airnews.ne
t>...

Thomas F. Divine

unread,
Mar 10, 1999, 3:00:00 AM3/10/99
to
Fingers were too fast. Here is a corrected reply:
=================

The flags field in the send() function controls the PAP EOF flag sent to the
client. All calls to send(0), except the *last*, are "partial" messages
*and* should have the MSG_PARTIAL bit set in the flags field. *The last
message sent should have the MSG_PARTIAL flag clear, and the PAP_EOF bit
will be set.*

I know, it's backwards from the way PAP EOF is ordinarily thought of.

Hope this helps,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - TDI Client - Windows 95 Redirector
<http://www.pcausa.com>

0 new messages