TCP/IP printing: How read info back form the printer

Hi all,

I must customize my printer driver (based on UNIDRV architecture) for
printing over a standard TCP/IP port. I would like to use the tcpmon.dll
and works only in my language monitor dll. Can I do that?
CUrrently I can send data to the printer and print correctly, but I am not
able to receive back any info. When I call the ReadPort() function, it
works fine for LPT and USB printing, it return with “The request is not
supported” error.
Any ideas?

Thank you very much in advance for any suggestion,

GG.

Tcpmon does not support the ReadPort function. That is the reason for
your getting the unsupported message. So I guess the answer to your
question is that you cannot use your language monitor with tcpmon.

  • Ashwin

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@cimitaly.it
Sent: Monday, December 01, 2003 3:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] TCP/IP printing: How read info back form the printer

Hi all,

I must customize my printer driver (based on UNIDRV architecture) for
printing over a standard TCP/IP port. I would like to use the tcpmon.dll
and works only in my language monitor dll. Can I do that?
CUrrently I can send data to the printer and print correctly, but I am
not able to receive back any info. When I call the ReadPort() function,
it works fine for LPT and USB printing, it return with “The request is
not supported” error.
Any ideas?

Thank you very much in advance for any suggestion,

GG.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com