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

Equipment generates more than one print in the job queue #1702

Open
genus-m opened this issue Dec 20, 2023 · 0 comments
Open

Equipment generates more than one print in the job queue #1702

genus-m opened this issue Dec 20, 2023 · 0 comments
Labels

Comments

@genus-m
Copy link

genus-m commented Dec 20, 2023

Describe the bug
When the equipment tries to print, it seems like it generates more than one job. It works ok when trying from Weasis. Appreciate any help or suggestion.

Error LOG
Starting print SCP server with AET: DWPRINT_RX on port 106
Press any key to stop the service
info: FellowOakDicom.Network[0]
      NXMIX2 <- Association request:
Calling AE Title:       NXMIX2
Called AE Title:        DWPRINT_RX
Remote host:            10.62.208.69
Remote port:            58774
Implementation Class:   Implementation Class UID [1.3.51.0.1.3]
Implementation Version: DPM1.00
Maximum PDU Length:     65542
Async Ops Invoked:      1
Async Ops Performed:    1
Presentation Contexts:  5
  Presentation Context:  1 [Proposed]
       Abstract Syntax:  Basic Grayscale Print Management Meta SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  3 [Proposed]
       Abstract Syntax:  Verification SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  5 [Proposed]
       Abstract Syntax:  Print Job SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  7 [Proposed]
       Abstract Syntax:  Basic Annotation Box SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  9 [Proposed]
       Abstract Syntax:  Print Queue Management SOP Class (Retired)
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
info: FellowOakDicom.Network[0]
      Received association request from AE: NXMIX2 with IP: 10.62.208.69 
warn: FellowOakDicom.Network[0]
      Requested abstract syntax Basic Annotation Box SOP Class [1.2.840.10008.5.1.1.15] from NXMIX2 not supported
warn: FellowOakDicom.Network[0]
      Requested abstract syntax Print Queue Management SOP Class (Retired) [1.2.840.10008.5.1.1.26] from NXMIX2 not supported
info: FellowOakDicom.Network[0]
      Accepted association request from NXMIX2
info: FellowOakDicom.Network[0]
      NXMIX2 -> Association accept:
Calling AE Title:       NXMIX2
Called AE Title:        DWPRINT_RX
Remote host:            10.62.208.69
Remote port:            58774
Implementation Class:   Implementation Class UID [1.3.51.0.1.3]
Implementation Version: DPM1.00
Maximum PDU Length:     65542
Async Ops Invoked:      1
Async Ops Performed:    1
Presentation Contexts:  5
  Presentation Context:  1 [Accept]
       Abstract Syntax:  Basic Grayscale Print Management Meta SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  3 [Accept]
       Abstract Syntax:  Verification SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  5 [Accept]
       Abstract Syntax:  Print Job SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  7 [RejectAbstractSyntaxNotSupported]
       Abstract Syntax:  Basic Annotation Box SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  9 [RejectAbstractSyntaxNotSupported]
       Abstract Syntax:  Print Queue Management SOP Class (Retired)
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-Create request [1]
info: FellowOakDicom.Network[0]
      Create new film session 2.25.43515460299386228094918652940788783590
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-Create response [1]: Success
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-Create request [2]
info: FellowOakDicom.Printing[0]
      Applying display format STANDARD\1,1 for film box Local UID [2.25.58820941636141331615488509670587290004]
info: FellowOakDicom.Network[0]
      Created new film box 2.25.58820941636141331615488509670587290004
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-Create response [2]: Success
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-Set request [3]
info: FellowOakDicom.Network[0]
      Set image box 2.25.58820941636141331615488509670587290004.1
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-Set response [3]: Success
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-Get request [4]
info: FellowOakDicom.Network[0]
      N-Get request [4]
      --------------------------------------------------------------------------------
       DIMSE Command:
      --------------------------------------------------------------------------------
      (0000,0000) UL 134                                                                #     4, CommandGroupLength
      (0000,0003) UI [1.2.840.10008.5.1.1.16]                                           #    22, RequestedSOPClassUID
      (0000,0100) US 272                                                                #     2, CommandField
      (0000,0110) US 4                                                                  #     2, MessageID
      (0000,0800) US 257                                                                #     2, CommandDataSetType
      (0000,1001) UI [1.2.840.10008.5.1.1.17]                                           #    22, RequestedSOPInstanceUID
      (0000,1005) AT (0008,0070)/(0008,1090)/(0018,1000)/(0018,1020)/(0018,1200)/(0018,1#    36, AttributeIdentifierList
      
      --------------------------------------------------------------------------------
      
info: FellowOakDicom.Network[0]
      GetPrinter attribute (0008,0070) requested
      GetPrinter attribute (0008,1090) requested
      GetPrinter attribute (0018,1000) requested
      GetPrinter attribute (0018,1020) requested
      GetPrinter attribute (0018,1200) requested
      GetPrinter attribute (0018,1201) requested
      GetPrinter attribute (2110,0010) requested
      GetPrinter attribute (2110,0020) requested
      GetPrinter attribute (2110,0030) requested
      
info: FellowOakDicom.Network[0]
      N-Get response [4]: Success
      --------------------------------------------------------------------------------
       DIMSE Command:
      --------------------------------------------------------------------------------
      (0000,0002) UI [1.2.840.10008.5.1.1.16]                                           #    22, AffectedSOPClassUID
      (0000,0100) US 33040                                                              #     2, CommandField
      (0000,0120) US 4                                                                  #     2, MessageIDBeingRespondedTo
      (0000,0800) US 514                                                                #     2, CommandDataSetType
      (0000,0900) US 0                                                                  #     2, Status
      (0000,1000) UI [1.2.840.10008.5.1.1.17]                                           #    22, AffectedSOPInstanceUID
      
      --------------------------------------------------------------------------------
       DIMSE Dataset:
      --------------------------------------------------------------------------------
      (0008,0070) LO (no value available)                                               #     0, Manufacturer
      (0008,1090) LO (no value available)                                               #     0, ManufacturerModelName
      (0018,1000) LO (no value available)                                               #     0, DeviceSerialNumber
      (0018,1020) LO (no value available)                                               #     0, SoftwareVersions
      (0018,1200) DA [20231220]                                                         #     8, DateOfLastCalibration
      (0018,1201) TM [114851]                                                           #     6, TimeOfLastCalibration
      (2110,0010) CS [NORMAL]                                                           #     6, PrinterStatus
      (2110,0020) CS [NORMAL]                                                           #     6, PrinterStatusInfo
      (2110,0030) LO (no value available)                                               #     0, PrinterName
      
      --------------------------------------------------------------------------------
      
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-Get response [4]: Success
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-Action request [5]
		Action Type:	0001
info: FellowOakDicom.Network[0]
      Creating new print job for film box 2.25.58820941636141331615488509670587290004
info: FellowOakDicom.Network[0]
      Print Job 116559339974615776744930861858404222118 Status Pending: QUEUED
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-EventReport request [1]
		Event Type:	0001
info: FellowOakDicom.Network[0]
      Print Job 116559339974615776744930861858404222118 Status Printing: QUEUED
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-EventReport response [1]: Success
		Event Type:	0001
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-Action response [5]: Success
		Action Type:	0001
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-EventReport request [2]
		Event Type:	0002
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-EventReport response [2]: Success
		Event Type:	0002
info: FellowOakDicom.Network[0]
      NXMIX2 <- Abort: ServiceUser - NotSpecified
fail: FellowOakDicom.Network[0]
      Received abort from ServiceUser, reason is NotSpecified
info: FellowOakDicom.Network[0]
      Connection closed
info: FellowOakDicom.Network[0]
      NXMIX2 <- Association request:
Calling AE Title:       NXMIX2
Called AE Title:        DWPRINT_RX
Remote host:            10.62.208.69
Remote port:            58777
Implementation Class:   Implementation Class UID [1.3.51.0.1.3]
Implementation Version: DPM1.00
Maximum PDU Length:     65542
Async Ops Invoked:      1
Async Ops Performed:    1
Presentation Contexts:  5
  Presentation Context:  1 [Proposed]
       Abstract Syntax:  Basic Grayscale Print Management Meta SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  3 [Proposed]
       Abstract Syntax:  Verification SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  5 [Proposed]
       Abstract Syntax:  Print Job SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  7 [Proposed]
       Abstract Syntax:  Basic Annotation Box SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  9 [Proposed]
       Abstract Syntax:  Print Queue Management SOP Class (Retired)
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
info: FellowOakDicom.Network[0]
      Received association request from AE: NXMIX2 with IP: 10.62.208.69 
warn: FellowOakDicom.Network[0]
      Requested abstract syntax Basic Annotation Box SOP Class [1.2.840.10008.5.1.1.15] from NXMIX2 not supported
warn: FellowOakDicom.Network[0]
      Requested abstract syntax Print Queue Management SOP Class (Retired) [1.2.840.10008.5.1.1.26] from NXMIX2 not supported
info: FellowOakDicom.Network[0]
      Accepted association request from NXMIX2
info: FellowOakDicom.Network[0]
      NXMIX2 -> Association accept:
Calling AE Title:       NXMIX2
Called AE Title:        DWPRINT_RX
Remote host:            10.62.208.69
Remote port:            58777
Implementation Class:   Implementation Class UID [1.3.51.0.1.3]
Implementation Version: DPM1.00
Maximum PDU Length:     65542
Async Ops Invoked:      1
Async Ops Performed:    1
Presentation Contexts:  5
  Presentation Context:  1 [Accept]
       Abstract Syntax:  Basic Grayscale Print Management Meta SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  3 [Accept]
       Abstract Syntax:  Verification SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  5 [Accept]
       Abstract Syntax:  Print Job SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  7 [RejectAbstractSyntaxNotSupported]
       Abstract Syntax:  Basic Annotation Box SOP Class
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
  Presentation Context:  9 [RejectAbstractSyntaxNotSupported]
       Abstract Syntax:  Print Queue Management SOP Class (Retired)
       Transfer Syntax:  Implicit VR Little Endian: Default Transfer Syntax for DICOM
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-Create request [1]
info: FellowOakDicom.Network[0]
      Create new film session 2.25.250085588852336396962352555971398968627
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-Create response [1]: Success
info: FellowOakDicom.Network[0]
      Print Job 116559339974615776744930861858404222118 Status Printing: NORMAL
System.ObjectDisposedException: NÆo ‚ poss¡vel acessar um objeto descartado.
Nome do objeto: 'This DICOM service is already disposed and can no longer be used'.
   em FellowOakDicom.Network.DicomService.ThrowDisposedException()
   em FellowOakDicom.Network.DicomService.SendRequestAsync(DicomRequest request)
   em FellowOakDicom.Samples.Printing.PrintService.OnPrintJobStatusUpdate(Object sender, StatusUpdateEventArgs e)
   em FellowOakDicom.Samples.Printing.PrintJob.OnStatusUpdate(String info)
   em FellowOakDicom.Samples.Printing.PrintJob.OnQueryPageSettings(Object sender, QueryPageSettingsEventArgs e)
   em System.Drawing.Printing.PrintDocument.OnQueryPageSettings(QueryPageSettingsEventArgs e)
   em System.Drawing.Printing.PrintDocument._OnQueryPageSettings(QueryPageSettingsEventArgs e)
   em System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
   em System.Drawing.Printing.PrintController.Print(PrintDocument document)
   em System.Drawing.Printing.PrintDocument.Print()
   em FellowOakDicom.Samples.Printing.PrintJob.DoPrint()
fail: FellowOakDicom.Network[0]
      Print Job 116559339974615776744930861858404222118 Status Failure: UNKNOWN
info: FellowOakDicom.Network[0]
      NXMIX2 <- N-Create request [2]
info: FellowOakDicom.Printing[0]
      Applying display format STANDARD\1,1 for film box Local UID [2.25.252004920538247095156056738333475718235]
info: FellowOakDicom.Network[0]
      Created new film box 2.25.252004920538247095156056738333475718235
info: FellowOakDicom.Network[0]
      NXMIX2 -> N-Create response [2]: Success

Environment
Equipment Model: AGFA CR30-XM
Fellow Oak DICOM version: 5.1.0
OS: Windows 10 x64
Platform: .NET Framework 4.6.2

@genus-m genus-m added the new label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant