How to print in captivate 5 - no widget
Hi,
I've seen various posts about using a widget to print a window/slide "made from" Captivate 5.
As I work in gov and their security policy is restrictive (for good reason I suppose), I can't download this widget.
Is there another way I can get a slide to print? I was trying to do an execute javascript thing on a button, but that doesn't work.
I published the file, went into the HTML and tinkered with it as per codelifter: and this post http://forums.adobe.com/thread/765038?tstart=0
============================================================
Script: Print Current Window From A Link
Function: Opens printer dialogue to print current page
Browsers: Version 4 and later (others degrade gracefully)
Author: etLux
============================================================
Step 1.
Put the following script in the head of your page.
<script>
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
function printWindow(){
bV = parseInt(navigator.appVersion)
if (bV >= 4) window.print()
</script>
============================================================
Step 2.
Put the following in the body of your page.
<a href="javascript:printWindow()">Print This Page</a>
============================================================
I couldn't do step two, because the html is per project not slide/page, but before I published I put in the script window
"javascript:printWindow()" for "on Success" (ie clicking the button)
It doesn't print though.
Should I be using advanced actions instead?
I have created a slide with text captions that have fields with a background of a certificate. I want users to be able to print the certificate.
Thank you
Adrienne
Unfortunately, I think you're going to find that the Print Widget is your best option. It's an excellent widget that fills a very big gap in Cp functionality, the simple task of printing out a runtime slide.
It doesn't really represent a security threat, but if you are trying to download it as a wdgt file, the reason your network is blocking this is that it probably doesn't know what this file ending is for, so it assumes it must be something nasty. Secured networks usually have a limited list of file endings that are permitted and this one (.wdgt) is unique to Cp widgets.
But a widget can also be a simple SWF file as well. It doesn't have to be .wdgt to work.
Contact the creator of the Print Widget: http://www.cpguru.com/2010/09/03/intelligent-print-widget-for-adobe-captivate-4-and-adobe- captivate-5/
You should be able to get him to supply you with an SWF version of the widget (after you purchase it).
If your network currently allows you to view Flash content at all, it already allows SWF files, so this widget should not be blocked in any way.
All the other routes you describe above are a lot more trouble and far less likely to work reliably.
Similar Messages
-
Printing in Captivate 7?
I have a programme I have developed in Captivate 5.5 which I opened and saved in verion 7. The print widget does not work in version 7.
How can I print a page in Captivate 7 without purchasing a print widget?Sorry, this isn't an answer, but I have the same question, so I've been rooting around the forums searching. It does not look like it is possible to export user variables into a word template, but it is possible to print out a user's typed text using user variables, and a working print widget.
But the catch is, Captivate's print options are very limited - there is a print widget you can insert on the slide, but it doesn't give the user any options and will usually print a slide off-center, with a warped ratio. It will print the entire slide.
-You can also code your own print button with javascript by typing window.print(), but it has similar limitations.
-There is also a print playbar (under project>skin editor> theme) you can select that has a print icon at the bottom, but for some reason, it has never worked for me. The icon is always whited out and non-functional.
-Some users have created 3rd party widgets as a work-around, but the ones I've found only work for flash, and not HTML5. If you are exporting in Flash, you could create a slide that recalls all of the user variables (by creating a textbox and inputting '$$user_variable$$ for every variable) in your project and print that slide using this widget.
-Someone on the forums suggested using the Notes interaction and allowing the users to print those out - but I do not know how to allow that.
The fact that Captivate provides a non-functional print function is disappointing, and I expected better of Adobe. I would love to be proven wrong. -
How to print a HTML file in browser look using DocPrintJob
Hello guys,
Does anyone know how to print HTML output/file into browser look?
I'm using DocPrintJob and the DocFlavor set to DocFlavor.INPUT_STREAM.AUTOSENSE.
posted below is my code :
public class BasicPrint {
public static void main(String[] args) {
try {
// Open the image file
String testData = "C:/new_page_1.html";
InputStream is = new BufferedInputStream(new FileInputStream(testData));
DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
// Find the default service
PrintService service = PrintServiceLookup.lookupDefaultPrintService();
System.out.println(service);
// Create the print job
DocPrintJob job = service.createPrintJob();
Doc doc= new SimpleDoc(is, flavor, null);
// Monitor print job events; for the implementation of PrintJobWatcher,
// see e702 Determining When a Print Job Has Finished
PrintJobWatcher pjDone = new PrintJobWatcher(job);
// Print it
job.print(doc, null);
// Wait for the print job to be done
pjDone.waitForDone();
// It is now safe to close the input stream
is.close();
} catch (PrintException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
static class PrintJobWatcher {
// true iff it is safe to close the print job's input stream
boolean done = false;
PrintJobWatcher(DocPrintJob job) {
// Add a listener to the print job
job.addPrintJobListener(new PrintJobAdapter() {
public void printJobCanceled(PrintJobEvent pje) {
allDone();
public void printJobCompleted(PrintJobEvent pje) {
allDone();
public void printJobFailed(PrintJobEvent pje) {
allDone();
public void printJobNoMoreEvents(PrintJobEvent pje) {
allDone();
void allDone() {
synchronized (PrintJobWatcher.this) {
done = true;
PrintJobWatcher.this.notify();
public synchronized void waitForDone() {
try {
while (!done) {
wait();
} catch (InterruptedException e) {
}the printed ouput for this code will be look like this
<html>
<body>
<div style="page-break-after:'always';
background-color:#EEEEEE;
width:400;
height:70">
testPrint</div>
ABCDEFGHIJK<p>
</p>
</body>
</html>however, the output that i want is the HTML in browser look not HTML code itself.
i've tried to change the DocFlavor into any TEXT_HTML type but it gives error:
sun.print.PrintJobFlavorException: invalid flavor if you guys has any idea or solution, can you share with me... already search in Google but still not found any solution
Thanks in advanced.hi,
do the following
URL url = null;
try
url = new URL("http://www.xyz.com");
catch (MalformedURLException e)
System.out.println("URL not correct " + e.toString());
if (url != null)
getAppletContext().showDocument(url,"_blank"); //shows the page in a new unnamed top level browser instance.
}hope that helpz
cheerz
ynkrish -
How to print last page in sap script in ladscape format?
Hi all,
can any 1 tell me How to print last page in sap script in ladscape format?
Thanks In advance.
PravinHi Pravin Sherkar,
we can do this in SAP Scripts.
we need to create two pages, one of landscape and another of potrait.
now after filling the data at last we need to call the page which is of format landscape using START_FORM function module.
You can use condition &PAGE& = &FORMPAGES&.
Please check this link
Printing Portrait/Landscape in sapscript
Re: Landscape and potrait in same layout?
http://www.sap-img.com/ts013.htm
Best regards,
raam -
How to print the superscript in smartform
Hi gurus,
Please tell me the procedure how to print the superscript in middle of the text displaying?
when we are displaying the smartform its converted to some special character like & .
please let me know procedure at the earliest
Regards
RajHi thanks for ur patience.
see my requirment was to print TM as superscript for HLL ,already smartstyle is there, and also a character format with superscript is also defined.
then aftet HLL how it prints as superscript.
for HLL we are using another character format and for superscript we are using the another character format.
If posiible send me the code to write in smartforms
Regards
RAj
Points are awarded for useful answers. -
How to print the script in condensed mode
Hi to all,
Pls help me.
How to print the script in condensed mode and particular window only print in the condensed mode.Hi,
Hi
It will remove the blank spaces in front of the variable
and if you use the extension NO-GAPS
It will remove all the blank spaces in the variable field.
DATA: ws_val1 type char12.
ws_val1 = ' 100 123'.
Condense ws_val1.
Write / ws_val1.
Condense ws_val1 no-gaps.
write / ws_val1.
It will give output as
100 123
100123
The CONDENSE statement deletes redundant spaces from a string:
CONDENSE c NO-GAPS.
This statement removes any leading blanks in the field c and replaces other sequences of blanks by exactly one blank. The result is a left-justified sequence of words, each separated by one blank. If the addition NO-GAPS is specified, all blanks are removed.
Please check this link for sample code.
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb33e6358411d1829f0000e829fbfe/content.htm
Regards,
Raj. -
How to print all columns in one page
Hi,
Can anybody explain me how to print all columns in one page.we have around 15 to 20 columns for 4 reports and all these reports are build on one multiprovider.we are using BW 3.5.
Can anyone explain me how to print ALL COLUMNS IN ONE PAGE .currently they are getting all columns in 2 to 3 pages. They are using PORTAL to run the reports here.
Is it possible to do by customizing Webtemplate or by macros in Workbook.Please help me
Edited by: kotha123 on Oct 11, 2010 5:58 PMHi,
Your best bet is to use a workbook template or else Excel to pdf option...Thanks -
How to print page numbers in adobe form
Hi,
Can anybody tell me how to print page numbers in adobe form.
Thanks in advance
ChaitanyaHi,
Yes the field page n of m is used normally for printing page numbers. But it won't display the current page of total pages by itself. You have to set the run time property to n (current page ) and m (Total number of pages). Carefully select the # (current page ) and ## (Total number of pages). Hope this works for you.
My requirement is to have the user control on current page. For Example:
Example for a Invoice with 5 PO items (stands on 2 pages) :
1st page is the letter : no page number
2nd page is the 1st page of the 1st copy of the invoice : we should read u201C1 / 2u201D
3rd page is the 2nd page of the 1st copy of the invoice : we should read u201C2 / 2u201D
4th page is the 1st page of the 2nd copy of the invoice : we should read u201C1 / 2u201D
5th page is the 2nd page of the 2nd copy of the invoice : we should read u201C2 / 2u201D
Presently i cam getting the current page number for page 4th as 3 / 2 and for 5th page 4 / 2. I could able to control the total number of pages from print program. But when i am printing the second copy (4th and 5th pages), I couldn't able to control the current page number. I need to initialize the Current page count (4th page ) as 1.
I have used the follwing java scripting:
this.rawValue = wv_pages - xfa.layout.page(this)
where wv_pages is total no of pages calculated from print program.
Please help me in this regard with some formcal or java scripting conditions.
Thank You,
Regards,
Naresh. -
How to print text vertically in smart forms
hi,
Can any one tell how to print text vertically in smartforms
ADVANCE THANKS
GUHAPRIYANHI,
Chk out this thread.Maybe it proves helpful.
Re: vertical writing in smartforms
Regards,
Gayathri -
How to print a something in oracle sql developer
Hello all
Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments)
thank u in advance.
best1003209 wrote:
Hello all
Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments)
thank u in advance.
bestDBMS_OUTPUT() -
How to print Arabic characters in Oracle BI Publisher report
Dear Experts,
Kindly suggest me how to print arabic characters in BI Publisher.
Regards,
Mohansee link
https://blogs.oracle.com/BIDeveloper/entry/non-english_characters_appears -
How to print system-time in XML?
Hi,
Please help me how to print system-time in XML. Like we use sy-uzeit in ABAP.
Can we use anything in XML too..
Thanks & Regards,
Saihi movilogo
Please try this.
Create hidden item P1_DATE
Create On load process in page 1 and put this code
begin
:P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
end;
Open your region in Page 1 put this code in Footer area
*&P1_DATE.*
Refresh your page.
you will get the output like this.
16-SEP-2009 11:09:17
thanks
Mark Wyatt -
How to print long text in scripts
plzzzzzzzzz answer this qestion
how to print long text in scriptsHi Kranthi,
You can create Text Id and include that in your script.
For example:
/E TEXT
/: INCLUDE ZTEXT OBJECT TEXT ID ST
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
How to print a report in half of the A4 page
Hi,
Please help me, how to print a report in the half page of the A4 size paper.
Thanks,Hi
If you are using the command MEW-PAGE PRINT ON
then we can give this layout options
like
NEW-PAGE PRINT ON
DESTINATION <printer name>
immediately 'X'
KEEP IN SPOOL 'X'
LAYOUT 'X_65_132' (OR X_65_255)
RECEIVER SY-UNAME
NO-DISPLAY.
OTHERWISE WHEN YOU SELECT THE PRINTER
IN THE PRINTER PROPERTIES/SETTINGS BASICS-> PAPER
you will have this facility to select LANGSCAPE/PORTRAIT
use that and print
Reward points for useful Answers
Regards
Anji -
How to print selected cells in numbers
Does anyone know how to print selected cells in a Numbers spreadsheet, rather than printing the entire sheet?
Also, how to save the selected cells as a pdf file without saving the irrelevant cells?Hi nmygs,
How about this?
Cell A1 is a Pop-Up Menu containing names of the various "Departments"
Other cells contain formulas to find a match for whatever is chosen in A1 from the Very Big Data Table.
Reusable Print Me table.
Regards,
Ian.
Maybe you are looking for
-
VIDEO_TS or HVDVD_TS folder files not included in final disc
I'm trying to burn an HD DVD project and after the compile completes successfully I get a string of error messages in the Log telling me that the .BUP, .IFO, .EVO, .LAY files found in VIDEO_TS or HVDVD_TS folder will not be included in the final disc
-
ISight - connects with windows users no problem?
I'd like to buy this webcam, but I heard it has problems connecting with windows users. Will I be able to talk to people on it through AIM? Thats what I'd like, if not, I probably wont get it. Anyone have any personal experience or have any answers o
-
Coldfusion developer edition for production ?
Hi I need to daily generate a pdf file from a database and make some small file manipulations and Coldfusion is the perfect solution for me as it would take me very little time to make something usable as I write all my web apps with Coldfusion on ma
-
Is it possible to define a burn folder then specifically exclude a folder from it? Since I don't have Time Machine, I back up to DVD (my iPhoto library on one, everything else on the other). One folder I've had trouble backing up cleanly is the Docum
-
Hello all, I am very new to Java. This is the first piece I am looking at. I am trying to convert some code to .net. I need a little bit help in this. for (int i = 0; i < anCycle.length; i++) { int nT = antranspositions[anCycle]; int n1 =