IPP print - csharp gurus

J

J M

How do I go about writing HttpWebRequest to get IPP printer status request
from remote printer? I have been running ippprint utility but it's not
working across proxy servers so I have to write up my own monitoring tool:

I guess here is HTTP send and receive from local print server?

C:\TEMP\IPP>ippprint -v -s -p http://192.168.1.200:631/ipp/port1 test.1
Sending file test.1
About to send the following request:

Message contents
Version=0x100
operation id/status code=2 (0x2) Print-Job
request id=100 (0x64)
Attributes
Attrs group: Op
charset: attributes-charset: utf-8
naturalLanguage: attributes-natural-language: en-us
uri: printer-uri: http://192.168.1.200:631/ipp/port1
name: job-name: ippprint document
name: document-name: ippprint document
name: requesting-user-name: ippprint user
mimeMediaType: document-format: text/plain


Print job successfully submitted. Response status code: 0
Received the following response from IPP printer:

Message contents
Version=0x100
operation id/status code=0 (0x0) successful-OK
request id=100 (0x64)
Attributes
Attrs group: Op
charset: attributes-charset: utf-8
naturalLanguage: attributes-natural-language: en-us

Attrs group: Job0
uri: job-uri: /ipp/port1/job-3303
integer: job-id: 3303
enum: job-state: 9
=======================================

Sample code would be greatly appriciated for startup.

TIA!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top