Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Printer preflight checks #23

Closed
sssoleileraaa opened this issue Nov 4, 2019 · 1 comment
Closed

Printer preflight checks #23

sssoleileraaa opened this issue Nov 4, 2019 · 1 comment
Assignees

Comments

@sssoleileraaa
Copy link
Contributor

Description

Until we decouple export from the client, the client will handle errors and wait until it knows there is a single printer attached before sending a document over to the Export VM to be printed.

Our design is to show a Preparing to print message in the client while the Export VM does the following:

  • boots up (it might have been manually shutdown)
  • returns PRINTER_NOT_FOUND if the printer cannot be found and or MULTIPLE_PRINTERS_FOUND if multiple printers are found

Also this issue needs to update this code so that we don't always assume that the first printer result from lpinfo -v is the one we want. Instead it should also return MULTIPLE_PRINTERS_FOUND if there is more than one result.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants