Skip to content

Works as a proxy and spooler for a real printer(s). Also, all prints may be archived to DICOM storage server.

Notifications You must be signed in to change notification settings

EduNP/virtual-dicom-printer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

virtual-dicom-printer

Buddy pipeline Build Status Build status

Introduction

Virtual printer for DICOM. Works as a proxy and spooler for a real printer(s). Also, all prints may be archived in a DICOM storage server.

Requirements

  • Qt 5.0.2 or higher;
  • DCMTK 3.6.0 or higher;

Installation

Debian/Ubuntu/Mint

  1. Install build dependecies

     sudo apt install lsb-release debhelper fakeroot libdcmtk2-dev \
       qt5-default libtesseract-dev
    
  2. Make

     qmake virtual-dicom-printer.pro
     make
    
  3. Install

     sudo make install
    
  4. Create Package

     dpkg-buildpackage -us -uc -tc -I*.yml -Icache* -rfakeroot
    

CentOS

  1. Install build dependecies

     sudo yum install -y redhat-lsb rpm-build git make cmake gcc-c++ \
       qt5-qtbase-devel tesseract-devel openssl-devel libxml2-devel git
    
  2. Build DCMTK

     .ci/git-install.sh https://github.com/DCMTK/dcmtk.git DCMTK-3.6.3 \
       "-DCMAKE_INSTALL_PREFIX=/usr -DDCMTK_WITH_OPENSSL=OFF -DDCMTK_WITH_WRAP=OFF -DDCMTK_WITH_ICU=OFF -DDCMTK_WITH_ICONV=OFF"
    
  3. Make

     qmake-qt5 virtual-dicom-printer.pro
     make
    
  4. Install

     sudo make install
    
  5. Create Package

     tar czf ../virtual-dicom-printer.tar.gz --exclude=cache* --exclude=debian \
       --exclude=*.yml * && rpmbuild -ta ../virtual-dicom-printer.tar.gz
    

Fedora

  1. Install build dependecies

     sudo dnf install redhat-lsb rpm-build make gcc-c++ qt5-qtbase-devel \
       dcmtk-devel tesseract-devel openssl-devel libxml2-devel
    
  2. Make

     qmake-qt5 virtual-dicom-printer.pro
     make
    
  3. Install

     sudo make install
    
  4. Create Package

     tar czf /tmp/virtual-dicom-printer.tar.gz * --exclude=.git && rpmbuild -ta /tmp/virtual-dicom-printer.tar.gz
    

Mageia

  1. Install build dependecies

     sudo dnf install lsb-release rpm-build git make cmake gcc-c++ \
       qttools5 lib64qt5base5-devel lib64tesseract-devel git
    
  2. Build DCMTK

     .ci/git-install.sh https://github.com/DCMTK/dcmtk.git DCMTK-3.6.3 \
       "-DCMAKE_INSTALL_PREFIX=/usr -DDCMTK_WITH_OPENSSL=OFF -DDCMTK_WITH_WRAP=OFF -DDCMTK_WITH_ICU=OFF -DDCMTK_WITH_ICONV=OFF"
    
  3. Make

     qmake virtual-dicom-printer.pro
     make
    
  4. Install

     sudo make install
    
  5. Create Package

     tar czf ../virtual-dicom-printer.tar.gz --exclude=cache* --exclude=debian \
       --exclude=*.yml * && rpmbuild -ta ../virtual-dicom-printer.tar.gz
    

openSUSE

  1. Install build dependecies

     sudo zypper install lsb-release rpm-build make libqt5-qtbase-devel \
       dcmtk-devel tesseract-ocr-devel openssl-devel libxml2-devel
    
  2. Make

     qmake-qt5 virtual-dicom-printer.pro
     make
    
  3. Install

     sudo make install
    
  4. Create Package

     tar czf /tmp/virtual-dicom-printer.tar.gz * --exclude=.git && rpmbuild -ta /tmp/virtual-dicom-printer.tar.gz
    

Windows (Visual Studio)

  1. Install build dependecies
  1. Build 3-rd party libraries

     # DCMTK
     cd dcmtk
     mkdir build && cd build
     cmake -Wno-dev .. -DCMAKE_INSTALL_PREFIX=c:\usr -G "Visual Studio <version>" \
       -DDCMTK_WITH_OPENSSL=OFF -DDCMTK_WITH_ICU=OFF -DDCMTK_WITH_ICONV=OFF
     cmake --build . --target install
    
  2. Make

     qmake-qt5 
     nmake -f Makefile.Release
    

About

Works as a proxy and spooler for a real printer(s). Also, all prints may be archived to DICOM storage server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.5%
  • QMake 2.1%
  • C 1.2%
  • Other 0.2%