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

Add support for printing documents #477

Closed
eloquence opened this issue Jul 17, 2019 · 2 comments · Fixed by #631
Closed

Add support for printing documents #477

eloquence opened this issue Jul 17, 2019 · 2 comments · Fixed by #631

Comments

@eloquence
Copy link
Member

eloquence commented Jul 17, 2019

Along with export to USB (#21), print is frequently used by journalists to safely exchange documents via SecureDrop (the methods are about equally popular according to our user survey). As a result, basic print support is a must-have requirement for any production deployment, including for the pilot.

UX Design

In progress, see freedomofpress/securedrop-ux#63

User Story

As a journalist, I want to be able to print a submitted document, so that I can use the "analog hole" to redact hidden data, or share the document securely.

@sssoleileraaa
Copy link
Contributor

#547 added support for communication between the sd-svs and sd-export-usb VMs, so adding print support to the client means:

3. `printer-test`: prints a test page that returns:
    - `ERROR_PRINTER_NOT_FOUND` if no printer is connected
    - `ERROR_PRINTER_NOT_SUPPORTED` if the printer is not currently supported by the export script
    - `ERROR_PRINTER_DRIVER_UNAVAILABLE` if the printer driver is not available
    - `ERROR_PRINTER_INSTALL` If there is an error installing the printer
    - `ERROR_PRINT` if there is an error printing

4. `printer`: sends files to printer that returns:
    - `ERROR_PRINTER_NOT_FOUND` if no printer is connected
    - `ERROR_PRINTER_NOT_SUPPORTED` if the printer is not currently supported by the export script
    - `ERROR_PRINTER_DRIVER_UNAVAILABLE` if the printer driver is not available
    - `ERROR_PRINTER_INSTALL` If there is an error installing the printer
    - `ERROR_PRINT` if there is an error printing

@sssoleileraaa
Copy link
Contributor

Completion of this issue is blocked until freedomofpress/securedrop-export#23 is implemented.

@sssoleileraaa sssoleileraaa self-assigned this Dec 3, 2019
@emkll emkll closed this as completed in #631 Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants