UNPKG
ipp
Version:
latest (2.0.1)
2.0.1
2.0.0
1.1.0
1.0.1
1.0.0
0.0.8
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
Internet Printing Protocol (IPP) for nodejs
github.com/williamkapke/ipp
williamkapke/ipp
ipp
/
examples
/
Get-Printer-Attributes.js
8 lines
(6 loc)
•
220 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
ipp =
require
(
'./../ipp'
);
var
id =
0x0123
;
//made up reqid
var
printer = ipp.
Printer
(
"http://cp02.local.:631/ipp/printer"
); printer.
execute
(
"Get-Printer-Attributes"
,
null
,
function
(
err, res
){
console
.
log
(res); });