manuc66 / node-hp-scan-to Goto Github PK
View Code? Open in Web Editor NEWAllow to send scan from device to computer for some HP All-in-One Printers - Scan to computer
Home Page: https://manuc66.github.io/node-hp-scan-to/
License: MIT License
Allow to send scan from device to computer for some HP All-in-One Printers - Scan to computer
Home Page: https://manuc66.github.io/node-hp-scan-to/
License: MIT License
Describe the bug
Device: HP OfficeJet Pro 8022e
Command line or Docker : Docker
Hello! I have just bought an HP OfficeJet Pro 8022e for replacing my old printer which I tried to debug with you here (thanks for the help at that time!) :)
I am glad to say node-hp-scan-to definitely works with this model, but I am finding an issue which seems to be related to the docker image: if the printer is not on or it is turned off, the docker container proceeds to shut down.
I am attaching the log output in case it helps. Thanks in advance!
2022-11-04T19:22:24.761616611Z s6-rc: info: service s6rc-oneshot-runner: starting
2022-11-04T19:22:24.769177111Z s6-rc: info: service s6rc-oneshot-runner successfully started
2022-11-04T19:22:24.769345105Z s6-rc: info: service fix-attrs: starting
2022-11-04T19:22:24.777207258Z s6-rc: info: service fix-attrs successfully started
2022-11-04T19:22:24.777372661Z s6-rc: info: service legacy-cont-init: starting
2022-11-04T19:22:24.781005611Z cont-init: info: running /etc/cont-init.d/10-adduser
2022-11-04T19:22:24.807590385Z usermod: no changes
2022-11-04T19:22:24.809629236Z
2022-11-04T19:22:24.809778503Z User uid: [removed]
2022-11-04T19:22:24.809839790Z User gid: [removed]
2022-11-04T19:22:24.809880950Z -------------------------------------
2022-11-04T19:22:24.809917653Z
2022-11-04T19:22:24.937904921Z cont-init: info: /etc/cont-init.d/10-adduser exited 0
2022-11-04T19:22:24.938854135Z s6-rc: info: service legacy-cont-init successfully started
2022-11-04T19:22:24.939572569Z s6-rc: info: service legacy-services: starting
2022-11-04T19:22:24.946416886Z s6-rc: info: service legacy-services successfully started
2022-11-04T19:22:24.951205279Z Starting
2022-11-04T19:22:25.211430241Z WARNING: NODE_ENV value of 'debug' did not match any deployment config file names.
2022-11-04T19:22:25.213228783Z WARNING: See https://github.com/node-config/node-config/wiki/Strict-Mode
2022-11-04T19:22:25.213625829Z WARNING: No configurations found in configuration directory:/app/config
2022-11-04T19:22:25.213820206Z WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
2022-11-04T19:22:25.465248325Z Using device ip: [removed]
2022-11-04T19:22:25.467959028Z Target folder: /scan
2022-11-04T19:22:25.470395328Z Temp folder: /tmp/scan-to-pcBNCdKd
2022-11-04T19:22:28.504069922Z
2022-11-04T19:22:28.504580882Z /app/node_modules/axios/dist/node/axios.cjs:725
2022-11-04T19:22:28.504648794Z AxiosError.call(axiosError, error.message, code, config, request, response);
2022-11-04T19:22:28.504700444Z ^
2022-11-04T19:22:28.525395425Z AxiosError: connect EHOSTUNREACH 192.168.1.24:80
2022-11-04T19:22:28.525555805Z at AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:725:14)
2022-11-04T19:22:28.525614172Z at RedirectableRequest.handleRequestError (/app/node_modules/axios/dist/node/axios.cjs:2467:25)
2022-11-04T19:22:28.525669357Z at RedirectableRequest.emit (node:events:513:28)
2022-11-04T19:22:28.525717310Z at eventHandlers.<computed> (/app/node_modules/follow-redirects/index.js:14:24)
2022-11-04T19:22:28.525770767Z at ClientRequest.emit (node:events:513:28)
2022-11-04T19:22:28.525813451Z at Socket.socketErrorListener (node:_http_client:494:9)
2022-11-04T19:22:28.525858149Z at Socket.emit (node:events:513:28)
2022-11-04T19:22:28.525898307Z at emitErrorNT (node:internal/streams/destroy:151:8)
2022-11-04T19:22:28.525944301Z at emitErrorCloseNT (node:internal/streams/destroy:116:3)
2022-11-04T19:22:28.526015593Z at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2022-11-04T19:22:28.526065637Z port: 80,
2022-11-04T19:22:28.526234244Z address: '[removed]',
2022-11-04T19:22:28.526278978Z syscall: 'connect',
2022-11-04T19:22:28.526319679Z code: 'EHOSTUNREACH',
2022-11-04T19:22:28.526360348Z errno: -113,
2022-11-04T19:22:28.526400061Z config: {
2022-11-04T19:22:28.526435688Z transitional: {
2022-11-04T19:22:28.526472453Z silentJSONParsing: true,
2022-11-04T19:22:28.526511277Z forcedJSONParsing: true,
2022-11-04T19:22:28.526549781Z clarifyTimeoutError: false
2022-11-04T19:22:28.526590545Z },
2022-11-04T19:22:28.526624432Z adapter: [Function: httpAdapter],
2022-11-04T19:22:28.526665522Z transformRequest: [ [Function: transformRequest] ],
2022-11-04T19:22:28.526706663Z transformResponse: [ [Function: transformResponse] ],
2022-11-04T19:22:28.526749251Z timeout: 0,
2022-11-04T19:22:28.526788206Z xsrfCookieName: 'XSRF-TOKEN',
2022-11-04T19:22:28.526829069Z xsrfHeaderName: 'X-XSRF-TOKEN',
2022-11-04T19:22:28.526870033Z maxContentLength: -1,
2022-11-04T19:22:28.526911501Z maxBodyLength: -1,
2022-11-04T19:22:28.526950639Z env: {
2022-11-04T19:22:28.527002642Z FormData: [Function: FormData] {
2022-11-04T19:22:28.527042288Z LINE_BREAK: '\r\n',
2022-11-04T19:22:28.527084064Z DEFAULT_CONTENT_TYPE: 'application/octet-stream'
2022-11-04T19:22:28.527127870Z },
2022-11-04T19:22:28.527162384Z Blob: [class Blob]
2022-11-04T19:22:28.527204129Z },
2022-11-04T19:22:28.527238306Z validateStatus: [Function: validateStatus],
2022-11-04T19:22:28.527279207Z headers: AxiosHeaders {
2022-11-04T19:22:28.527317325Z 'User-Agent': 'axios/1.1.3',
2022-11-04T19:22:28.527359404Z 'Accept-Encoding': 'gzip, deflate, br',
2022-11-04T19:22:28.527407623Z [Symbol(defaults)]: { Accept: 'application/json, text/plain, */*' }
2022-11-04T19:22:28.527453989Z },
2022-11-04T19:22:28.527490589Z baseURL: 'http://[removed]',
2022-11-04T19:22:28.527533075Z url: '/DevMgmt/DiscoveryTree.xml',
2022-11-04T19:22:28.527577831Z method: 'get',
2022-11-04T19:22:28.527618204Z responseType: 'text',
2022-11-04T19:22:28.527657300Z data: undefined
2022-11-04T19:22:28.527706086Z },
2022-11-04T19:22:28.527740635Z request: <ref *2> Writable {
2022-11-04T19:22:28.527782217Z _writableState: WritableState {
2022-11-04T19:22:28.527820054Z objectMode: false,
2022-11-04T19:22:28.527858993Z highWaterMark: 16384,
2022-11-04T19:22:28.527898798Z finalCalled: false,
2022-11-04T19:22:28.527938219Z needDrain: false,
2022-11-04T19:22:28.528143246Z ending: false,
2022-11-04T19:22:28.528205880Z ended: false,
2022-11-04T19:22:28.528246062Z finished: false,
2022-11-04T19:22:28.528301142Z destroyed: false,
2022-11-04T19:22:28.528354732Z decodeStrings: true,
2022-11-04T19:22:28.528400907Z defaultEncoding: 'utf8',
2022-11-04T19:22:28.528456043Z length: 0,
2022-11-04T19:22:28.528507097Z writing: false,
2022-11-04T19:22:28.528547613Z corked: 0,
2022-11-04T19:22:28.528598445Z sync: true,
2022-11-04T19:22:28.528637727Z bufferProcessing: false,
2022-11-04T19:22:28.528691264Z onwrite: [Function: bound onwrite],
2022-11-04T19:22:28.528747658Z writecb: null,
2022-11-04T19:22:28.528787879Z writelen: 0,
2022-11-04T19:22:28.528841061Z afterWriteTickInfo: null,
2022-11-04T19:22:28.528892653Z buffered: [],
2022-11-04T19:22:28.528930803Z bufferedIndex: 0,
2022-11-04T19:22:28.528992920Z allBuffers: true,
2022-11-04T19:22:28.529045719Z allNoop: true,
2022-11-04T19:22:28.529085596Z pendingcb: 0,
2022-11-04T19:22:28.529135585Z constructed: true,
2022-11-04T19:22:28.529175304Z prefinished: false,
2022-11-04T19:22:28.529229151Z errorEmitted: false,
2022-11-04T19:22:28.529282308Z emitClose: true,
2022-11-04T19:22:28.529324057Z autoDestroy: true,
2022-11-04T19:22:28.529376246Z errored: null,
2022-11-04T19:22:28.529425278Z closed: false,
2022-11-04T19:22:28.529466451Z closeEmitted: false,
2022-11-04T19:22:28.529517009Z [Symbol(kOnFinished)]: []
2022-11-04T19:22:28.529557711Z },
2022-11-04T19:22:28.529607212Z _events: [Object: null prototype] {
2022-11-04T19:22:28.529752132Z response: [Function: handleResponse],
2022-11-04T19:22:28.529798036Z error: [Function: handleRequestError],
2022-11-04T19:22:28.529851778Z socket: [Function: handleRequestSocket]
2022-11-04T19:22:28.529905696Z },
2022-11-04T19:22:28.529941505Z _eventsCount: 3,
2022-11-04T19:22:28.529998078Z _maxListeners: undefined,
2022-11-04T19:22:28.530050890Z _options: {
2022-11-04T19:22:28.530088746Z maxRedirects: 21,
2022-11-04T19:22:28.530139677Z maxBodyLength: Infinity,
2022-11-04T19:22:28.530180146Z protocol: 'http:',
2022-11-04T19:22:28.530233370Z path: '/DevMgmt/DiscoveryTree.xml',
2022-11-04T19:22:28.530287598Z method: 'GET',
2022-11-04T19:22:28.530329227Z headers: [Object: null prototype] {
2022-11-04T19:22:28.530383843Z Accept: 'application/json, text/plain, */*',
2022-11-04T19:22:28.530438723Z 'User-Agent': 'axios/1.1.3',
2022-11-04T19:22:28.530483096Z 'Accept-Encoding': 'gzip, deflate, br'
2022-11-04T19:22:28.530538132Z },
2022-11-04T19:22:28.530572854Z agents: { http: undefined, https: undefined },
2022-11-04T19:22:28.530626015Z auth: undefined,
2022-11-04T19:22:28.530676729Z beforeRedirect: [Function: dispatchBeforeRedirect],
2022-11-04T19:22:28.530719559Z beforeRedirects: { proxy: [Function: beforeRedirect] },
2022-11-04T19:22:28.530780608Z hostname: '[removed]',
2022-11-04T19:22:28.530834222Z port: '',
2022-11-04T19:22:28.530874981Z agent: undefined,
2022-11-04T19:22:28.530925710Z nativeProtocols: {
2022-11-04T19:22:28.530981969Z 'http:': {
2022-11-04T19:22:28.531025463Z _connectionListener: [Function: connectionListener],
2022-11-04T19:22:28.531080662Z METHODS: [
2022-11-04T19:22:28.531128651Z 'ACL', 'BIND', 'CHECKOUT',
2022-11-04T19:22:28.531175023Z 'CONNECT', 'COPY', 'DELETE',
2022-11-04T19:22:28.531230377Z 'GET', 'HEAD', 'LINK',
2022-11-04T19:22:28.531288164Z 'LOCK', 'M-SEARCH', 'MERGE',
2022-11-04T19:22:28.531334519Z 'MKACTIVITY', 'MKCALENDAR', 'MKCOL',
2022-11-04T19:22:28.531391738Z 'MOVE', 'NOTIFY', 'OPTIONS',
2022-11-04T19:22:28.531450529Z 'PATCH', 'POST', 'PROPFIND',
2022-11-04T19:22:28.531494971Z 'PROPPATCH', 'PURGE', 'PUT',
2022-11-04T19:22:28.531552622Z 'REBIND', 'REPORT', 'SEARCH',
2022-11-04T19:22:28.531607616Z 'SOURCE', 'SUBSCRIBE', 'TRACE',
2022-11-04T19:22:28.531664281Z 'UNBIND', 'UNLINK', 'UNLOCK',
2022-11-04T19:22:28.531710065Z 'UNSUBSCRIBE'
2022-11-04T19:22:28.531761249Z ],
2022-11-04T19:22:28.531796470Z STATUS_CODES: {
2022-11-04T19:22:28.531844637Z '100': 'Continue',
2022-11-04T19:22:28.531895576Z '101': 'Switching Protocols',
2022-11-04T19:22:28.531940125Z '102': 'Processing',
2022-11-04T19:22:28.532011467Z '103': 'Early Hints',
2022-11-04T19:22:28.532054753Z '200': 'OK',
2022-11-04T19:22:28.532107800Z '201': 'Created',
2022-11-04T19:22:28.532151879Z '202': 'Accepted',
2022-11-04T19:22:28.532207294Z '203': 'Non-Authoritative Information',
2022-11-04T19:22:28.532251637Z '204': 'No Content',
2022-11-04T19:22:28.532303306Z '205': 'Reset Content',
2022-11-04T19:22:28.532347690Z '206': 'Partial Content',
2022-11-04T19:22:28.532389205Z '207': 'Multi-Status',
2022-11-04T19:22:28.532430734Z '208': 'Already Reported',
2022-11-04T19:22:28.532472601Z '226': 'IM Used',
2022-11-04T19:22:28.532553517Z '300': 'Multiple Choices',
2022-11-04T19:22:28.532597856Z '301': 'Moved Permanently',
2022-11-04T19:22:28.532640394Z '302': 'Found',
2022-11-04T19:22:28.532684099Z '303': 'See Other',
2022-11-04T19:22:28.532725446Z '304': 'Not Modified',
2022-11-04T19:22:28.532768648Z '305': 'Use Proxy',
2022-11-04T19:22:28.532811201Z '307': 'Temporary Redirect',
2022-11-04T19:22:28.532853967Z '308': 'Permanent Redirect',
2022-11-04T19:22:28.532909147Z '400': 'Bad Request',
2022-11-04T19:22:28.532952382Z '401': 'Unauthorized',
2022-11-04T19:22:28.533003467Z '402': 'Payment Required',
2022-11-04T19:22:28.533046828Z '403': 'Forbidden',
2022-11-04T19:22:28.533087843Z '404': 'Not Found',
2022-11-04T19:22:28.533127628Z '405': 'Method Not Allowed',
2022-11-04T19:22:28.533168454Z '406': 'Not Acceptable',
2022-11-04T19:22:28.533208958Z '407': 'Proxy Authentication Required',
2022-11-04T19:22:28.533253158Z '408': 'Request Timeout',
2022-11-04T19:22:28.533293398Z '409': 'Conflict',
2022-11-04T19:22:28.533333211Z '410': 'Gone',
2022-11-04T19:22:28.533373074Z '411': 'Length Required',
2022-11-04T19:22:28.533413924Z '412': 'Precondition Failed',
2022-11-04T19:22:28.533455329Z '413': 'Payload Too Large',
2022-11-04T19:22:28.533499974Z '414': 'URI Too Long',
2022-11-04T19:22:28.533541531Z '415': 'Unsupported Media Type',
2022-11-04T19:22:28.533595539Z '416': 'Range Not Satisfiable',
2022-11-04T19:22:28.533642480Z '417': 'Expectation Failed',
2022-11-04T19:22:28.533697229Z '418': "I'm a Teapot",
2022-11-04T19:22:28.533741842Z '421': 'Misdirected Request',
2022-11-04T19:22:28.533783726Z '422': 'Unprocessable Entity',
2022-11-04T19:22:28.533824884Z '423': 'Locked',
2022-11-04T19:22:28.533864641Z '424': 'Failed Dependency',
2022-11-04T19:22:28.533908453Z '425': 'Too Early',
2022-11-04T19:22:28.533949146Z '426': 'Upgrade Required',
2022-11-04T19:22:28.534008496Z '428': 'Precondition Required',
2022-11-04T19:22:28.534050968Z '429': 'Too Many Requests',
2022-11-04T19:22:28.534094998Z '431': 'Request Header Fields Too Large',
2022-11-04T19:22:28.534138317Z '451': 'Unavailable For Legal Reasons',
2022-11-04T19:22:28.534181260Z '500': 'Internal Server Error',
2022-11-04T19:22:28.534223014Z '501': 'Not Implemented',
2022-11-04T19:22:28.534264918Z '502': 'Bad Gateway',
2022-11-04T19:22:28.534304954Z '503': 'Service Unavailable',
2022-11-04T19:22:28.534348101Z '504': 'Gateway Timeout',
2022-11-04T19:22:28.534388218Z '505': 'HTTP Version Not Supported',
2022-11-04T19:22:28.534433286Z '506': 'Variant Also Negotiates',
2022-11-04T19:22:28.534476314Z '507': 'Insufficient Storage',
2022-11-04T19:22:28.534519600Z '508': 'Loop Detected',
2022-11-04T19:22:28.534560844Z '509': 'Bandwidth Limit Exceeded',
2022-11-04T19:22:28.534603136Z '510': 'Not Extended',
2022-11-04T19:22:28.534643481Z '511': 'Network Authentication Required'
2022-11-04T19:22:28.534685249Z },
2022-11-04T19:22:28.534719873Z Agent: [Function: Agent] { defaultMaxSockets: Infinity },
2022-11-04T19:22:28.534761408Z ClientRequest: [Function: ClientRequest],
2022-11-04T19:22:28.534801186Z IncomingMessage: [Function: IncomingMessage],
2022-11-04T19:22:28.534841095Z OutgoingMessage: [Function: OutgoingMessage],
2022-11-04T19:22:28.534880995Z Server: [Function: Server],
2022-11-04T19:22:28.534919478Z ServerResponse: [Function: ServerResponse],
2022-11-04T19:22:28.534985490Z createServer: [Function: createServer],
2022-11-04T19:22:28.535027265Z validateHeaderName: [Function: __node_internal_],
2022-11-04T19:22:28.535071855Z validateHeaderValue: [Function: __node_internal_],
2022-11-04T19:22:28.535114122Z get: [Function: get],
2022-11-04T19:22:28.535152870Z request: [Function: request],
2022-11-04T19:22:28.535192991Z setMaxIdleHTTPParsers: [Function: setMaxIdleHTTPParsers],
2022-11-04T19:22:28.535233389Z maxHeaderSize: [Getter],
2022-11-04T19:22:28.535272616Z globalAgent: [Getter/Setter]
2022-11-04T19:22:28.535312201Z },
2022-11-04T19:22:28.535347226Z 'https:': {
2022-11-04T19:22:28.535384435Z Agent: [Function: Agent],
2022-11-04T19:22:28.535424660Z globalAgent: Agent {
2022-11-04T19:22:28.535461186Z _events: [Object: null prototype],
2022-11-04T19:22:28.535499998Z _eventsCount: 2,
2022-11-04T19:22:28.535537626Z _maxListeners: undefined,
2022-11-04T19:22:28.535575255Z defaultPort: 443,
2022-11-04T19:22:28.535613785Z protocol: 'https:',
2022-11-04T19:22:28.535652782Z options: [Object: null prototype],
2022-11-04T19:22:28.535692431Z requests: [Object: null prototype] {},
2022-11-04T19:22:28.535731897Z sockets: [Object: null prototype] {},
2022-11-04T19:22:28.535769457Z freeSockets: [Object: null prototype] {},
2022-11-04T19:22:28.535807995Z keepAliveMsecs: 1000,
2022-11-04T19:22:28.535847983Z keepAlive: false,
2022-11-04T19:22:28.535888380Z maxSockets: Infinity,
2022-11-04T19:22:28.535926712Z maxFreeSockets: 256,
2022-11-04T19:22:28.535979040Z scheduling: 'lifo',
2022-11-04T19:22:28.536023167Z maxTotalSockets: Infinity,
2022-11-04T19:22:28.536062061Z totalSocketCount: 0,
2022-11-04T19:22:28.536100490Z maxCachedSessions: 100,
2022-11-04T19:22:28.536139449Z _sessionCache: [Object],
2022-11-04T19:22:28.536179591Z [Symbol(kCapture)]: false
2022-11-04T19:22:28.536219318Z },
2022-11-04T19:22:28.536253399Z Server: [Function: Server],
2022-11-04T19:22:28.536292414Z createServer: [Function: createServer],
2022-11-04T19:22:28.536335654Z get: [Function: get],
2022-11-04T19:22:28.536374390Z request: [Function: request]
2022-11-04T19:22:28.536414393Z }
2022-11-04T19:22:28.536447942Z },
2022-11-04T19:22:28.536481790Z pathname: '/DevMgmt/DiscoveryTree.xml'
2022-11-04T19:22:28.536523687Z },
2022-11-04T19:22:28.536557901Z _ended: true,
2022-11-04T19:22:28.536594806Z _ending: true,
2022-11-04T19:22:28.536633106Z _redirectCount: 0,
2022-11-04T19:22:28.536672041Z _redirects: [],
2022-11-04T19:22:28.536707697Z _requestBodyLength: 0,
2022-11-04T19:22:28.536744582Z _requestBodyBuffers: [],
2022-11-04T19:22:28.536780457Z _onNativeResponse: [Function (anonymous)],
2022-11-04T19:22:28.536821098Z _currentRequest: <ref *1> ClientRequest {
2022-11-04T19:22:28.536861984Z _events: [Object: null prototype] {
2022-11-04T19:22:28.536898852Z response: [Function: bound onceWrapper] {
2022-11-04T19:22:28.536937993Z listener: [Function (anonymous)]
2022-11-04T19:22:28.536986886Z },
2022-11-04T19:22:28.537022343Z abort: [Function (anonymous)],
2022-11-04T19:22:28.537063182Z aborted: [Function (anonymous)],
2022-11-04T19:22:28.537102010Z connect: [Function (anonymous)],
2022-11-04T19:22:28.537140843Z error: [Function (anonymous)],
2022-11-04T19:22:28.537179110Z socket: [Function (anonymous)],
2022-11-04T19:22:28.537217465Z timeout: [Function (anonymous)]
2022-11-04T19:22:28.538207079Z },
2022-11-04T19:22:28.538248776Z _eventsCount: 7,
2022-11-04T19:22:28.538293211Z _maxListeners: undefined,
2022-11-04T19:22:28.538333478Z outputData: [],
2022-11-04T19:22:28.538370394Z outputSize: 0,
2022-11-04T19:22:28.538409211Z writable: true,
2022-11-04T19:22:28.538448546Z destroyed: false,
2022-11-04T19:22:28.538487376Z _last: true,
2022-11-04T19:22:28.538539383Z chunkedEncoding: false,
2022-11-04T19:22:28.538579600Z shouldKeepAlive: false,
2022-11-04T19:22:28.538622091Z maxRequestsOnConnectionReached: false,
2022-11-04T19:22:28.538662253Z _defaultKeepAlive: true,
2022-11-04T19:22:28.538700699Z useChunkedEncodingByDefault: false,
2022-11-04T19:22:28.538738782Z sendDate: false,
2022-11-04T19:22:28.538787992Z _removedConnection: false,
2022-11-04T19:22:28.538828925Z _removedContLen: false,
2022-11-04T19:22:28.538867054Z _removedTE: false,
2022-11-04T19:22:28.538907068Z strictContentLength: false,
2022-11-04T19:22:28.538946903Z _contentLength: 0,
2022-11-04T19:22:28.538999460Z _hasBody: true,
2022-11-04T19:22:28.539041973Z _trailer: '',
2022-11-04T19:22:28.539080759Z finished: true,
2022-11-04T19:22:28.539118709Z _headerSent: true,
2022-11-04T19:22:28.539156323Z _closed: false,
2022-11-04T19:22:28.539193333Z socket: Socket {
2022-11-04T19:22:28.539229767Z connecting: false,
2022-11-04T19:22:28.539267451Z _hadError: true,
2022-11-04T19:22:28.539304641Z _parent: null,
2022-11-04T19:22:28.539345184Z _host: null,
2022-11-04T19:22:28.539382392Z _closeAfterHandlingError: false,
2022-11-04T19:22:28.539422359Z _readableState: ReadableState {
2022-11-04T19:22:28.539460609Z objectMode: false,
2022-11-04T19:22:28.539499692Z highWaterMark: 16384,
2022-11-04T19:22:28.539537805Z buffer: BufferList { head: null, tail: null, length: 0 },
2022-11-04T19:22:28.539584280Z length: 0,
2022-11-04T19:22:28.539624028Z pipes: [],
2022-11-04T19:22:28.539662112Z flowing: true,
2022-11-04T19:22:28.539700621Z ended: false,
2022-11-04T19:22:28.539738043Z endEmitted: false,
2022-11-04T19:22:28.539775933Z reading: true,
2022-11-04T19:22:28.539817891Z constructed: true,
2022-11-04T19:22:28.539856607Z sync: false,
2022-11-04T19:22:28.539893470Z needReadable: true,
2022-11-04T19:22:28.539931548Z emittedReadable: false,
2022-11-04T19:22:28.539999406Z readableListening: false,
2022-11-04T19:22:28.540042863Z resumeScheduled: false,
2022-11-04T19:22:28.540082107Z errorEmitted: true,
2022-11-04T19:22:28.540125420Z emitClose: false,
2022-11-04T19:22:28.540163552Z autoDestroy: true,
2022-11-04T19:22:28.540276335Z destroyed: true,
2022-11-04T19:22:28.540317747Z errored: Error: connect EHOSTUNREACH [removed]:80
2022-11-04T19:22:28.540360092Z at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) {
2022-11-04T19:22:28.540410467Z errno: -113,
2022-11-04T19:22:28.540451484Z code: 'EHOSTUNREACH',
2022-11-04T19:22:28.540490423Z syscall: 'connect',
2022-11-04T19:22:28.540528210Z address: '[removed]',
2022-11-04T19:22:28.540567085Z port: 80
2022-11-04T19:22:28.540604212Z },
2022-11-04T19:22:28.540638617Z closed: true,
2022-11-04T19:22:28.540677447Z closeEmitted: true,
2022-11-04T19:22:28.540718809Z defaultEncoding: 'utf8',
2022-11-04T19:22:28.540757959Z awaitDrainWriters: null,
2022-11-04T19:22:28.540796707Z multiAwaitDrain: false,
2022-11-04T19:22:28.540956057Z readingMore: false,
2022-11-04T19:22:28.541055300Z dataEmitted: false,
2022-11-04T19:22:28.541109607Z decoder: null,
2022-11-04T19:22:28.541150563Z encoding: null,
2022-11-04T19:22:28.541201825Z [Symbol(kPaused)]: false
2022-11-04T19:22:28.541257604Z },
2022-11-04T19:22:28.541293580Z _events: [Object: null prototype] {
2022-11-04T19:22:28.541345916Z end: [Function: onReadableStreamEnd],
2022-11-04T19:22:28.541388164Z connect: [ [Function], [Function], [Function] ],
2022-11-04T19:22:28.541456536Z free: [Function: onFree],
2022-11-04T19:22:28.541499079Z close: [ [Function: onClose], [Function: socketCloseListener] ],
2022-11-04T19:22:28.541544753Z timeout: [Function: onTimeout],
2022-11-04T19:22:28.541586799Z agentRemove: [Function: onRemove],
2022-11-04T19:22:28.541629780Z error: [Function: socketErrorListener],
2022-11-04T19:22:28.541669153Z drain: [Function: ondrain]
2022-11-04T19:22:28.541709576Z },
2022-11-04T19:22:28.541743808Z _eventsCount: 8,
2022-11-04T19:22:28.541781377Z _maxListeners: undefined,
2022-11-04T19:22:28.541818838Z _writableState: WritableState {
2022-11-04T19:22:28.541857466Z objectMode: false,
2022-11-04T19:22:28.541894571Z highWaterMark: 16384,
2022-11-04T19:22:28.541932429Z finalCalled: false,
2022-11-04T19:22:28.541978396Z needDrain: false,
2022-11-04T19:22:28.542031612Z ending: false,
2022-11-04T19:22:28.542071541Z ended: false,
2022-11-04T19:22:28.542108460Z finished: false,
2022-11-04T19:22:28.542145666Z destroyed: true,
2022-11-04T19:22:28.542183600Z decodeStrings: false,
2022-11-04T19:22:28.542221205Z defaultEncoding: 'utf8',
2022-11-04T19:22:28.542259816Z length: 186,
2022-11-04T19:22:28.542297935Z writing: true,
2022-11-04T19:22:28.542337454Z corked: 0,
2022-11-04T19:22:28.542374953Z sync: false,
2022-11-04T19:22:28.542411854Z bufferProcessing: false,
2022-11-04T19:22:28.542449483Z onwrite: [Function: bound onwrite],
2022-11-04T19:22:28.542489560Z writecb: [Function: bound onFinish],
2022-11-04T19:22:28.542530441Z writelen: 186,
2022-11-04T19:22:28.542567694Z afterWriteTickInfo: null,
2022-11-04T19:22:28.542605802Z buffered: [],
2022-11-04T19:22:28.542641327Z bufferedIndex: 0,
2022-11-04T19:22:28.542680072Z allBuffers: true,
2022-11-04T19:22:28.542733838Z allNoop: true,
2022-11-04T19:22:28.542771899Z pendingcb: 1,
2022-11-04T19:22:28.542811063Z constructed: true,
2022-11-04T19:22:28.542847949Z prefinished: false,
2022-11-04T19:22:28.542888296Z errorEmitted: true,
2022-11-04T19:22:28.542925467Z emitClose: false,
2022-11-04T19:22:28.542962584Z autoDestroy: true,
2022-11-04T19:22:28.543011708Z errored: Error: connect EHOSTUNREACH [removed]:80
2022-11-04T19:22:28.543052076Z at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) {
2022-11-04T19:22:28.543096048Z errno: -113,
2022-11-04T19:22:28.543134393Z code: 'EHOSTUNREACH',
2022-11-04T19:22:28.543172266Z syscall: 'connect',
2022-11-04T19:22:28.543258107Z address: '[removed]',
2022-11-04T19:22:28.543298788Z port: 80
2022-11-04T19:22:28.543336136Z },
2022-11-04T19:22:28.543369970Z closed: true,
2022-11-04T19:22:28.543407481Z closeEmitted: true,
2022-11-04T19:22:28.543446154Z [Symbol(kOnFinished)]: []
2022-11-04T19:22:28.543484391Z },
2022-11-04T19:22:28.543518338Z allowHalfOpen: false,
2022-11-04T19:22:28.543556363Z _sockname: null,
2022-11-04T19:22:28.543620635Z _pendingData: 'GET /DevMgmt/DiscoveryTree.xml HTTP/1.1\r\n' +
2022-11-04T19:22:28.543700411Z 'Accept: application/json, text/plain, */*\r\n' +
2022-11-04T19:22:28.543757453Z 'User-Agent: axios/1.1.3\r\n' +
2022-11-04T19:22:28.543801848Z 'Accept-Encoding: gzip, deflate, br\r\n' +
2022-11-04T19:22:28.543860731Z 'Host: [removed]\r\n' +
2022-11-04T19:22:28.543915783Z 'Connection: close\r\n' +
2022-11-04T19:22:28.543957591Z '\r\n',
2022-11-04T19:22:28.544025158Z _pendingEncoding: 'latin1',
2022-11-04T19:22:28.544078897Z server: null,
2022-11-04T19:22:28.544122353Z _server: null,
2022-11-04T19:22:28.544176748Z parser: null,
2022-11-04T19:22:28.544234165Z _httpMessage: [Circular *1],
2022-11-04T19:22:28.544276149Z [Symbol(async_id_symbol)]: 12,
2022-11-04T19:22:28.544330487Z [Symbol(kHandle)]: null,
2022-11-04T19:22:28.544384531Z [Symbol(lastWriteQueueSize)]: 0,
2022-11-04T19:22:28.544428150Z [Symbol(timeout)]: null,
2022-11-04T19:22:28.544485081Z [Symbol(kBuffer)]: null,
2022-11-04T19:22:28.544538384Z [Symbol(kBufferCb)]: null,
2022-11-04T19:22:28.544579895Z [Symbol(kBufferGen)]: null,
2022-11-04T19:22:28.544632168Z [Symbol(kCapture)]: false,
2022-11-04T19:22:28.544683079Z [Symbol(kSetNoDelay)]: true,
2022-11-04T19:22:28.544726360Z [Symbol(kSetKeepAlive)]: true,
2022-11-04T19:22:28.544786571Z [Symbol(kSetKeepAliveInitialDelay)]: 60,
2022-11-04T19:22:28.544839833Z [Symbol(kBytesRead)]: 0,
2022-11-04T19:22:28.544882350Z [Symbol(kBytesWritten)]: 0
2022-11-04T19:22:28.544935171Z },
2022-11-04T19:22:28.544993818Z _header: 'GET /DevMgmt/DiscoveryTree.xml HTTP/1.1\r\n' +
2022-11-04T19:22:28.545039515Z 'Accept: application/json, text/plain, */*\r\n' +
2022-11-04T19:22:28.545094081Z 'User-Agent: axios/1.1.3\r\n' +
2022-11-04T19:22:28.545146805Z 'Accept-Encoding: gzip, deflate, br\r\n' +
2022-11-04T19:22:28.545191994Z 'Host: [removed]\r\n' +
2022-11-04T19:22:28.545245252Z 'Connection: close\r\n' +
2022-11-04T19:22:28.545285388Z '\r\n',
2022-11-04T19:22:28.545336229Z _keepAliveTimeout: 0,
2022-11-04T19:22:28.545388458Z _onPendingData: [Function: nop],
2022-11-04T19:22:28.545430326Z agent: Agent {
2022-11-04T19:22:28.545481728Z _events: [Object: null prototype] {
2022-11-04T19:22:28.545520711Z free: [Function (anonymous)],
2022-11-04T19:22:28.545574091Z newListener: [Function: maybeEnableKeylog]
2022-11-04T19:22:28.545628490Z },
2022-11-04T19:22:28.545664720Z _eventsCount: 2,
2022-11-04T19:22:28.546776015Z _maxListeners: undefined,
2022-11-04T19:22:28.546921815Z defaultPort: 80,
2022-11-04T19:22:28.546999091Z protocol: 'http:',
2022-11-04T19:22:28.547044346Z options: [Object: null prototype] { noDelay: true, path: null },
2022-11-04T19:22:28.547110190Z requests: [Object: null prototype] {},
2022-11-04T19:22:28.547164471Z sockets: [Object: null prototype] { '[removed]:80:': [ [Socket] ] },
2022-11-04T19:22:28.547225391Z freeSockets: [Object: null prototype] {},
2022-11-04T19:22:28.547267236Z keepAliveMsecs: 1000,
2022-11-04T19:22:28.547319522Z keepAlive: false,
2022-11-04T19:22:28.547359657Z maxSockets: Infinity,
2022-11-04T19:22:28.547412101Z maxFreeSockets: 256,
2022-11-04T19:22:28.547462799Z scheduling: 'lifo',
2022-11-04T19:22:28.547503170Z maxTotalSockets: Infinity,
2022-11-04T19:22:28.547554586Z totalSocketCount: 1,
2022-11-04T19:22:28.547593658Z [Symbol(kCapture)]: false
2022-11-04T19:22:28.547646785Z },
2022-11-04T19:22:28.547699349Z socketPath: undefined,
2022-11-04T19:22:28.547740639Z method: 'GET',
2022-11-04T19:22:28.547792265Z maxHeaderSize: undefined,
2022-11-04T19:22:28.547846017Z insecureHTTPParser: undefined,
2022-11-04T19:22:28.547889935Z path: '/DevMgmt/DiscoveryTree.xml',
2022-11-04T19:22:28.547943528Z _ended: false,
2022-11-04T19:22:28.548030906Z res: null,
2022-11-04T19:22:28.548073322Z aborted: false,
2022-11-04T19:22:28.548136104Z timeoutCb: null,
2022-11-04T19:22:28.548188920Z upgradeOrConnect: false,
2022-11-04T19:22:28.548229500Z parser: null,
2022-11-04T19:22:28.548285195Z maxHeadersCount: null,
2022-11-04T19:22:28.548341853Z reusedSocket: false,
2022-11-04T19:22:28.548381796Z host: '[removed]',
2022-11-04T19:22:28.548434467Z protocol: 'http:',
2022-11-04T19:22:28.548472719Z _redirectable: [Circular *2],
2022-11-04T19:22:28.548618759Z [Symbol(kCapture)]: false,
2022-11-04T19:22:28.548673967Z [Symbol(kBytesWritten)]: 0,
2022-11-04T19:22:28.548719453Z [Symbol(kEndCalled)]: true,
2022-11-04T19:22:28.548762522Z [Symbol(kNeedDrain)]: false,
2022-11-04T19:22:28.548802476Z [Symbol(corked)]: 0,
2022-11-04T19:22:28.548841175Z [Symbol(kOutHeaders)]: [Object: null prototype] {
2022-11-04T19:22:28.548896085Z accept: [ 'Accept', 'application/json, text/plain, */*' ],
2022-11-04T19:22:28.548939154Z 'user-agent': [ 'User-Agent', 'axios/1.1.3' ],
2022-11-04T19:22:28.548993590Z 'accept-encoding': [ 'Accept-Encoding', 'gzip, deflate, br' ],
2022-11-04T19:22:28.549038844Z host: [ 'Host', '[removed]' ]
2022-11-04T19:22:28.549079157Z },
2022-11-04T19:22:28.549113338Z [Symbol(kUniqueHeaders)]: null
2022-11-04T19:22:28.549153402Z },
2022-11-04T19:22:28.549187720Z _currentUrl: 'http://[removed]/DevMgmt/DiscoveryTree.xml',
2022-11-04T19:22:28.549243263Z [Symbol(kCapture)]: false
2022-11-04T19:22:28.549286291Z },
2022-11-04T19:22:28.549322294Z cause: Error: connect EHOSTUNREACH [removed]
2022-11-04T19:22:28.549363623Z at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) {
2022-11-04T19:22:28.549406328Z errno: -113,
2022-11-04T19:22:28.549444764Z code: 'EHOSTUNREACH',
2022-11-04T19:22:28.549482877Z syscall: 'connect',
2022-11-04T19:22:28.549522349Z address: '[removed]',
2022-11-04T19:22:28.549560265Z port: 80
2022-11-04T19:22:28.549596735Z }
2022-11-04T19:22:28.549631109Z }
2022-11-04T19:22:28.549664738Z
2022-11-04T19:22:28.549697664Z Node.js v18.12.0
2022-11-04T19:22:28.549736929Z s6-rc: info: service legacy-services: stopping
2022-11-04T19:22:28.549779231Z s6-rc: info: service legacy-services successfully stopped
2022-11-04T19:22:28.549819886Z s6-rc: info: service legacy-cont-init: stopping
2022-11-04T19:22:28.549865461Z s6-rc: info: service legacy-cont-init successfully stopped
2022-11-04T19:22:28.549905706Z s6-rc: info: service fix-attrs: stopping
2022-11-04T19:22:28.551751638Z s6-rc: info: service fix-attrs successfully stopped
2022-11-04T19:22:28.552478267Z s6-rc: info: service s6rc-oneshot-runner: stopping
2022-11-04T19:22:28.555676077Z s6-rc: info: service s6rc-oneshot-runner successfully stopped
Hello,
I am trying to build/use node-hp-scan-to using docker on a debian virtual machine (Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux).
I get a "TS2571" error :
(same error using docker compose or docker build)
Step 1/15 : FROM node:alpine as build
---> 195bb95229bd
Step 2/15 : WORKDIR /app
---> Using cache
---> 06a556288978
Step 3/15 : ADD . .
---> Using cache
---> 008d2830d671
Step 4/15 : RUN yarn install -d && yarn build && rm dist/*.d.ts dist/*.js.map
---> Running in c083faac915a
yarn install v1.22.5
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 30.74s.
yarn run v1.22.5
$ tsc -p .
src/HPApi.ts(146,18): error TS2571: Object is of type 'unknown'.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm and.
The command '/bin/sh -c yarn install -d && yarn build && rm dist/*.d.ts dist/* .js.map' returned a non-zero code: 2
What am I doing wrong ? Any missing dependency in HPApi.ts ?
Describe the bug
Device: HP OfficeJet Pro 6978
Command line or Docker : Docker
Docker immediately exits after start attempt.
Please attach the output with debug (-D switch, see documentation)
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/10-adduser
cont-init: info: /etc/cont-init.d/10-adduser exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/node-config/node-config/wiki/Strict-Mode
WARNING: No configurations found in configuration directory:/app/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
/app/node_modules/sax/lib/sax.js:651
er = new Error(er)
^
Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char:
at error (/app/node_modules/sax/lib/sax.js:651:10)
at strictFail (/app/node_modules/sax/lib/sax.js:677:7)
at beginWhiteSpace (/app/node_modules/sax/lib/sax.js:951:7)
at SAXParser.write (/app/node_modules/sax/lib/sax.js:1006:11)
at exports.Parser.Parser.parseString (/app/node_modules/xml2js/lib/parser.js:323:31)
at /app/node_modules/xml2js/lib/parser.js:5:59
at node:internal/util:364:7
at new Promise ()
at node:internal/util:350:12
at DiscoveryTree.createDiscoveryTree (/app/DiscoveryTree.js:12:30)
Node.js v18.12.1
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
usermod: no changes
Starting
Using device ip: 192.168.2.107
Target folder: /scan
Temp folder: /tmp/scan-to-pcJOhKJi
Is your feature request related to a problem? Please describe.
I wanted to run this in a container in a kubernetes cluster
Describe the solution you'd like
Hopefully a working deployment.yaml
Describe alternatives you've considered
Running single hosted on my workstation
Additional context
I wanted to run this docker container in a kubernetes cluster on some Raspberry Pis. But it seems, that the communication doesn't work quite well between the container and my printer. Possible it is my lack of knowledge of kubernetes.
I have added the logfile of the container:
https://pastebin.com/j8xCZM4s
Can somebody lead me in a direction?
Here is also my deployment.yaml
https://pastebin.com/LCLwdBSF
And last, but not least ... is there a nice way to set the hostname tag in this yaml file?
Hi! This tool looks awesome. I started playing with it with my HP Envy 4500 this morning and it generally works but there are a few weird things I'm not sure if I'm doing something wrong or its due to this not officially supporting this device.
0058 -> {"baseURL":"http://192.168.0.212","url":"/WalkupScanToComp/WalkupScanToCompEvent","method":"GET","responseType":"text"}
0058 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompEvent xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<wus:WalkupScanToCompEventType>ScanRequested</wus:WalkupScanToCompEventType>\r\n</wus:WalkupScanToCompEvent>\r\n","headers":{"server":"HP HTTP Server; HP ENVY 4500 series - A9T80A; Serial Number: CNfoobarbaz; Built:Mon Jun 15, 2020 09:29:10AM {MKM1FN2025AR}","content-type":"text/xml","content-length":"425","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0059 -> {"baseURL":"http://192.168.0.212","url":"/WalkupScanToComp/WalkupScanToCompEvent","method":"GET","responseType":"text"}
0059 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompEvent xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<wus:WalkupScanToCompEventType>ScanRequested</wus:WalkupScanToCompEventType>\r\n</wus:WalkupScanToCompEvent>\r\n","headers":{"server":"HP HTTP Server; HP ENVY 4500 series - A9T80A; Serial Number: CNfoobarbaz; Built:Mon Jun 15, 2020 09:29:10AM {MKM1FN2025AR}","content-type":"text/xml","content-length":"425","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
Eventually the HP times out but this continues to be spammed until I restart the container
Thanks for any help you can provide!
Here is the API that might be used :
https://docs.paperless-ngx.com/api/#file-uploads
The second page of a scan gets the same file name as page one causing an unlink error.
Device: HP Officejet Pro 7740
Command line or Docker :
docker run
-d
--name='scan-hp-node'
--net='bridge'
-e TZ="America/Chicago"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Bakery"
-e HOST_CONTAINERNAME="scan-hp-node"
-e 'IP'='10.0.10.37'
-e 'PATTERN'='"scan"_dd-mm-yyyy_hh-MM-ss'
-e 'PGID'='100'
-e 'PUID'='99'
-e 'UMASK'='022'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.icon='https://i.ibb.co/SshKGrH/Colors-HP-Logo.jpg'
-v '/tmp/scan_temp':'/scan':'rw'
--hostname Fileserver 'manuc66/node-hp-scan-to:latest'
Error log
Target folder: /scan
Temp folder: /tmp/scan-to-pcGmccBj
Running iteration: 0 - errorCount: 0
Host destinations fetched: Fileserver
Re-using existing destination: Fileserver - /WalkupScanToComp/WalkupScanToCompDestinations/1cac60a9-5f4e-1f09-8164-040e3cf9f1dc
Using: Fileserver
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1cac60a9-5f4e-1f09-8164-040e3cf9f1dc
Start listening for new ScanEvent
Scan event captured, saving scan #0
Waiting user input: 1/50
Waiting user input: 2/50
Selected shortcut: SavePDF
Scan will be converted to pdf, using /tmp/scan-to-pcGmccBj as temp scan output directory for individual pages
ScanPlexMode is : Simplex
Afd is : Loaded
New job created: http://10.0.10.37:8080/Jobs/JobList/87
Ready to download page job page 1 at: /Scan/Jobs/87/Pages/1
Page downloaded to: /tmp/scan-to-pcGmccBj/scan_29-11-2023_04-01-20.jpg
Ready to download page job page 2 at: /Scan/Jobs/87/Pages/2
Page downloaded to: /tmp/scan-to-pcGmccBj/scan_29-11-2023_04-01-20.jpg
Job state: Completed, totalPages: 2:
Scan of page(s) completed totalPages: 2:
The following page(s) have been rendered inside '/scan/scan_29-11-2023_04-01-20.pdf':
- page 1 - 1654x2204
- page 2 - 1654x2204
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: ENOENT: no such file or directory, unlink '/tmp/scan-to-pcGmccBj/scan_29-11-2023_04-01-20.jpg'] {
errno: -2,
code: 'ENOENT',
syscall: 'unlink',
path: '/tmp/scan-to-pcGmccBj/scan_29-11-2023_04-01-20.jpg'
}
Node.js v18.18.2
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
I think this started occurring with this update #455
When I try to start the container it throws the following error:
node:internal/modules/cjs/loader:942
throw err;
^
Error: Cannot find module '../src/JpegUtil'
Require stack:
Thoughts?
I am receiving the following error in docker:
node-hp-scan-to | exec /init: exec format error
I tried both, the pre-built docker container and a manual build. I assume that there is a #!/bin/bash
missing somewhere, but cannot figure out where.
I am running the docker container on a Raspberry Pi 3B+
Hi,
I use a hp envy photo 6232.
I don't understand how it's possible to produce a pdf with multiple pages .
When i start a pdf scan, the pdf file stay in the temp folder.
When I start a scan pdf again, the temp file finally goes to the destination folder and the the new file stays stuck in the temp folder.
Here's my dockercompose file:
version: "3"
services:
node-scan:
image: docker.io/manuc66/node-hp-scan-to:latest
hostname: node-hp-scan-to
environment:
- IP=192.168.168.159
- LABEL=Reseau
- PATTERN="scan"_dd.mm.yyyy_hh:MM:ss
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- /mnt/disk2/DOCUMENTS/SCAN:/scan
restart: unless-stopped
Thank you
Describe the bug
Device: HP HP OfficeJet 6950 - P4C85A
Command line or Docker : Docker (using hub image)
Describe what is happening:
When a scan is made it is saved as a pdf in the /tmp folder but then not moved to /scan
when logged through sh I can see the file and manually move (as root) to /scan
/app # cd /tmp/scan-to-pcNjMipe/
/tmp/scan-to-pcNjMipe # ls
scan1.pdf
/tmp/scan-to-pcNjMipe # cd /scan
/scan # ls
/scan #
Please attach the output with debug (-D switch, see documentation)
...
0054 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Processing</j:JobState>\r\n\t<j:JobStateUpdate>355-33</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PreScanPage>\r <PageNumber>1</PageNumber>\r <PageState>PreparingScan</PageState>\r <BufferInfo>\r <ScanSettings>\r <XResolution>200</XResolution>\r <YResolution>200</YResolution>\r <XStart>33</XStart>\r <YStart>0</YStart>\r <Width>2481</Width>\r <Height>3507</Height>\r <Format>Jpeg</Format>\r <CompressionQFactor>0</CompressionQFactor>\r <ColorSpace>Color</ColorSpace>\r <BitDepth>8</BitDepth>\r <InputSource>Adf</InputSource>\r <ContentType>Document</ContentType>\r </ScanSettings>\r <ImageWidth>1654</ImageWidth>\r <ImageHeight>2338</ImageHeight>\r <BytesPerLine>4962</BytesPerLine>\r <Cooked>enabled</Cooked>\r </BufferInfo>\r <BinaryURL>/Scan/Jobs/10/Pages/1</BinaryURL>\r <ImageOrientation>Normal</ImageOrientation>\r </PreScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-33\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0055 -> {"url":"http://192.168.0.105:8080/Jobs/JobList/10","method":"GET","responseType":"text"}
0055 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Processing</j:JobState>\r\n\t<j:JobStateUpdate>355-33</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PreScanPage>\r <PageNumber>1</PageNumber>\r <PageState>ReadyToUpload</PageState>\r <BufferInfo>\r <ScanSettings>\r <XResolution>200</XResolution>\r <YResolution>200</YResolution>\r <XStart>33</XStart>\r <YStart>0</YStart>\r <Width>2481</Width>\r <Height>3507</Height>\r <Format>Jpeg</Format>\r <CompressionQFactor>0</CompressionQFactor>\r <ColorSpace>Color</ColorSpace>\r <BitDepth>8</BitDepth>\r <InputSource>Adf</InputSource>\r <ContentType>Document</ContentType>\r </ScanSettings>\r <ImageWidth>1654</ImageWidth>\r <ImageHeight>2338</ImageHeight>\r <BytesPerLine>4962</BytesPerLine>\r <Cooked>enabled</Cooked>\r </BufferInfo>\r <BinaryURL>/Scan/Jobs/10/Pages/1</BinaryURL>\r <ImageOrientation>Normal</ImageOrientation>\r </PreScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-33\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
Ready to download page job page 1 at: /Scan/Jobs/10/Pages/1
Page downloaded to: /tmp/scan-to-pchLnLkl/scan1_page1.jpg
0056 -> {"url":"http://192.168.0.105:8080/Jobs/JobList/10","method":"GET","responseType":"text"}
0056 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Processing</j:JobState>\r\n\t<j:JobStateUpdate>355-33</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PostScanPage>\r <PageNumber>1</PageNumber>\r <PageState>UploadCompleted</PageState>\r <TotalLines>2338</TotalLines>\r </PostScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-33\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0057 -> {"url":"http://192.168.0.105:8080/Jobs/JobList/10","method":"GET","responseType":"text"}
0057 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Processing</j:JobState>\r\n\t<j:JobStateUpdate>355-33</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PostScanPage>\r <PageNumber>1</PageNumber>\r <PageState>UploadCompleted</PageState>\r <TotalLines>2338</TotalLines>\r </PostScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-33\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0058 -> {"url":"http://192.168.0.105:8080/Jobs/JobList/10","method":"GET","responseType":"text"}
0058 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Processing</j:JobState>\r\n\t<j:JobStateUpdate>355-33</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PostScanPage>\r <PageNumber>1</PageNumber>\r <PageState>UploadCompleted</PageState>\r <TotalLines>2338</TotalLines>\r </PostScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-33\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0059 -> {"url":"http://192.168.0.105:8080/Jobs/JobList/10","method":"GET","responseType":"text"}
0059 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Processing</j:JobState>\r\n\t<j:JobStateUpdate>355-33</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PostScanPage>\r <PageNumber>1</PageNumber>\r <PageState>UploadCompleted</PageState>\r <TotalLines>2338</TotalLines>\r </PostScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-33\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0060 -> {"url":"http://192.168.0.105:8080/Jobs/JobList/10","method":"GET","responseType":"text"}
0060 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Processing</j:JobState>\r\n\t<j:JobStateUpdate>355-33</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PostScanPage>\r <PageNumber>1</PageNumber>\r <PageState>UploadCompleted</PageState>\r <TotalLines>2338</TotalLines>\r </PostScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-33\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0061 -> {"url":"http://192.168.0.105:8080/Jobs/JobList/10","method":"GET","responseType":"text"}
0061 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Processing</j:JobState>\r\n\t<j:JobStateUpdate>355-33</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PostScanPage>\r <PageNumber>1</PageNumber>\r <PageState>UploadCompleted</PageState>\r <TotalLines>2338</TotalLines>\r </PostScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-33\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0062 -> {"url":"http://192.168.0.105:8080/Jobs/JobList/10","method":"GET","responseType":"text"}
0062 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r\n<j:Job xmlns:j=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:fax=\"http://www.hp.com/schemas/imaging/con/fax/2008/06/13\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30 ../schemas/Jobs.xsd\">\r\n\t<j:JobUrl>/Jobs/JobList/10</j:JobUrl>\r\n\t<j:JobCategory>Scan</j:JobCategory>\r\n\t<j:JobState>Completed</j:JobState>\r\n\t<j:JobStateUpdate>355-34</j:JobStateUpdate>\r\n\t<j:JobSource>userIO</j:JobSource>\r\n\t<ScanJob xmlns=\"http://www.hp.com/schemas/imaging/con/cnx/scan/2008/08/19\">\r <PostScanPage>\r <PageNumber>1</PageNumber>\r <PageState>UploadCompleted</PageState>\r <TotalLines>2338</TotalLines>\r </PostScanPage>\r</ScanJob>\r\n</j:Job>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","etag":"\"355-34\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
Job state: Completed, totalPages: 1:
Scan of page(s) completed totalPages: 1:
The following page(s) have been rendered inside '/tmp/scan-to-pcNjMipe/scan1.pdf':
- page 1 - 1654x2338
Running iteration: 0 - errorCount: 0
0063 -> {"baseURL":"http://192.168.0.105","url":"/WalkupScanToComp/WalkupScanToCompDestinations","method":"GET","responseType":"text"}
0063 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestinations xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 ../../schemas/WalkupScanToComp.xsd\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<wus:WalkupScanToCompDestination>\r\n\t\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/2086cc95-d009-1f19-acc4-30e171c5894c</dd:ResourceURI>\r\n\t\t<dd:Name>paperless</dd:Name>\r\n\t\t<dd3:Hostname>paperless</dd3:Hostname>\r\n\t\t<wus:LinkType>Network</wus:LinkType>\r\n\t</wus:WalkupScanToCompDestination>\r\n\t<wus:WalkupScanToCompDestination>\r\n\t\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/2086084a-ccc4-1f19-b7c9-30e171c5894c</dd:ResourceURI>\r\n\t\t<dd:Name>scan</dd:Name>\r\n\t\t<dd3:Hostname>scan</dd3:Hostname>\r\n\t\t<wus:LinkType>Network</wus:LinkType>\r\n\t</wus:WalkupScanToCompDestination>\r\n</wus:WalkupScanToCompDestinations>\r\n","headers":{"server":"HP HTTP Server; HP OfficeJet 6950 - P4C85A; Serial Number: TH7152601V; Built:Wed Nov 09, 2022 12:21:11PM {MJM1CN2246AR}","content-type":"text/xml","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
Host destinations fetched: paperless
Re-using existing destination: paperless - /WalkupScanToComp/WalkupScanToCompDestinations/2086cc95-d009-1f19-acc4-30e171c5894c
Using: paperless
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/2086cc95-d009-1f19-acc4-30e171c5894c
Start listening for new ScanEvent
Docker compose:
version: "3"
services:
node-hp-scan-to:
image: manuc66/node-hp-scan-to:master
hostname: paperless
environment:
- IP=192.168.0.105
- PATTERN="scan"_dd.mm.yyyy_hh:MM:ss
- PGID=1000
- PUID=1000
- TZ=Europe/London
- CMDLINE=-D
volumes:
- ./consume:/scan
restart: always
Unsetting pattern did not help.
Looking inside docker this is the running process
node index.js -d /scan -ip 192.168.0.105 -p "scan"_dd.mm.yyyy_hh:MM:ss -D
(and without pattern after a deployment)
node index.js -d /scan -ip 192.168.0.105 -D
Currently all scan are requested with 200 dpi resolution
I have load the Dockercontainer in my Synology Docker App.
I set all the Variables also the PATTERN="scan"_dd.mm.yyyy_HH:MM:ss.
The Filename in the scan folder looks somthing like S31KEB7.PDF or SOLXH4B.PDF
I Have a HP OfficeJet 6700 Premium.
How can i solve this Problem?
Regards
Simon
Unclear if this is something with the software or something with the printer.
When I attempt to do a two sided scan via "scan to" using the ADF it only scans one side.
When I attempt using software on the computer it does the double sided scan as expected.
Hello,
This system is great - it allows me to get documents straight into paperless-ngx from my 6950.
However if the printer is turned off and on again this system needs to re-register itself, which I do by logging in and restarting the container.
I don't know if there's a way within this container of sensing whether the printer is offline and back online, whether through a healthcheck to the management url or using an arp scan or something?
I tested the software with an HP Officejet 8010 series
and it worked! I want to add that printer to the list of reported to work printers. Is opening an issue every time a new printer gets tested the right way?
Hello, first of all thank you for supporting this great project!
I just tried using this with my Deskjet 3050 All-in-One J610a and everything works very well with bonjour, but for some reason I only get jpgs and no pdfs in the output. The printer is capable of generating PDFs on its own, but in the web ui it defaults to jpg for every scan.
Are there maybe some additional settings I did miss?
I will just include the logs here since they are pretty short.
Host destinations fetched:
New Destination registered: scan - /WalkupScan/WalkupScanDestinations/1c8530e5-b81c-1f08-8d61-984be142325d
Using: scan
Waiting scan event for: /WalkupScan/WalkupScanDestinations/1c8530e5-b81c-1f08-8d61-984be142325d
Start listening for new ScanEvent
Scan event captured, saving scan #1
Selected shortcut: SaveDocument1
ScanPlexMode is : Simplex
New job created: http://192.168.5.221:8080/Jobs/JobList/1
Ready to download page job page 1 at: /Scan/Jobs/1/Pages/1
Page downloaded to: /scan/scan_22.10.2022_08:53:41.jpg
Job state: Completed, totalPages: 1:
Scan of page(s) completed totalPages: 1:
- page 1 - 1654x2338 - /scan/scan_22.10.2022_08:53:41.jpg
Running iteration: 0 - errorCount: 1
Host destinations fetched: scan
Re-using existing destination: scan - http://192.168.5.221:80/WalkupScan/WalkupScanDestinations/1c8530e5-b81c-1f08-8d61-984be142325d
Using: scan
Waiting scan event for: http://192.168.5.221:80/WalkupScan/WalkupScanDestinations/1c8530e5-b81c-1f08-8d61-984be142325d
Edit: Just to clarify, the error counter being 1 is my fault, as I disconnected the printer to see what happens. I should have redeployed the container...
The target directory is not set properly or the doc needs to be checked.
Device: HP Officejet Pro 8600 N911a
Command line or Docker : Docker
docker-compose.yml with environement DIR="/scan"
but logs of the container saying:
node-hp-scan-to | Target folder: /tmp/scan-to-pcnLIIdn
node-hp-scan-to | Temp folder: /tmp/scan-to-pchgfLJd
inside the container output of top:
60 58 node S 10.3g 67% 12 0% node index.js -d /scan -ip 192.168.181.17 -p '"scan"_yyyy.mm.dd_hh:MM:ss'
so i assume that the directory is kind of set, but the app is not using the set directory.
...
node-hp-scan-to:
image: manuc66/node-hp-scan-to:master
container_name: node-hp-scan-to
hostname: paperless-ngx
environment:
- IP=192.168.181.17
- LABEL="Paperless-NGX"
- PATTERN='"scan"_yyyy.mm.dd_hh:MM:ss'
- PGID=1000
- PUID=1000
- TZ=Europe/Berlin
- RESOLUTION=600
- DIR="/scan"
- CMDLINE="-D"
volumes:
- ./data:/scan
restart: always
...
Please attach the output with debug (-D switch, see documentation)
node-hp-scan-to | s6-rc: info: service s6rc-oneshot-runner: starting
node-hp-scan-to | s6-rc: info: service s6rc-oneshot-runner successfully started
node-hp-scan-to | s6-rc: info: service fix-attrs: starting
node-hp-scan-to | s6-rc: info: service fix-attrs successfully started
node-hp-scan-to | s6-rc: info: service legacy-cont-init: starting
node-hp-scan-to | cont-init: info: running /etc/cont-init.d/10-adduser
node-hp-scan-to | usermod: no changes
node-hp-scan-to |
node-hp-scan-to | User uid: 1000
node-hp-scan-to | User gid: 1000
node-hp-scan-to | -------------------------------------
node-hp-scan-to |
node-hp-scan-to | s6-rc: fatal: timed out
node-hp-scan-to | s6-sudoc: fatal: unable to get exit status from server: Operation timed out
node-hp-scan-to | Starting
node-hp-scan-to | WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
node-hp-scan-to | WARNING: See https://github.com/node-config/node-config/wiki/Strict-Mode
node-hp-scan-to | WARNING: No configurations found in configuration directory:/app/config
node-hp-scan-to | WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
node-hp-scan-to | Using device ip: 192.168.181.17
node-hp-scan-to | Target folder: /tmp/scan-to-pcoghNjG
node-hp-scan-to | Temp folder: /tmp/scan-to-pcJPinng
node-hp-scan-to | AxiosError: Request failed with status code 403
node-hp-scan-to | at settle (/app/node_modules/axios/dist/node/axios.cjs:1900:12)
node-hp-scan-to | at IncomingMessage.handleStreamEnd (/app/node_modules/axios/dist/node/axios.cjs:2952:11)
node-hp-scan-to | at IncomingMessage.emit (node:events:525:35)
node-hp-scan-to | at endReadableNT (node:internal/streams/readable:1359:12)
node-hp-scan-to | at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
node-hp-scan-to | code: 'ERR_BAD_REQUEST',
node-hp-scan-to | config: {
node-hp-scan-to | transitional: {
node-hp-scan-to | silentJSONParsing: true,
node-hp-scan-to | forcedJSONParsing: true,
node-hp-scan-to | clarifyTimeoutError: false
node-hp-scan-to | },
node-hp-scan-to | adapter: [ 'xhr', 'http' ],
node-hp-scan-to | transformRequest: [ [Function: transformRequest] ],
node-hp-scan-to | transformResponse: [ [Function: transformResponse] ],
node-hp-scan-to | timeout: 0,
node-hp-scan-to | xsrfCookieName: 'XSRF-TOKEN',
node-hp-scan-to | xsrfHeaderName: 'X-XSRF-TOKEN',
node-hp-scan-to | maxContentLength: -1,
node-hp-scan-to | maxBodyLength: -1,
node-hp-scan-to | env: { FormData: [Function], Blob: [class Blob] },
node-hp-scan-to | validateStatus: [Function: validateStatus],
node-hp-scan-to | headers: AxiosHeaders {
node-hp-scan-to | Accept: 'application/json, text/plain, */*',
node-hp-scan-to | 'User-Agent': 'axios/1.3.4',
node-hp-scan-to | 'Accept-Encoding': 'gzip, compress, deflate, br'
node-hp-scan-to | },
node-hp-scan-to | baseURL: 'http://192.168.181.17',
node-hp-scan-to | url: '/DevMgmt/DiscoveryTree.xml',
node-hp-scan-to | method: 'get',
node-hp-scan-to | responseType: 'text',
node-hp-scan-to | data: undefined
node-hp-scan-to | },
node-hp-scan-to | request: <ref *1> ClientRequest {
node-hp-scan-to | _events: [Object: null prototype] {
node-hp-scan-to | abort: [Function (anonymous)],
node-hp-scan-to | aborted: [Function (anonymous)],
node-hp-scan-to | connect: [Function (anonymous)],
node-hp-scan-to | error: [Function (anonymous)],
node-hp-scan-to | socket: [Function (anonymous)],
node-hp-scan-to | timeout: [Function (anonymous)],
node-hp-scan-to | finish: [Function: requestOnFinish]
node-hp-scan-to | },
node-hp-scan-to | _eventsCount: 7,
node-hp-scan-to | _maxListeners: undefined,
node-hp-scan-to | outputData: [],
node-hp-scan-to | outputSize: 0,
node-hp-scan-to | writable: true,
node-hp-scan-to | destroyed: false,
node-hp-scan-to | _last: true,
node-hp-scan-to | chunkedEncoding: false,
node-hp-scan-to | shouldKeepAlive: false,
node-hp-scan-to | maxRequestsOnConnectionReached: false,
node-hp-scan-to | _defaultKeepAlive: true,
node-hp-scan-to | useChunkedEncodingByDefault: false,
node-hp-scan-to | sendDate: false,
node-hp-scan-to | _removedConnection: false,
node-hp-scan-to | _removedContLen: false,
node-hp-scan-to | _removedTE: false,
node-hp-scan-to | strictContentLength: false,
node-hp-scan-to | _contentLength: 0,
node-hp-scan-to | _hasBody: true,
node-hp-scan-to | _trailer: '',
node-hp-scan-to | finished: true,
node-hp-scan-to | _headerSent: true,
node-hp-scan-to | _closed: false,
node-hp-scan-to | socket: Socket {
node-hp-scan-to | connecting: false,
node-hp-scan-to | _hadError: false,
node-hp-scan-to | _parent: null,
node-hp-scan-to | _host: null,
node-hp-scan-to | _closeAfterHandlingError: false,
node-hp-scan-to | _readableState: [ReadableState],
node-hp-scan-to | _events: [Object: null prototype],
node-hp-scan-to | _eventsCount: 8,
node-hp-scan-to | _maxListeners: undefined,
node-hp-scan-to | _writableState: [WritableState],
node-hp-scan-to | allowHalfOpen: false,
node-hp-scan-to | _sockname: null,
node-hp-scan-to | _pendingData: null,
node-hp-scan-to | _pendingEncoding: '',
node-hp-scan-to | server: null,
node-hp-scan-to | _server: null,
node-hp-scan-to | parser: null,
node-hp-scan-to | _httpMessage: [Circular *1],
node-hp-scan-to | write: [Function: writeAfterFIN],
node-hp-scan-to | [Symbol(async_id_symbol)]: 23,
node-hp-scan-to | [Symbol(kHandle)]: null,
node-hp-scan-to | [Symbol(lastWriteQueueSize)]: 0,
node-hp-scan-to | [Symbol(timeout)]: null,
node-hp-scan-to | [Symbol(kBuffer)]: null,
node-hp-scan-to | [Symbol(kBufferCb)]: null,
node-hp-scan-to | [Symbol(kBufferGen)]: null,
node-hp-scan-to | [Symbol(kCapture)]: false,
node-hp-scan-to | [Symbol(kSetNoDelay)]: true,
node-hp-scan-to | [Symbol(kSetKeepAlive)]: true,
node-hp-scan-to | [Symbol(kSetKeepAliveInitialDelay)]: 60,
node-hp-scan-to | [Symbol(kBytesRead)]: 674,
node-hp-scan-to | [Symbol(kBytesWritten)]: 198
node-hp-scan-to | },
node-hp-scan-to | _header: 'GET /DevMgmt/DiscoveryTree.xml HTTP/1.1\r\n' +
node-hp-scan-to | 'Accept: application/json, text/plain, */*\r\n' +
node-hp-scan-to | 'User-Agent: axios/1.3.4\r\n' +
node-hp-scan-to | 'Accept-Encoding: gzip, compress, deflate, br\r\n' +
node-hp-scan-to | 'Host: 192.168.181.17\r\n' +
node-hp-scan-to | 'Connection: close\r\n' +
node-hp-scan-to | '\r\n',
node-hp-scan-to | _keepAliveTimeout: 0,
node-hp-scan-to | _onPendingData: [Function: nop],
node-hp-scan-to | agent: Agent {
node-hp-scan-to | _events: [Object: null prototype],
node-hp-scan-to | _eventsCount: 2,
node-hp-scan-to | _maxListeners: undefined,
node-hp-scan-to | defaultPort: 80,
node-hp-scan-to | protocol: 'http:',
node-hp-scan-to | options: [Object: null prototype],
node-hp-scan-to | requests: [Object: null prototype] {},
node-hp-scan-to | sockets: [Object: null prototype],
node-hp-scan-to | freeSockets: [Object: null prototype] {},
node-hp-scan-to | keepAliveMsecs: 1000,
node-hp-scan-to | keepAlive: false,
node-hp-scan-to | maxSockets: Infinity,
node-hp-scan-to | maxFreeSockets: 256,
node-hp-scan-to | scheduling: 'lifo',
node-hp-scan-to | maxTotalSockets: Infinity,
node-hp-scan-to | totalSocketCount: 1,
node-hp-scan-to | [Symbol(kCapture)]: false
node-hp-scan-to | },
node-hp-scan-to | socketPath: undefined,
node-hp-scan-to | method: 'GET',
node-hp-scan-to | maxHeaderSize: undefined,
node-hp-scan-to | insecureHTTPParser: undefined,
node-hp-scan-to | joinDuplicateHeaders: undefined,
node-hp-scan-to | path: '/DevMgmt/DiscoveryTree.xml',
node-hp-scan-to | _ended: true,
node-hp-scan-to | res: IncomingMessage {
node-hp-scan-to | _readableState: [ReadableState],
node-hp-scan-to | _events: [Object: null prototype],
node-hp-scan-to | _eventsCount: 4,
node-hp-scan-to | _maxListeners: undefined,
node-hp-scan-to | socket: [Socket],
node-hp-scan-to | httpVersionMajor: 1,
node-hp-scan-to | httpVersionMinor: 0,
node-hp-scan-to | httpVersion: '1.0',
node-hp-scan-to | complete: true,
node-hp-scan-to | rawHeaders: [Array],
node-hp-scan-to | rawTrailers: [],
node-hp-scan-to | joinDuplicateHeaders: undefined,
node-hp-scan-to | aborted: false,
node-hp-scan-to | upgrade: false,
node-hp-scan-to | url: '',
node-hp-scan-to | method: null,
node-hp-scan-to | statusCode: 403,
node-hp-scan-to | statusMessage: 'connecting to 192.168.181.17:80: connecting to 192.168.181.17:80: dial tcp 192.168.181.17:80: connectex: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat.',
node-hp-scan-to | client: [Socket],
node-hp-scan-to | _consuming: true,
node-hp-scan-to | _dumped: false,
node-hp-scan-to | req: [Circular *1],
node-hp-scan-to | responseUrl: 'http://192.168.181.17/DevMgmt/DiscoveryTree.xml',
node-hp-scan-to | redirects: [],
node-hp-scan-to | [Symbol(kCapture)]: false,
node-hp-scan-to | [Symbol(kHeaders)]: [Object],
node-hp-scan-to | [Symbol(kHeadersCount)]: 2,
node-hp-scan-to | [Symbol(kTrailers)]: null,
node-hp-scan-to | [Symbol(kTrailersCount)]: 0
node-hp-scan-to | },
node-hp-scan-to | aborted: false,
node-hp-scan-to | timeoutCb: null,
node-hp-scan-to | upgradeOrConnect: false,
node-hp-scan-to | parser: null,
node-hp-scan-to | maxHeadersCount: null,
node-hp-scan-to | reusedSocket: false,
node-hp-scan-to | host: '192.168.181.17',
node-hp-scan-to | protocol: 'http:',
node-hp-scan-to | _redirectable: Writable {
node-hp-scan-to | _writableState: [WritableState],
node-hp-scan-to | _events: [Object: null prototype],
node-hp-scan-to | _eventsCount: 3,
node-hp-scan-to | _maxListeners: undefined,
node-hp-scan-to | _options: [Object],
node-hp-scan-to | _ended: true,
node-hp-scan-to | _ending: true,
node-hp-scan-to | _redirectCount: 0,
node-hp-scan-to | _redirects: [],
node-hp-scan-to | _requestBodyLength: 0,
node-hp-scan-to | _requestBodyBuffers: [],
node-hp-scan-to | _onNativeResponse: [Function (anonymous)],
node-hp-scan-to | _currentRequest: [Circular *1],
node-hp-scan-to | _currentUrl: 'http://192.168.181.17/DevMgmt/DiscoveryTree.xml',
node-hp-scan-to | [Symbol(kCapture)]: false
node-hp-scan-to | },
node-hp-scan-to | [Symbol(kCapture)]: false,
node-hp-scan-to | [Symbol(kBytesWritten)]: 0,
node-hp-scan-to | [Symbol(kEndCalled)]: true,
node-hp-scan-to | [Symbol(kNeedDrain)]: false,
node-hp-scan-to | [Symbol(corked)]: 0,
node-hp-scan-to | [Symbol(kOutHeaders)]: [Object: null prototype] {
node-hp-scan-to | accept: [Array],
node-hp-scan-to | 'user-agent': [Array],
node-hp-scan-to | 'accept-encoding': [Array],
node-hp-scan-to | host: [Array]
node-hp-scan-to | },
node-hp-scan-to | [Symbol(errored)]: null,
node-hp-scan-to | [Symbol(kUniqueHeaders)]: null
node-hp-scan-to | },
node-hp-scan-to | response: {
node-hp-scan-to | status: 403,
node-hp-scan-to | statusText: 'connecting to 192.168.181.17:80: connecting to 192.168.181.17:80: dial tcp 192.168.181.17:80: connectex: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat.',
node-hp-scan-to | headers: AxiosHeaders { connection: 'close' },
node-hp-scan-to | config: {
node-hp-scan-to | transitional: [Object],
node-hp-scan-to | adapter: [Array],
node-hp-scan-to | transformRequest: [Array],
node-hp-scan-to | transformResponse: [Array],
node-hp-scan-to | timeout: 0,
node-hp-scan-to | xsrfCookieName: 'XSRF-TOKEN',
node-hp-scan-to | xsrfHeaderName: 'X-XSRF-TOKEN',
node-hp-scan-to | maxContentLength: -1,
node-hp-scan-to | maxBodyLength: -1,
node-hp-scan-to | env: [Object],
node-hp-scan-to | validateStatus: [Function: validateStatus],
node-hp-scan-to | headers: [AxiosHeaders],
node-hp-scan-to | baseURL: 'http://192.168.181.17',
node-hp-scan-to | url: '/DevMgmt/DiscoveryTree.xml',
node-hp-scan-to | method: 'get',
node-hp-scan-to | responseType: 'text',
node-hp-scan-to | data: undefined
node-hp-scan-to | },
node-hp-scan-to | request: <ref *1> ClientRequest {
node-hp-scan-to | _events: [Object: null prototype],
node-hp-scan-to | _eventsCount: 7,
node-hp-scan-to | _maxListeners: undefined,
node-hp-scan-to | outputData: [],
node-hp-scan-to | outputSize: 0,
node-hp-scan-to | writable: true,
node-hp-scan-to | destroyed: false,
node-hp-scan-to | _last: true,
node-hp-scan-to | chunkedEncoding: false,
node-hp-scan-to | shouldKeepAlive: false,
node-hp-scan-to | maxRequestsOnConnectionReached: false,
node-hp-scan-to | _defaultKeepAlive: true,
node-hp-scan-to | useChunkedEncodingByDefault: false,
node-hp-scan-to | sendDate: false,
node-hp-scan-to | _removedConnection: false,
node-hp-scan-to | _removedContLen: false,
node-hp-scan-to | _removedTE: false,
node-hp-scan-to | strictContentLength: false,
node-hp-scan-to | _contentLength: 0,
node-hp-scan-to | _hasBody: true,
node-hp-scan-to | _trailer: '',
node-hp-scan-to | finished: true,
node-hp-scan-to | _headerSent: true,
node-hp-scan-to | _closed: false,
node-hp-scan-to | socket: [Socket],
node-hp-scan-to | _header: 'GET /DevMgmt/DiscoveryTree.xml HTTP/1.1\r\n' +
node-hp-scan-to | 'Accept: application/json, text/plain, */*\r\n' +
node-hp-scan-to | 'User-Agent: axios/1.3.4\r\n' +
node-hp-scan-to | 'Accept-Encoding: gzip, compress, deflate, br\r\n' +
node-hp-scan-to | 'Host: 192.168.181.17\r\n' +
node-hp-scan-to | 'Connection: close\r\n' +
node-hp-scan-to | '\r\n',
node-hp-scan-to | _keepAliveTimeout: 0,
node-hp-scan-to | _onPendingData: [Function: nop],
node-hp-scan-to | agent: [Agent],
node-hp-scan-to | socketPath: undefined,
node-hp-scan-to | method: 'GET',
node-hp-scan-to | maxHeaderSize: undefined,
node-hp-scan-to | insecureHTTPParser: undefined,
node-hp-scan-to | joinDuplicateHeaders: undefined,
node-hp-scan-to | path: '/DevMgmt/DiscoveryTree.xml',
node-hp-scan-to | _ended: true,
node-hp-scan-to | res: [IncomingMessage],
node-hp-scan-to | aborted: false,
node-hp-scan-to | timeoutCb: null,
node-hp-scan-to | upgradeOrConnect: false,
node-hp-scan-to | parser: null,
node-hp-scan-to | maxHeadersCount: null,
node-hp-scan-to | reusedSocket: false,
node-hp-scan-to | host: '192.168.181.17',
node-hp-scan-to | protocol: 'http:',
node-hp-scan-to | _redirectable: [Writable],
node-hp-scan-to | [Symbol(kCapture)]: false,
node-hp-scan-to | [Symbol(kBytesWritten)]: 0,
node-hp-scan-to | [Symbol(kEndCalled)]: true,
node-hp-scan-to | [Symbol(kNeedDrain)]: false,
node-hp-scan-to | [Symbol(corked)]: 0,
node-hp-scan-to | [Symbol(kOutHeaders)]: [Object: null prototype],
node-hp-scan-to | [Symbol(errored)]: null,
node-hp-scan-to | [Symbol(kUniqueHeaders)]: null
node-hp-scan-to | },
node-hp-scan-to | data: 'connecting to 192.168.181.17:80: connecting to 192.168.181.17:80: dial tcp 192.168.181.17:80: connectex: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat.'
node-hp-scan-to | }
node-hp-scan-to | }
node-hp-scan-to | s6-rc: info: service fix-attrs: stopping
node-hp-scan-to | s6-rc: info: service fix-attrs successfully stopped
node-hp-scan-to | s6-rc: info: service s6rc-oneshot-runner: stopping
node-hp-scan-to | s6-rc: info: service s6rc-oneshot-runner successfully stopped
Currently all scan are requested for A4 paper
Hello,
I'm running node-hp-scan-to in docker and trying to scan from an Officejet 6700 premium.
The printer sees the node-hp-scan-to, but times out when I try to use it : "Accessing computer" and after a while "Please check that your computer is online etc.".
The logs when I start the printer (ARCHIVE is the name of the node-hp-scan-to destination and FIXE is my physical PC) :
nativeProtocols: [Object],,
pathname: '/WalkupScan/WalkupScanDestinations',
},,
_ended: true,,
_ending: true,,
_redirectCount: 0,,
_redirects: [],,
_requestBodyLength: 0,,
_requestBodyBuffers: [],,
_onNativeResponse: [Function (anonymous)],,
_currentRequest: ClientRequest {,
_events: [Object: null prototype],,
_eventsCount: 7,,
_maxListeners: undefined,,
outputData: [],,
outputSize: 0,,
writable: true,,
destroyed: false,,
_last: true,,
chunkedEncoding: false,,
shouldKeepAlive: false,,
_defaultKeepAlive: true,,
useChunkedEncodingByDefault: false,,
sendDate: false,,
_removedConnection: false,,
_removedContLen: false,,
_removedTE: false,,
_contentLength: 0,,
_hasBody: true,,
_trailer: '',,
finished: true,,
_headerSent: true,,
_closed: false,,
socket: [Socket],,
_header: 'GET /WalkupScan/WalkupScanDestinations HTTP/1.1\r\n' +,
'Accept: application/json, text/plain, */*\r\n' +,
'User-Agent: axios/0.21.4\r\n' +,
'Host: 192.168.1.30\r\n' +,
'Connection: close\r\n' +,
'\r\n',,
_keepAliveTimeout: 0,,
_onPendingData: [Function: nop],,
agent: [Agent],,
socketPath: undefined,,
method: 'GET',,
maxHeaderSize: undefined,,
insecureHTTPParser: undefined,,
path: '/WalkupScan/WalkupScanDestinations',,
_ended: false,,
res: null,,
aborted: false,,
timeoutCb: null,,
upgradeOrConnect: false,,
parser: null,,
maxHeadersCount: null,,
reusedSocket: false,,
host: '192.168.1.30',,
protocol: 'http:',,
_redirectable: [Circular *1],,
[Symbol(kCapture)]: false,,
[Symbol(kNeedDrain)]: false,,
[Symbol(corked)]: 0,,
[Symbol(kOutHeaders)]: [Object: null prototype],
},,
_currentUrl: 'http://192.168.1.30/WalkupScan/WalkupScanDestinations',,
[Symbol(kCapture)]: false,
},,
response: undefined,,
isAxiosError: true,,
toJSON: [Function: toJSON],
},
Host destinations fetched: ,
New Destination registered: ARCHIVAGE - /WalkupScanToComp/WalkupScanToCompDestinations/1c852f4c-b815-1f08-86ab-a01d48c5c091,
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1c852f4c-b815-1f08-86ab-a01d48c5c091,
Start listening for new ScanEvent,
Scan event captured,
Host destinations fetched: FIXE, ARCHIVAGE,
Re-using existing destination: ARCHIVAGE - /WalkupScanToComp/WalkupScanToCompDestinations/1c852f4c-b815-1f08-86ab-a01d48c5c091,
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1c852f4c-b815-1f08-86ab-a01d48c5c091,
Start listening for new ScanEvent,
Scan event captured,
Host destinations fetched: FIXE, ARCHIVAGE,
Re-using existing destination: ARCHIVAGE - /WalkupScanToComp/WalkupScanToCompDestinations/1c852f4c-b815-1f08-86ab-a01d48c5c091,
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1c852f4c-b815-1f08-86ab-a01d48c5c091,
Start listening for new ScanEvent,
Scan event captured,
etc.
My docker-compose file :
version: "3"
services:
node-hp-scan-to:
build:
context: .
dockerfile: Dockerfile
container_name: node-hp-scan-to
hostname: ARCHIVAGE
environment:
- IP=192.168.1.30
- PATTERN="scan"_yyyymmdd_hh:MM:ss
- PGID=1000
- PUID=1000
- TZ=Europe/Paris
volumes:
- /media/Traitement:/scan
restart: always
Is there a docker configuration trick I'm missing ?
My printer is HP Officejet 6500A.
Then i select save to pdf on the printer but when i look in my tmp folder there is a jpg.
The image is fine and i can open it.
debug.log
I am able to test this on Windows if needed
Greetings! I am trying to use the docker container from docker hub, and am getting the following error:
Error [ERR_REQUIRE_ESM]: require() of ES Module /app/node_modules/dateformat/lib/dateformat.js from /app/index.js not supported.,
Instead change the require of dateformat.js in /app/index.js to a dynamic import() which is available in all CommonJS modules.,
at Object. (/app/index.js:47:36) {,
code: 'ERR_REQUIRE_ESM',
},
Unfortunately, I am not familiar with Node/TS and can't work through debugging this one. Any ideas?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
No
Describe the solution you'd like
A clear and concise description of what you want to happen.
Basically, a system where the software watches to see if the printer has any paper loaded in the ADF, and if so, scans it, and then sends it to Paperless.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Writing this myself when I have no idea how.
Additional context
Add any other context or screenshots about the feature request here.
HP sucks and while I would prefer to just get something that works, this is the best possible until then.
My Photosmart C410b has no scan destinations, which can be set.
But I know, that it is possible, to scan over network/remote from the printer
Also scanning from linux with HPLIP addon is possible.
It would be nice, if this project can also support this those printers.
Hello,
I'm using this in my workflow with paperless-ngx. Paperless includes a "consume" directory which watches the filesystem and triggers an ingestion when it sees a new file.
When scanning multiple pages into PDF with hp-scan-to, hp-scan-to will scan each page individually as a jpg into the scan directory and the combine them into a single PDF after the scan is complete.
Unfortunately, by having the hp-scan-to scan directory pointed to the Paperless consume directory this causes Paperless to start ingesting the individual jpg files vs. allowing hp-scan-to to complete the scan and combine into a single PDF.
Would it be possible to introduce an optional "working" directory for hp-scan-to to scan the individual files, combine, and then move to the "scan" directory?
When starting the container, no log is produced and it is stuck somewhere in the init procedure before showing this
Command line used:
docker run -e IP=192.168.1.53 -e CMDLINE=-D manuc66/node-hp-scan-to:latest
The log received
latest: Pulling from manuc66/node-hp-scan-to
2408cc74d12b: Already exists
8283096dcba0: Already exists
a3e654983208: Already exists
024c9a3b77d6: Already exists
06af66291f17: Pull complete
4ca063587d57: Pull complete
4a82ea43390b: Pull complete
bd2096739089: Pull complete
dc9d35495c02: Pull complete
91319420c052: Pull complete
8989054a3d87: Pull complete
Digest: sha256:9b9165a48c940dbc3e8993af2b0522a60d52b3e742c1b01045e2457b8b8d93df
Status: Downloaded newer image for manuc66/node-hp-scan-to:latest
Describe the bug
Device: HP OfficeJet Pro 9010 series
Command line or Docker : node index.js -d /scan -ip xxxx.xxxxx.xx -p "scan"_dd.mm.yyyy_hh:MM:ss -r 600 -D
Describe what is happening
When scanning using ADF (either single or dual sided), the scan won't start and the printer reports a timeout.
Please attach the output with debug (-D switch, see documentation)
scan.logs.txt
Last successful build : https://github.com/manuc66/node-hp-scan-to/actions/runs/3278864778/jobs/5397750728
Failing build sample : https://github.com/manuc66/node-hp-scan-to/actions/runs/3304345713/jobs/5453599065
Error message:
#29 [linux/arm/v7 build 4/4] RUN yarn install -d && yarn build && rm dist/*.d.ts dist/*.js.map
Error: The operation was canceled.
how can this be run in the background?
Thx!
Would like to be able to use multiple scanners and printers at one time!!
Describe the bug
First of all what such great work youve done here! Thank you for this!
Device: HP Deskjet 5525
Command line or Docker :
My Docker Config is:
hp-scan:
<<: *common-keys-core
container_name: hp-scan
image: manuc66/node-hp-scan-to:latest
hostname: orion
dns:
- 10.1.0.6
environment:
- S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
- IP=192.168.10.129
- LABEL=orion
- PATTERN="scan"_dd.mm.yyyy_hh:MM:ss
- PGID=0
- PUID=0
- TZ=Europe/Athens
volumes:
- /mnt/files/scan:/scan
networks:
private-network:
ipv4_address: 10.1.0.28
labels:
- com.centurylinklabs.watchtower.enable=true
So after the container runs for some hours these errors popup:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/10-adduser
User uid: 0
User gid: 0
-------------------------------------
cont-init: info: /etc/cont-init.d/10-adduser exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Starting
WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/node-config/node-config/wiki/Strict-Mode
WARNING: No configurations found in configuration directory:/app/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
Using device ip: 192.168.10.129
Target folder: /scan
Temp folder: /tmp/scan-to-pcJlMFDp
Running iteration: 0 - errorCount: 0
Host destinations fetched: orion
Re-using existing destination: orion - /WalkupScanToComp/WalkupScanToCompDestinations/1c8532ee-b824-1f08-9fba-2c59e5ac3dc1
Using: orion
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1c8532ee-b824-1f08-9fba-2c59e5ac3dc1
Start listening for new ScanEvent
AxiosError: timeout of 132000ms exceeded
at RedirectableRequest.handleRequestTimeout (/app/node_modules/axios/dist/node/axios.cjs:3120:16)
at RedirectableRequest.emit (node:events:517:28)
at Timeout.<anonymous> (/app/node_modules/follow-redirects/index.js:179:12)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
code: 'ECONNABORTED',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 132000,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function], Blob: [class Blob] },
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, */*',
'Content-Type': undefined,
'If-None-Match': '"1514-77"',
'User-Agent': 'axios/1.6.2',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
baseURL: 'http://192.168.10.129',
url: '/EventMgmt/EventTable?timeout=1200',
method: 'get',
responseType: 'text',
data: undefined
},
request: <ref *1> Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError],
socket: [Array]
},
_eventsCount: 3,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: Infinity,
protocol: 'http:',
path: '/EventMgmt/EventTable?timeout=1200',
method: 'GET',
headers: [Object: null prototype],
agents: [Object],
auth: undefined,
family: undefined,
beforeRedirect: [Function: dispatchBeforeRedirect],
beforeRedirects: [Object],
hostname: '192.168.10.129',
port: '',
agent: undefined,
nativeProtocols: [Object],
pathname: '/EventMgmt/EventTable',
search: '?timeout=1200'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [Socket],
_header: 'GET /EventMgmt/EventTable?timeout=1200 HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'If-None-Match: "1514-77"\r\n' +
'User-Agent: axios/1.6.2\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: 192.168.10.129\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/EventMgmt/EventTable?timeout=1200',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: [HTTPParser],
maxHeadersCount: null,
reusedSocket: false,
host: '192.168.10.129',
protocol: 'http:',
_redirectable: [Circular *1],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'http://192.168.10.129/EventMgmt/EventTable?timeout=1200',
_timeout: null,
[Symbol(kCapture)]: false
}
}
Device ip: 192.168.10.129 is down! [2023-12-02T09:53:36.383Z]
Device ip: 192.168.10.129 is up again! [2023-12-02T09:55:43.372Z]
Running iteration: 0 - errorCount: 0
Host destinations fetched: orion
Re-using existing destination: orion - /WalkupScanToComp/WalkupScanToCompDestinations/1c8532ee-b824-1f08-9fba-2c59e5ac3dc1
Using: orion
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1c8532ee-b824-1f08-9fba-2c59e5ac3dc1
Start listening for new ScanEvent
Scan event captured, saving scan #0
Selected shortcut: SaveDocument1
Scan will be converted to pdf, using /tmp/scan-to-pcJlMFDp as temp scan output directory for individual pages
ScanPlexMode is : Simplex
Afd is :
New job created: http://192.168.10.129:8080/Jobs/JobList/15
Ready to download page job page 1 at: /Scan/Jobs/15/Pages/1
Page downloaded to: /tmp/scan-to-pcJlMFDp/37can.jpg
Job state: Completed, totalPages: 1:
Start listening for new ScanEvent
New job created: http://192.168.10.129:8080/Jobs/JobList/16
Ready to download page job page 1 at: /Scan/Jobs/16/Pages/1
Page downloaded to: /tmp/scan-to-pcJlMFDp/10can.jpg
Job state: Completed, totalPages: 2:
Start listening for new ScanEvent
Scan of page(s) completed totalPages: 2:
The following page(s) have been rendered inside '/scan/15can.pdf':
- page 1 - 1654x2338
- page 2 - 1654x2338
Running iteration: 0 - errorCount: 0
Host destinations fetched: orion
Re-using existing destination: orion - /WalkupScanToComp/WalkupScanToCompDestinations/1c8532ee-b824-1f08-9fba-2c59e5ac3dc1
Using: orion
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1c8532ee-b824-1f08-9fba-2c59e5ac3dc1
Start listening for new ScanEvent
Please attach the output with debug (-D switch, see documentation)
Would it be possible to provide a dockerfile for use on a raspberry pi 4 arm64? I tried modifying the current one but getting errors on the root and rootfs
Hey,
I was hoping to finally get this POS printer and paperless to work together with this - as smb scanning errors every second try.
Sadly while the new scan location appears on the printer, it is stuck at "preparing to scan" and ends after this
logs:
https://gist.github.com/KoffeinKaio/579108135ffeddf8e61cc5f51d3e73a1
Any way I can make this work?
More than happy to provide help
Hello!
I am trying to run the docker image under Docker for Synology.
I am using an HP Officejet 5740 and, when I choose the Scan to Computer option, an "HP Scan" computer icon appears as new besides my usual network computers.
When I chose it, the printer tried to connect for a long time until an error message requesting to check the computer connection appeared.
Not sure what else I can change; everything seems to be appropriately set up.
Thanks in advance for any help!
In case it helps, the Docker log for this operation goes as follows:
0002 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations","method":"GET","responseType":"text"}
0002 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestinations xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n</wus:WalkupScanToCompDestinations>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"501","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
Host destinations fetched:
0003 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations","method":"POST","headers":{"Content-Type":"text/xml"},"data":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<WalkupScanToCompDestination xmlns=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\">\n <Hostname xmlns=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\">HP-Scan</Hostname>\n <Name xmlns=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\">HP-Scan</Name>\n <LinkType>Network</LinkType>\n</WalkupScanToCompDestination>","responseType":"text"}
0003 <- {"status":201,"data":"","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","location":"http://192.168.1.16:80/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","content-length":"0","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"Created"}
New Destination registered: HP-Scan - /WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe
Start listening for new ScanEvent
0004 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable","method":"GET","responseType":"text","headers":{}}
0004 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r<ev:EventTable xmlns:ev=\"http://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16 ../schemas/ledmEvents.xsd http://www.hp.com/schemas/imaging/con/dictionaries/1.0/ ../schemas/dd/DataDictionaryMasterLEDM.xsd\">\r\n <dd:Version>\r\n <dd:Revision>SVN.3295</dd:Revision>\r\n </dd:Version>\r\n <ev:Event>\r\n <dd:UnqualifiedEventCategory>DeviceCapabilitiesChanged</dd:UnqualifiedEventCategory>\r\n <dd:AgingStamp>546-1</dd:AgingStamp>\r\n </ev:Event>\r <ev:Event>\r\n <dd:UnqualifiedEventCategory>PowerUpEvent</dd:UnqualifiedEventCategory>\r\n <dd:AgingStamp>582-1</dd:AgingStamp>\r\n </ev:Event>\r <ev:Event>\r\n <dd:UnqualifiedEventCategory>AlertTableChanged</dd:UnqualifiedEventCategory>\r\n <dd:AgingStamp>582-7</dd:AgingStamp>\r\n </ev:Event>\r</ev:EventTable>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","etag":"\"582-7\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0005 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable?timeout=1200","method":"GET","responseType":"text","headers":{"If-None-Match":"\"582-7\""}}
0005 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r<ev:EventTable xmlns:ev=\"http://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16 ../schemas/ledmEvents.xsd http://www.hp.com/schemas/imaging/con/dictionaries/1.0/ ../schemas/dd/DataDictionaryMasterLEDM.xsd\">\r\n <dd:Version>\r\n <dd:Revision>SVN.3295</dd:Revision>\r\n </dd:Version>\r\n <ev:Event>\r\n <dd:UnqualifiedEventCategory>ScanEvent</dd:UnqualifiedEventCategory>\r\n <dd:AgingStamp>582-8</dd:AgingStamp>\r\n <ev:Payload>\r\n <dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n <dd:ResourceType>wus:WalkupScanToCompDestination</dd:ResourceType>\r\n </ev:Payload>\r\n <ev:Payload>\r\n <dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompEvent</dd:ResourceURI>\r\n <dd:ResourceType>wus:WalkupScanToCompEvent</dd:ResourceType>\r\n </ev:Payload>\r\n </ev:Event>\r</ev:EventTable>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","etag":"\"582-8\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
Scan event captured, saving scan
0006 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0006 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 1/20
0007 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0007 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 2/20
0008 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0008 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 3/20
0009 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0009 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 4/20
0010 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0010 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 5/20
0011 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0011 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 6/20
0012 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0012 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 7/20
0013 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0013 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 8/20
0014 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0014 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 9/20
0015 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0015 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 10/20
0016 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0016 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 11/20
0017 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0017 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 12/20
0018 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0018 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 13/20
0019 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0019 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 14/20
0020 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0020 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 15/20
0021 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0021 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 16/20
0022 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0022 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 17/20
0023 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0023 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 18/20
0024 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0024 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 19/20
0025 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe","method":"GET","responseType":"text"}
0025 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestination xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:scantype=\"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t<dd:Name>HP-Scan</dd:Name>\r\n\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t<wus:LinkType>Network</wus:LinkType>\r\n</wus:WalkupScanToCompDestination>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"805","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
No shortcut yet available, attempt: 20/20
Failing to detect destination shortcut
{"data":{"wus:WalkupScanToCompDestination":{"$":{"xsi:schemaLocation":"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd","xmlns:dd":"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/","xmlns:dd3":"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06","xmlns:scantype":"http://www.hp.com/schemas/imaging/con/ledm/scantype/2008/03/17","xmlns:wus":"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"dd:ResourceURI":["/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe"],"dd:Name":["HP-Scan"],"dd3:Hostname":["HP-Scan"],"wus:LinkType":["Network"]}}}
No shortcut selected!
Running iteration: 0 - errorCount: 0
0026 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompCaps","method":"GET","responseType":"text"}
0026 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompCaps xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 ../../schemas/WalkupScanToComp.xsd\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<dd:Version>\r\n\t\t<dd:Revision>SVN-IPG-LEDM.351</dd:Revision>\r\n\t</dd:Version>\r\n\t<wus:MaxNetworkDestinations>15</wus:MaxNetworkDestinations>\r\n\t<wus:SupportsMultiItemScanFromPlaten>true</wus:SupportsMultiItemScanFromPlaten>\r\n\t<wus:UserActionTimeout>\r\n\t\t<dd:ValueFloat>60</dd:ValueFloat>\r\n\t\t<dd:Unit>seconds</dd:Unit>\r\n\t</wus:UserActionTimeout>\r\n\t<wus:ShortcutSupport access=\"readOnly\">\r\n\t\t<wus:Shortcut>SavePDF</wus:Shortcut>\r\n\t\t<wus:Shortcut>SaveJPEG</wus:Shortcut>\r\n\t\t<wus:Shortcut>SaveEditableText</wus:Shortcut>\r\n\t\t<wus:Shortcut>EmailPDF</wus:Shortcut>\r\n\t\t<wus:Shortcut>EmailJPEG</wus:Shortcut>\r\n\t\t<wus:Shortcut>GeneralScan</wus:Shortcut>\r\n\t</wus:ShortcutSupport>\r\n</wus:WalkupScanToCompCaps>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"1091","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0027 -> {"baseURL":"http://192.168.1.16","url":"/WalkupScanToComp/WalkupScanToCompDestinations","method":"GET","responseType":"text"}
0027 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!---->\r\n<wus:WalkupScanToCompDestinations xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28 WalkupScanToComp.xsd\" xmlns:wus=\"http://www.hp.com/schemas/imaging/con/ledm/walkupscan/2010/09/28\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:dd3=\"http://www.hp.com/schemas/imaging/con/dictionaries/2009/04/06\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<wus:WalkupScanToCompDestination>\r\n\t\t<dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n\t\t<dd:Name>HP-Scan</dd:Name>\r\n\t\t<dd3:Hostname>HP-Scan</dd3:Hostname>\r\n\t\t<wus:LinkType>Network</wus:LinkType>\r\n\t</wus:WalkupScanToCompDestination>\r\n</wus:WalkupScanToCompDestinations>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","content-length":"804","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
Host destinations fetched: HP-Scan
Re-using existing destination: HP-Scan - /WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe
Waiting scan event for: /WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe
Start listening for new ScanEvent
0028 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable","method":"GET","responseType":"text","headers":{}}
0028 <- {"status":200,"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r<!-- THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN. -->\r<ev:EventTable xmlns:ev=\"http://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16\" xmlns:dd=\"http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16 ../schemas/ledmEvents.xsd http://www.hp.com/schemas/imaging/con/dictionaries/1.0/ ../schemas/dd/DataDictionaryMasterLEDM.xsd\">\r\n <dd:Version>\r\n <dd:Revision>SVN.3295</dd:Revision>\r\n </dd:Version>\r\n <ev:Event>\r\n <dd:UnqualifiedEventCategory>DeviceCapabilitiesChanged</dd:UnqualifiedEventCategory>\r\n <dd:AgingStamp>546-1</dd:AgingStamp>\r\n </ev:Event>\r <ev:Event>\r\n <dd:UnqualifiedEventCategory>PowerUpEvent</dd:UnqualifiedEventCategory>\r\n <dd:AgingStamp>582-1</dd:AgingStamp>\r\n </ev:Event>\r <ev:Event>\r\n <dd:UnqualifiedEventCategory>AlertTableChanged</dd:UnqualifiedEventCategory>\r\n <dd:AgingStamp>582-7</dd:AgingStamp>\r\n </ev:Event>\r <ev:Event>\r\n <dd:UnqualifiedEventCategory>ScanEvent</dd:UnqualifiedEventCategory>\r\n <dd:AgingStamp>582-9</dd:AgingStamp>\r\n <ev:Payload>\r\n <dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompDestinations/1c8564a2-b8f8-1f08-b758-ecb1d7e039fe</dd:ResourceURI>\r\n <dd:ResourceType>wus:WalkupScanToCompDestination</dd:ResourceType>\r\n </ev:Payload>\r\n <ev:Payload>\r\n <dd:ResourceURI>/WalkupScanToComp/WalkupScanToCompEvent</dd:ResourceURI>\r\n <dd:ResourceType>wus:WalkupScanToCompEvent</dd:ResourceType>\r\n </ev:Payload>\r\n </ev:Event>\r</ev:EventTable>\r\n","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-type":"text/xml","etag":"\"582-9\"","transfer-encoding":"chunked","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"OK"}
0029 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable?timeout=1200","method":"GET","responseType":"text","headers":{"If-None-Match":"\"582-9\""}}
0029 <- {"status":304,"data":"","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-length":"0","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"Not Modified"}
0030 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable?timeout=1200","method":"GET","responseType":"text","headers":{"If-None-Match":"\"582-9\""}}
0030 <- {"status":304,"data":"","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-length":"0","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"Not Modified"}
0031 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable?timeout=1200","method":"GET","responseType":"text","headers":{"If-None-Match":"\"582-9\""}}
0031 <- {"status":304,"data":"","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-length":"0","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"Not Modified"}
0032 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable?timeout=1200","method":"GET","responseType":"text","headers":{"If-None-Match":"\"582-9\""}}
0032 <- {"status":304,"data":"","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-length":"0","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"Not Modified"}
0033 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable?timeout=1200","method":"GET","responseType":"text","headers":{"If-None-Match":"\"582-9\""}}
0033 <- {"status":304,"data":"","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-length":"0","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"Not Modified"}
0034 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable?timeout=1200","method":"GET","responseType":"text","headers":{"If-None-Match":"\"582-9\""}}
0034 <- {"status":304,"data":"","headers":{"server":"HP HTTP Server; HP Officejet 5740 series - B9S79A; Serial Number: XXXXX; Built:Tue May 26, 2020 04:29:40PM {NPM5CN2022AR}","content-length":"0","cache-control":"must-revalidate, max-age=0","pragma":"no-cache"},"statusText":"Not Modified"}
0035 -> {"baseURL":"http://192.168.1.16","url":"/EventMgmt/EventTable?timeout=1200","method":"GET","responseType":"text","headers":{"If-None-Match":"\"582-9\""}}
Hello - I'm attempting to set this up as a container in Docker on Unraid (version 6.12.8), but as soon as I specify the printer IP as an environment variable (per the configuration instructions) it results in the container crashing and restarting rapidly until eventually the system kills it altogether. The container's log indicates that the issue is that the printer is an "unknown device", and with the container generating a 404 not found error after trying to initiate connection.
Device is a HP Color LaserJet MFP M283fdw, tested as working with scan to computer on a Windows PC (Windows 10), with firmware revision dated 2020-06-03. Note that I cannot update the firmware as HP removed scan to computer from this printer model with later revisions for some reason, however scan to computer does still work with the most recent version of HP software.
Here is my docker run (though no errors occur unless the IP address of the printer is specified, the container appears to start correctly otherwise but ofc is not detectable by the printer without that IP address being set):
docker run
-d
--name='node-hp-scan-to'
--net='bridge'
-e TZ="Europe/London"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Tower"
-e HOST_CONTAINERNAME="node-hp-scan-to"
-e 'IP'='192.168.0.108'
-e 'PGID'='100'
-e 'PUID'='99'
-e 'UMASK'='022'
-e 'PATTERN'='"scan"_dd.mm.yyyy_hh:MM:ss'
-e 'RESOLUTION'='300'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.icon='https://i.ibb.co/SshKGrH/Colors-HP-Logo.jpg'
-v '/mnt/user/Paperless/consume/':'/scan':'rw'
-v '/mnt/user/Paperless/hp-temp/':'/temp':'rw' 'manuc66/node-hp-scan-to:latest'
And here are my logs (they repeat exactly 50 times once the container is started until the container is killed entirely):
Starting
Using device ip: 192.168.0.108
IsDebug: true
Target folder: /scan
Temp folder: /tmp/scan-to-pcGNNlHa
0001 -> {"baseURL":"http://192.168.0.108","url":"/DevMgmt/DiscoveryTree.xml","method":"GET","responseType":"text"}
0001 <- {"status":200,"data":"\n<ledm:DiscoveryTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance\" xmlns:dd="http://www.hp.com/schemas/imaging/con/dictionaries/1.0/\" xmlns:ledm="http://www.hp.com/schemas/imaging/con/ledm/2007/09/21\" xsi:schemaLocation="http://www.hp.com/schemas/imaging/con/dictionaries/1.0/ dd/DataDictionaryMasterLEDM.xsd http://www.hp.com/schemas/imaging/con/ledm/2007/09/21 LEDM.xsd">dd:Versiondd:RevisionSVN-IPG-LEDM.29</dd:Revision></dd:Version>ledm:SupportedTreedd:ResourceURI/DevMgmt/ConsumableConfigCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmConsumableConfigCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/consumableconfigcap/2007/11/19</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ConsumableConfigDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmConsumableConfigDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/consumableconfigdyn/2007/11/19</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ConsumableConfigSecureManifest.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmConsumableConfigSecureManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/Supplies/HPSupplyMemory.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmHPSupplyMemory</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/hpsupplyMemory/2014/01/21</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/Supplies/CartridgeHistory.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmCartridgeHistory</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/cartridgehistory/2013/12/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ShopForSupplies.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmShopForSupplies</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/ljs/shopforsuppliesrequest/2007/11/07</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/InternalPrintDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmInternalPrintDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/internalprintdyn/2008/03/21</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/InternalPrintCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmInternalPrintCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/internalprintcap/2008/03/21</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/MediaDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmMediaDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/mediadyn/2009/05/21</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/MediaCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmMediaCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/mediacap/2009/05/21</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/MediaHandlingDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmMediaHandlingDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/mediahandlingdyn/2007/11/21</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/MediaHandlingCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmMediaHandlingCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/mediahandlingcap/2009/06/25</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/MassStorageConfigDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmMassStorageConfigDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/massstorageconfigdyn/2008/01/25</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/MassStorageConfigCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmMassStorageConfigCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/massstorageconfigcap/2009/01/12</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/PrintConfigDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmPrintConfigDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/printconfigdyn/2009/05/06</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/PrintConfigCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmPrintConfigCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/printconfigcap/2009/05/06</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ProductStatusDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmProductStatusDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/productstatusdyn/2007/10/31</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ProductStatusCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmProductStatusCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/productstatuscap/2007/10/31</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ProductConfigDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmProductConfigDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/productconfigdyn/2009/03/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ProductConfigCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmProductConfigCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/productconfigcap/2009/03/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ProductUsageDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmProductUsageDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/productusagedyn/2007/12/11</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ProductUsageCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmProductUsageCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/productusagecap/2007/12/11</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ProductLogsDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmProductLogsDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/productlogsdyn/2008/01/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/ProductLogsCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmProductLogsCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/productlogscap/2008/01/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/SecurityDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmSecurityDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/securitydyn/2008/02/01</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/SecurityCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmSecurityCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/securitycap/2008/02/01</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/EventMgmt/EventTable.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmEventTable</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/EventMgmt/EventCapabilities.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmEventCapabilities</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/EventMgmt/SubscriptionList.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmSubscriptionList</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/events/2007/09/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/IOConfigDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmIoConfigDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/ioconfigdyn/2009/03/17</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/IOConfigCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmIoConfigCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/ioconfigcap/2009/03/17</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxPhoneBookCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxPhoneBookCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxphonebookcap/2008/03/17</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxPhoneBookDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxPhoneBookDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxphonebookdyn/2008/03/17</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxActivityLogDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxActivityLogDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxactivitylogdyn/2008/01/25</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxActivityLogCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxActivityLogCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxactivitylogcap/2008/01/25</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxBlockListDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxBlockListDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxblklistdyn/2008/04/03</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxBlockListCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxBlockListCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxblklistcap/2008/04/03</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxConfigDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxConfigDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxconfigdyn/2009/03/03</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxConfigCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxConfigCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxconfigcap/2009/03/03</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxUploadCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxUploadCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxuploadcap/2008/08/12</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxUploadDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxUploadDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxuploaddyn/2008/07/01</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/Jobs/Joblist/FaxUpload</dd:ResourceURI>dd:ResourceTypeledm:hpLedmJobEvent</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/jobs/2009/04/30</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/FaxTestCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmFaxTestCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/faxtestcap/2009/03/16</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/NetAppsDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmNetAppsDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/netappdyn/2009/06/24</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/NetAppsCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmNetAppsCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/netappcap/2009/06/24</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/CopyConfigCap.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmCopyConfigCap</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/cpcfgcap/2008/05/05</dd:Revision></ledm:SupportedTree>ledm:SupportedTreedd:ResourceURI/DevMgmt/CopyConfigDyn.xml</dd:ResourceURI>dd:ResourceTypeledm:hpLedmCopyConfigDyn</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/cpcfgdyn/2008/05/05</dd:Revision></ledm:SupportedTree>ledm:SupportedIfcledm:ManifestURI/Copy/CopyManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpLedmCopyManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/Security/CertificateManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpCertificateManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/DevMgmt/Folder/FolderServiceManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpLedmFolderServiceManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/DevMgmt/Email/EmailServiceManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpLedmEmailServiceManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/IoMgmt/IoMgmtManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpLedmIoMgmt</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/FirmwareUpdate/FirmwareUpdateManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpLedmFirmwareUpdateManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/EventMgmt/EventMgmtManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpLedmEventMgmtManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/ePrint/ePrintManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpePrintManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/CloudAppPlayer/CloudAppPlayerManifest.xml</ledm:ManifestURI>dd:ResourceTypecloud:hpRestCloudAppPlayerManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/eFCL/eFclManifest.xml</ledm:ManifestURI>dd:ResourceTypeeFCL:eFclManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/eSCL/eSclManifest.xml</ledm:ManifestURI>dd:ResourceTypeeSCL:eSclManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/04</dd:Revision></ledm:SupportedIfc>ledm:SupportedIfcledm:ManifestURI/DevMgmt/NetAppsSecureManifest.xml</ledm:ManifestURI>dd:ResourceTypeledm:hpLedmNetAppsSecureManifest</dd:ResourceType>dd:Revisionhttp://www.hp.com/schemas/imaging/con/ledm/manifest/2009/03/24</dd:Revision></ledm:SupportedIfc>ledm:SupportedFeaturedd:ResourceURI/ipp/print</dd:ResourceURI>dd:ResourceTypepwg:hpIPPPrint</dd:ResourceType>dd:Revisionhttp://www.pwg.org/ipp/2.0</dd:Revision></ledm:SupportedFeature></ledm:DiscoveryTree>","headers":{"cache-control":"no-cache, no-store, must-revalidate","server":"gSOAP/2.7","content-type":"text/xml; charset=utf-8","content-length":"15884","connection":"close"},"statusText":"OK"}
Unknown device!
Running iteration: 0 - errorCount: 0
0002 -> {"baseURL":"http://192.168.0.108","url":"/WalkupScan/WalkupScanDestinations","method":"GET","responseType":"text"}
0002 <- {"status":404,"data":"404 Not Found\r\n","headers":{"server":"Virata-EmWeb/R6_2_1","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","cache-control":"no-cache, no-store, must-revalidate","connection":"close","content-length":"15","content-type":"text/html"},"statusText":"Not Found"}
AxiosError: Request failed with status code 404
at settle (/app/node_modules/axios/dist/node/axios.cjs:1967:12)
at IncomingMessage.handleStreamEnd (/app/node_modules/axios/dist/node/axios.cjs:3066:11)
at IncomingMessage.emit (node:events:529:35)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (/app/node_modules/axios/dist/node/axios.cjs:3877:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async HPApi.callAxios (/app/HPApi.js:78:30)
at async HPApi.getWalkupScanDestinations (/app/HPApi.js:146:26)
at async registerWalkupScanDestination (/app/listening.js:71:36)
at async waitScanEvent (/app/listening.js:94:23)
at async listenCmd (/app/index.js:34:27)
at async Command. (/app/index.js:214:9)
at async Command.parseAsync (/app/node_modules/commander/lib/command.js:1015:5)
at async main (/app/index.js:254:5) {
code: 'ERR_BAD_REQUEST',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function], Blob: [class Blob] },
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, /',
'Content-Type': undefined,
'User-Agent': 'axios/1.6.7',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
baseURL: 'http://192.168.0.108',
url: '/WalkupScan/WalkupScanDestinations',
method: 'get',
responseType: 'text',
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype] {
abort: [Function (anonymous)],
aborted: [Function (anonymous)],
connect: [Function (anonymous)],
error: [Function (anonymous)],
socket: [Function (anonymous)],
timeout: [Function (anonymous)],
finish: [Function: requestOnFinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: Socket {
connecting: false,
_hadError: false,
_parent: null,
_host: null,
_closeAfterHandlingError: false,
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular *1],
[Symbol(async_id_symbol)]: 49,
[Symbol(kHandle)]: null,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kSetNoDelay)]: true,
[Symbol(kSetKeepAlive)]: true,
[Symbol(kSetKeepAliveInitialDelay)]: 60,
[Symbol(kBytesRead)]: 248,
[Symbol(kBytesWritten)]: 205
},
_header: 'GET /WalkupScan/WalkupScanDestinations HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'User-Agent: axios/1.6.7\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: 192.168.0.108\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/WalkupScan/WalkupScanDestinations',
_ended: true,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
socket: [Socket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'Not Found',
client: [Socket],
_consuming: false,
_dumped: false,
req: [Circular *1],
responseUrl: 'http://192.168.0.108/WalkupScan/WalkupScanDestinations',
redirects: [],
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 14,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '192.168.0.108',
protocol: 'http:',
_redirectable: Writable {
_writableState: [WritableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular *1],
_currentUrl: 'http://192.168.0.108/WalkupScan/WalkupScanDestinations',
[Symbol(kCapture)]: false
},
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'user-agent': [Array],
'accept-encoding': [Array],
host: [Array]
},
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
response: {
status: 404,
statusText: 'Not Found',
headers: Object [AxiosHeaders] {
server: 'Virata-EmWeb/R6_2_1',
'x-frame-options': 'SAMEORIGIN',
'x-content-type-options': 'nosniff',
'cache-control': 'no-cache, no-store, must-revalidate',
connection: 'close',
'content-length': '15',
'content-type': 'text/html'
},
config: {
transitional: [Object],
adapter: [Array],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: [Object],
validateStatus: [Function: validateStatus],
headers: [Object [AxiosHeaders]],
baseURL: 'http://192.168.0.108',
url: '/WalkupScan/WalkupScanDestinations',
method: 'get',
responseType: 'text',
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [Socket],
_header: 'GET /WalkupScan/WalkupScanDestinations HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'User-Agent: axios/1.6.7\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: 192.168.0.108\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/WalkupScan/WalkupScanDestinations',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '192.168.0.108',
protocol: 'http:',
_redirectable: [Writable],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
data: '404 Not Found\r\n'
}
}
I'm aware that using macvlan and specifying the printer's name is an alternative configuration method, but unfortunately macvlan was removed from recent versions of Unraid. My suspicion is that there is an incompatibility between Unraid's new Docker networking approach and node-hp-scan-to, but I'm not sure of the exact culprit.
Hi. I came here from arch linux, searched scanning utility for linux and found node-hp-scan-to package: https://aur.archlinux.org/packages/node-hp-scan-to
I read readme, but it is not clear what this project is. It is not related to hp-scan utility, right? It is said that it is made by reverse engineer the windows app. What exactly app? Can you please describe that in readme?
Describe the bug
Device: HP Officejet Pro 7720
Command line or Docker :
npx node-hp-scan-to@latest -ip 192.168.10.50 -l scan-to-paperless -d /var/scan
Describe what is happening
After files are scanned, they are moved to a second /tmp directory, instead of the specified target directory. npx reports it is installing v1.3.0, I have cleared npx cache as well.
I assume this is similar to 664?
Please attach the output with debug (-D switch, see documentation)
node-hp-scan-to_debug.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.