Bug 4823 - Local printing support for Web Access
Summary: Local printing support for Web Access
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on: 4859
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-02 13:58 CEST by Samuel Mannehed
Modified: 2024-03-05 13:34 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2013-10-02 13:58:34 CEST
Our HTML5 client does not support printing. It should be investigated whether it is possible and if so what the best way to do it would be.

Can we use the same server-side method as for the native client (That is, sending the document as PDF over the network)? Can the printing process be initiated through JavaScript?
Comment 1 Peter Åstrand cendio 2013-11-13 09:06:15 CET
Google Docs creates a PDF when you print, we should probably do the same. 

One drawback is that when the PDF opens (in Evince, Acrobat etc), the user needs to manually "print again" by pressing Ctrl-P or similar. According to 
http://stackoverflow.com/questions/205180/how-to-print-a-pdf-from-the-browser, it is possible to embed Javascript which causes the print dialog to open automatically when the PDF is opened. A comment says that Google Docs does this, but that doesn't work for me now when I'm testing.

Note You need to log in before you can comment on or make changes to this bug.