[英]Internet Printing Protocol (IPP) get-server-version request?
I am writing a python IPP( Internet Printing Protocol) server. 我正在编写一个python IPP(Internet打印协议)服务器。
If the client send a get-server-version request, how does the server response? 如果客户端发送get-server-version请求,服务器如何响应?
What is the format? 格式是什么? Any document describes this? 有文件描述吗?
thanks. 谢谢。
There is no get-server-version
request operation defined in ipp. 在ipp中没有定义get-server-version
请求操作。 Ipp clients usually check the printer using the operation GET_PRINTER_ATTRIBUTES (0x000B)
and get an ipp encoded response like this (attributes already decoded): Ipp客户端通常使用GET_PRINTER_ATTRIBUTES (0x000B)
操作检查打印机,并获得如下GET_PRINTER_ATTRIBUTES (0x000B)
编码的响应(属性已解码):
ipp-versions-supported = [1.0, 1.1, 2.0]
printer-state = 3 {idle}
printer-state-reasons = toner-low-warning
printer-make-and-model = HP LaserJet 100 colorMFP M175nw
printer-info = HP LaserJet 100 colorMFP M175nw
printer-more-info = http://www.hp.com
...
For a reference starting point look into RFC 2911 Section 3.2.5.2 Get-Printer-Attributes Response, Group 3: Printer Object Attributes and Section 4.3 Printer Description Attributes. 作为参考起点,请参阅RFC 2911第3.2.5.2节“获取打印机属性”响应,第3组:打印机对象属性和第4.3节“打印机描述属性”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.