Re: AppleTalk/OpenTransport MacOS X Problem
Re: AppleTalk/OpenTransport MacOS X Problem
- Subject: Re: AppleTalk/OpenTransport MacOS X Problem
- From: David Burgun <email@hidden>
- Date: Wed, 8 Oct 2003 11:47:39 +0100
Yes, it's using PAP.
I really don't know that much about OT and I've just started on this
project so it's all quite new to me, it's just that I'm the only Mac
engineer here and am important customer has reported this bug.
The App is running on OS 9, on OS X we just use a standard app
(iPhoto, Photoshop etc) to print to the "printer". The Application is
MacOS 9 only at present (we are in the process of carbonizing it now)
and it has been installed on the MacOS 9 side. I'm guessing that the
printer drivers that are installed are picking up the print request
which then converts the data to a PDF and sends it to the "Printer".
It all works fine except that I don't get the T_MORE bit set to 0.
Also from the code, I have found this comment:
// the proper way to detect the end of a file is to look for
// the EOF flag at the end of the file.
// It also appears that looking for the T_MORE flag to be clear
// is not a reliable way to detect the end of a file.
// When a status request is sent by the client that is sending
// data, the T_MORE flag appears to be cleared for the incoming
// packet.
//???Don - This needs doing but doesn't seem to cause a problem
So it looks like someone thought about this in the past.
If I manually force the bit to 0 in the debugger, the file gets processed ok.
Thanks for your time, All the Best
Dave
At 10:58 +0100 8/10/03, David Burgun wrote:
I am working on an application that acts as a "printer" over an
AppleTalk network. The user prints from one machine on the network
and the other running the application, receives the print data and
stores it in a file.
What protocol are you using? Your mention of AppleTalk implies PAP,
but Open Transport on Mac OS X has no PAP implementation (unless
you're running your app inside Classic on Mac OS X).
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.