fusfu / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

Printing Option #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Thanks for a great project. 
I have a legacy application that can produces pdf files when printing. I want 
to open the file in a new window correctly. The pass through print feature 
treats them as text. Is there a way to do this correctly? 

Original issue reported on code.google.com by jdcotto...@gmail.com on 5 Nov 2010 at 8:39

GoogleCodeExporter commented 9 years ago
I also have this desire. I think that one really powerful solution would be to 
be able to send shellinabox an arbitrary Javascript command in much the same 
way that you would send a print job (escape sequence, command, escape 
sequence).  This would open up a whole new world of controlling web content via 
a shell program.  All you would need to do to open the pdf would be to start a 
new window with the URL of the pdf as the target!  I wouldn't think that this 
would be difficult to implement.  If I get a chance, maybe I'll look at the 
source.

Gary Walborn

Original comment by gwalb...@gmail.com on 5 Jan 2012 at 3:20