Dicom Printer Server

  • Hello Marcel,

    I try to create one Dicom Print Server using conquest, where I configure for use my hp deskjet k550 printer ? "this is only printer I have and default printer" ...

    I only send from mac to PC for test and crash/stop aplication dgate.

    thanks for help.

    [DICOM_PRINTER] Connected by address: a8c8a8c0
    [DICOM_PRINTER] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [DICOM_PRINTER] UPACS THREAD 257: STARTED AT: Wed May 13 18:01:08 2015
    [DICOM_PRINTER] Calling Application Title : "MAC001_PACS_WS "
    [DICOM_PRINTER] Called Application Title : "DICOM_PRINTER "
    [DICOM_PRINTER] Application Context : "1.2.840.10008.", PDU length: 16384
    [DICOM_PRINTER] Number of Proposed Presentation Contexts: 1
    [DICOM_PRINTER] Presentation Context 0 "1.2.840.10008." 1
    [DICOM_PRINTER] Server Command := 0110
    [DICOM_PRINTER] Message ID := 0001
    [DICOM_PRINTER] 0000,0003 22 UI RequestedSOPClassUID "1.2.840.10008."
    [DICOM_PRINTER] 0000,0100 2 US CommandField 272
    [DICOM_PRINTER] 0000,0110 2 US MessageID 1
    [DICOM_PRINTER] 0000,0800 2 US DataSetType 257
    [DICOM_PRINTER] 0000,1001 22 UI RequestedSOPInstance "1.2.840.10008."
    [DICOM_PRINTER] 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"
    [DICOM_PRINTER] getting Printer

  • Hi,

    the printer is indeed only available for windows. The source code in the server is in dgate.cpp: look at PrinterSupport. This creates log messages and files that are interpreted by the windows GUI to do the actual printing.



  • Hello,

    I am also Marcel.

    I doubt. Conquest works as Dicom server for direct printing ???

    Receiving the work of a workstation ( PACS AGFA )

    OKIDATA have a printer configured on AGFA PACS .

    In case when the print command AGFA workstation , open a screen to write on the computer that have the conquest installed.

    You can pass me configuration for direct printing from PACS AGFA for Okidata printer .

    AET set up and successfully port the AGFA PACS .

  • Hello,

    Yes, it is working.

    But printing very low, 10 minuts, 20 minuts for printing each paper.

    the impression I left the CR, the OKIDATA printer light flashes and indicates processing, but does not print, only after 10 or 20 minutes.

    pass me your guidance.

    Tks. Marcel

  • Hello Marcel,

    I saw how printing works and I believe that now after doing several tests, I hope I understand ...

    Please correct me if I'm wrong

    Dgate.exe receives the dicom package containing one or several images for printing, it stores in data \ printer_files \ xxx.dcm in my case

    There must be a "very fast" timer on the frontend which captures this .dcm converts to bmp and sends it to the windows default printer.

    I say "very fast" because soon after it disappears, I imagine you have a delete in the process.

    So I thought, if it's just a DCM file in the folder, can I intercept it using Lua or python? If yes I could convert it from DCM to BMP or PDF "I believe that PDF gets better on linux" and send to the cups automatically, indicating only to use the default printer, keeping the same idea of your initial design but in linux,

    This way I can disable the XP machine that I have hj here :)

    If I'm going in the right way, please let me know.

    Thank you for your help.

    [DICOMPRINT] UPACS THREAD 19: STARTED AT: Tue Jun 06 11:48:14 2017
    [DICOMPRINT] Calling Application Title : "PR_AW45 "
    [DICOMPRINT] Called Application Title : "DICOMPRINT "
    [DICOMPRINT] Application Context : "1.2.840.10008.", PDU length: 28672
    [DICOMPRINT] Presentation Context 0 "1.2.840.10008." 1
    [DICOMPRINT] getting Printer
    [DICOMPRINT] Creating Basic Film Session
    [DICOMPRINT] Creating Basic Film Box with 1 Image boxes - PORTRAIT - Film# 9
    [DICOMPRINT] Print file: C:\CONQUEST_PRINTER\Data\printer_files\1.2.826.0.1.3680043.2.135.735734.37088592.6.1496760.
    [DICOMPRINT] Printing Basic Film Box
    [DICOMPRINT] Deleting Basic Film Box
    [DICOMPRINT] Deleting Basic Film Session
    [DICOMPRINT] UPACS THREAD 19: ENDED AT: Tue Jun 06 11:48:15 2017

  • Hi,

    yes that might work. I am not sure there are any lua events on the printer interface, but those could be added if needed. There is an Association, command and endassociation event that would fire also for the print commands.

    The GUI's printer reads the log lines to know when it needs to process the images, but it needs to collect all images of one page before it actually prints. The log lines are put in a queue, and a timer processes the queue


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!