Printing from autorun cd

  • Thread starter Thread starter John Waagan
  • Start date Start date
J

John Waagan

I am making a powerpoint presentation that is going to be
distributed on an autorun cd with ppviwer. In my
presentation there are some forms that the users may want
to print. Can this be done, and if, how? Is it possible to
put a "print" sign next to the form, and when the user
clicks this the printing starts?

John
 
See the tiny application and tutorial at
http://www.soniacoleman.com/Tutorials/PowerPoint/autorun_launch.htm. As
long as the user has a default printer set up, launch.exe should work. Your
button would be linked via Action Settings > Run and paste in
"launch.exe print filename.ext(ension)" Launch.exe and the file must be in
the same directory as the presentation.
--
Sonia, MS PowerPoint MVP Team
http://www.soniacoleman.com
(Tutorials and Autorun CD Project Creator)
PowerPoint Live! - Featured Speaker
Tucson, AZ; October 12-15, 2003
 
Launch.exe is a quite a practical solution, although it only works with .txt
and .doc files.

To standarize the procedure for any file format ( providing an opening
application is installed, of course ) , design a small, self-centered HTML
window and place a link on it
directioned to the .pps file. The window will open when the button/link gets
clicked and you'd then click in the window's link to initiate the printing.

Some quick source code for this window :

A. To make the window self-center and auto-resize ( change width and height
in pixels accordingly ) place in <body>....

<script Language="JavaScript">
var Width=200;
var Height=200;
self.moveTo((screen.availWidth-Width)/2,(screen.availHeight-Height)/2);
self.resizeTo(Width,Height);
</script>

B. For the printing :


In <head> section ....

<script>

function printWindow(){
bV = parseInt(navigator.appVersion)
if (bV >= 4) window.print()
}
</script>
<LINK rel=alternate media=print href="printversion.doc"> <!-- This is the
file to send to the printer -->


In <body> section ....

<a href="javascript:printWindow()">Print this document</a>

Good luck...

Gus Collot
 
Yes to both questions.
You can open a html document from a link using the viewer.
You can insert your picture into a .doc, so you can use launch.exe.

Best wishes,

Gus
 
My form is saved as a .tif file, so then i can't
use "launch .exe"?
This scripts, will they work on the autorun cd? Does
ppviewer support them?
 
Can i import the .tif file in to Word, and then save it as
a .doc file? Will launch .exe then work for this?
 
Back
Top