Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Remains in Queue After Printing #25

Open
dapperdandev opened this issue Oct 2, 2018 · 2 comments
Open

Document Remains in Queue After Printing #25

dapperdandev opened this issue Oct 2, 2018 · 2 comments

Comments

@dapperdandev
Copy link

Issue Details
Printed pages remain in the queue after the file has been saved

image

Also, if I right-click > Cancel, I get the message: "Error Processing Command"

System Details

  • Windows 10 Pro Version 1803 (OS Build 17134.285) / 64-bit
  • Node 8.11.1
  • NPM 5.6.0

Debug Log - Attempt to Cancel

  ipp-printer IPP/1.0 operation 8 (request #8) [ { tag: 1,
    attributes:
     [ { tag: 71, name: 'attributes-charset', value: [ 'utf-8' ] },
       { tag: 72,
         name: 'attributes-natural-language',
         value: [ 'en-us' ] },
       { tag: 69,
         name: 'printer-uri',
         value: [ 'http://localhost:3000' ] },
       { tag: 33, name: 'job-id', value: [ 1 ] },
       { tag: 66,
         name: 'requesting-user-name',
         value: [ 'daniel.breen' ] } ] } ] +3ms
  ipp-printer responding to request #8 { version: { major: 1, minor: 0 },
  statusCode: 1030,
  requestId: 8,
  groups:
   [ { tag: 1,
       attributes:
        [ { tag: 71, name: 'attributes-charset', value: 'utf-8' },
          { tag: 72, name: 'attributes-natural-language', value: 'en-us' },
          { tag: 53,
            name: 'status-message',
            value: { lang: 'en-us', value: 'client-error-not-found' } } ] } ] } +1ms

Debug Log - Printed Test Page

Printer created
  ipp-printer printer "Local Test" is listening on ipp://DESKTOP-RJMKARL:3000/ +0ms
  ipp-printer printer "Local Test" changed state to idle +1ms
  ipp-printer advertising printer "Local Test" on network on port 3000 +0ms
  ipp-printer HTTP request: POST / +4s
  ipp-printer IPP/1.0 operation 11 (request #11) [ { tag: 1,
    attributes:
     [ { tag: 71, name: 'attributes-charset', value: [ 'utf-8' ] },
       { tag: 72,
         name: 'attributes-natural-language',
         value: [ 'en-us' ] },
       { tag: 69,
         name: 'printer-uri',
         value: [ 'http://localhost:3000' ] } ] } ] +3ms
  ipp-printer responding to request #11 { version: { major: 1, minor: 0 },
  statusCode: 0,
  requestId: 11,
  groups:
   [ { tag: 1,
       attributes:
        [ { tag: 71, name: 'attributes-charset', value: 'utf-8' },
          { tag: 72, name: 'attributes-natural-language', value: 'en-us' },
          { tag: 53,
            name: 'status-message',
            value: { lang: 'en-us', value: 'successful-ok' } } ] },
     { tag: 5,
       attributes: [ { tag: 16, name: 'all', value: 'unsupported' } ] },
     { tag: 4,
       attributes:
        [ { tag: 69,
            name: 'printer-uri-supported',
            value: 'ipp://DESKTOP-RJMKARL:3000/' },
          { tag: 68, name: 'uri-security-supported', value: 'none' },
          { tag: 68, name: 'uri-authentication-supported', value: 'none' },
          { tag: 54,
            name: 'printer-name',
            value: { lang: 'en-us', value: 'Local Test' } },
          { tag: 35, name: 'printer-state', value: 3 },
          { tag: 68, name: 'printer-state-reasons', value: 'none' },
          { tag: 68, name: 'ipp-versions-supported', value: '1.1' },
          { tag: 35,
            name: 'operations-supported',
            value: [ 2, 4, 10, 11, 8, 9 ] },
          { tag: 71, name: 'charset-configured', value: 'utf-8' },
          { tag: 71, name: 'charset-supported', value: 'utf-8' },
          { tag: 72, name: 'natural-language-configured', value: 'en-us' },
          { tag: 72,
            name: 'generated-natural-language-supported',
            value: 'en-us' },
          { tag: 73,
            name: 'document-format-default',
            value: 'application/postscript' },
          { tag: 73,
            name: 'document-format-supported',
            value:
             [ 'text/html',
               'text/plain',
               'application/vnd.hp-PCL',
               'application/octet-stream',
               'application/pdf',
               'application/postscript' ] },
          { tag: 34, name: 'printer-is-accepting-jobs', value: true },
          { tag: 33, name: 'queued-job-count', value: 0 },
          { tag: 68,
            name: 'pdl-override-supported',
            value: 'not-attempted' },
          { tag: 33, name: 'printer-up-time', value: 4 },
          { tag: 49,
            name: 'printer-current-time',
            value: 2018-10-02T20:08:49.797Z },
          { tag: 68,
            name: 'compression-supported',
            value: [ 'deflate', 'gzip' ] } ] } ] } +1ms
  ipp-printer HTTP request: POST / +236ms
  ipp-printer IPP/1.0 operation 2 (request #2) [ { tag: 1,
    attributes:
     [ { tag: 71, name: 'attributes-charset', value: [ 'utf-8' ] },
       { tag: 72,
         name: 'attributes-natural-language',
         value: [ 'en-us' ] },
       { tag: 69,
         name: 'printer-uri',
         value: [ 'http://localhost:3000' ] },
       { tag: 66, name: 'job-name', value: [ 'Test Page' ] },
       { tag: 66,
         name: 'requesting-user-name',
         value: [ 'daniel.breen' ] } ] },
  { tag: 2, attributes: [] } ] +1ms
[job 1] Printing document: Test Page
  ipp-printer responding to request #2 { version: { major: 1, minor: 0 },
  statusCode: 0,
  requestId: 2,
  groups:
   [ { tag: 1,
       attributes:
        [ { tag: 71, name: 'attributes-charset', value: 'utf-8' },
          { tag: 72, name: 'attributes-natural-language', value: 'en-us' },
          { tag: 53,
            name: 'status-message',
            value: { lang: 'en-us', value: 'successful-ok' } } ] },
     { tag: 2,
       attributes:
        [ { tag: 33, name: 'job-id', value: 1 },
          { tag: 69,
            name: 'job-uri',
            value: 'ipp://DESKTOP-RJMKARL:3000/1' },
          { tag: 35, name: 'job-state', value: 5 } ] } ] } +9ms
[job 1] Document saved as job-1.ps
@daynier
Copy link

daynier commented Jan 15, 2019

Ever got a solution for this?

@dapperdandev
Copy link
Author

@daynier

Hey! Sorry. We forked this at work and my teammate was able to fix it. We should have been better about making a PR at that time.

Given the lack of activity on this repo, I'd recommend making a fork for yourself as well, and implementing the code from the PR (it's very minimal). I'd say that you could fork mine but I don't plan on being a maintainer, so you'd be taking a risk there too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants