python_winprint | server script that used to interact the printing

 by   tangingw Python Version: Current License: AGPL-3.0

kandi X-RAY | python_winprint Summary

kandi X-RAY | python_winprint Summary

python_winprint is a Python library typically used in Raspberry Pi, Ubuntu applications. python_winprint has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. However python_winprint build file is not available. You can download it from GitHub.

This is a client-server script that used to interact the printing between linux (Mac) with Windows when the printer driver is not available for Linux/Mac
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              python_winprint has a low active ecosystem.
              It has 2 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              python_winprint has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of python_winprint is current.

            kandi-Quality Quality

              python_winprint has no bugs reported.

            kandi-Security Security

              python_winprint has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              python_winprint is licensed under the AGPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              python_winprint releases are not available. You will need to build from source code and install.
              python_winprint has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed python_winprint and discovered the below as its top functions. This is intended to give you an instant insight into python_winprint implemented functionality, and help decide if they suit your requirements.
            • Print file .
            • Main function for print_client .
            • Print out a PDF file .
            • Send a file to print .
            • Upload a file part .
            • Parses a number range
            • Generate a logger
            • Print engine .
            • Check if file is allowed .
            • Generate an error response
            Get all kandi verified functions for this library.

            python_winprint Key Features

            No Key Features are available at this moment for python_winprint.

            python_winprint Examples and Code Snippets

            No Code Snippets are available at this moment for python_winprint.

            Community Discussions

            No Community Discussions are available at this moment for python_winprint.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install python_winprint

            There are few steps to set up both server and client (Note: Please follow the following sequence):.
            Client (Ubuntu 16.04) git clone this repo git clone https://github.com/tangingw/python_winprint.git on the directory ~/python_winprint, type the following command SHELL>mkdir ~/print_dir SHELL>cd ~/python_winprint SHELL>make install_ubuntu this will install the necessary library and setup a redis server on your computer Configure Redis server Change the following line in /etc/redis/redis.conf bind 127.0.0.1 to bind 0.0.0.0 Restart the Redis server SHELL>sudo service restart redis-server Edit ~/python_winprint/config/config.json Change the CLIENT -> PRINT_PATH to /home/<YOUR_USERNAME>/print_dir/ Change the REDIS_SERVER to your host IP address { "SERVER": { "PRINT_PATH": "C:\\Users\\<YOUR WIN_ID>\\test_upload\\" }, "CLIENT":{ "PRINT_PATH": "/home/<YOUR_USERNAME>/print_dir/" }, "UPLOAD_URL": "http://<YOUR FLASK APP IP>:5000/upload", "REDIS_SERVER": "<YOUR HOST IP ADDRESS>" }
            Server (Windows 8.x, Windows 10, Windows Server 2012 R2) Prepare a Windows Machine You can either use a physical Windows machine or virtual machine (both laptop and desktop and make sure you have a legal copy of Windows). The author uses Windows Server 2012 R2, virtual machine hosted in KVM. Install your printer driver on Windows Machine Without this, the print_server.py will not work. Make sure you do a test print after you have installed your printer driver so that it will not cause any issue to printer_server.py Install python 3.x on your Windows machine Currently print_server.py is coded in python 3.x since the author wants to learn python 3.x. Install latest copy of Adobe Reader git clone this repo git clone https://github.com/tangingw/python_winprint.git Install necessary library pip install win32compat win32core win32ext redis flask Edit config.json in C:\Users\<YOUR_WIN_ID>\python_winprint\config folder { "SERVER": { "PRINT_PATH": "C:\\Users\\<YOUR WIN_ID>\\test_upload\\" }, "CLIENT":{ "PRINT_PATH": "/var/print/" }, "UPLOAD_URL": "http://<YOUR FLASK APP IP>:5000/upload", "REDIS_SERVER": "<YOUR REDIS IP>" } Start your application in Powershell POWER_SHELL> cd .\python_winprint\ POWER_SHELL> python print_server.py

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/tangingw/python_winprint.git

          • CLI

            gh repo clone tangingw/python_winprint

          • sshUrl

            git@github.com:tangingw/python_winprint.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link