How do I print a topic using skin button?

I have tried achieving this using the toolbarscripts01.js created by Willem Van Weeden on Peter Grainge's site. I've implemented .js in the skin for use with PDFs before, so I'm pretty sure I'm doing it right, but on click, nothing happens, when it should print. Script and instructions can be found here.
http://www.grainge.org/pages/authoring/twisty/twisty.htm
I'm using RH10 and outputting WebHelp.
I should also mention that I first tried the method called Print Button for WebHelp on this page, but it didn't work either.
http://www.grainge.org/pages/snippets/snippets.htm#print
Has anyone else successfully created a print topic button in the skin nav bar? Any suggestions for alternatives or what I might be doing wrong?

Neither of the scripts would be there unless they had been tried first.
The first one has a Rh project set up that you can download. First please try that and confirm that it is working there.
Are you testing on generated output rather than preview?
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge

Similar Messages

  • How do i print cd lables using a HP 2540 ??

    can anyone tell me how do i print cd lables using a HP 2540 ?? 

    Hi, Your printer can't print on printable CD/DVD disces. You can only buy labels (sticky) and print on those. You may only get 25% successful rate, most of the time the holes are not line up. Regards.

  • How does one print single photos using iPhoto. I keep getting an error message:No Available Themes

    How does one print single photos using iPhoto. I keep getting an error message:No Available Themes

    You need to reinstall iPhoto. To reinstall iPhoto delete the current application and, on all Macs with Snow Leopard or earlier installed, all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the:
    HD/Library/Receipts folder (10.5 and earlier)
    or from the /var/db/receipts/  folder (10.6) .
    Deleting receipts is not necessary if your Mac came with Lion or later preinstalled.
    Then install iPhoto from the source it came from originally.
    OT

  • How to change color when I using delete button?

    Hi experts,
      When I using delete button on input schedule before enter any data, it display the same color on the data range, how can fix the color after using delete button? or is it a formatting problem?
    BPC ver : 7.5 sp3 for NW
    best regard
    Evans.

    Evans,
           Is delete button custom made? i think it is possible with Formatting Range.
          check the below for advanced formatting.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70573b01-657a-2b10-a2b2-ec54bb0a9c8c?quicklink=index&overridelayout=true
    I think you need use CHANGED  as value for CRITERIA.  I don't think NW doesn't support CHANGED value for CRITERIA i guess.
    Thanks,
    Ben.

  • How to Print in WDA using a Button. .

    Hi Experts,
    Can u Pls let me know how to print the displayed data from a table on a action button.
    I have the req to take print of the ALV display from the webdynpro application.
    Regards,
    Rahul Sharma

    Thanks for your reply Saurav,
    Actually i am not calling any ALV, but i have a table display in my Application and i need to take print of the page with all the records in that table using a Button (on action). Pleas tell me the alternatives if u can.
    Regards,
    Rahul Sharma

  • How do you print your calendar using AirPrint?

    How do you print your calendar on iPad using Airpirint?

    You can get the Calprint App. See here:
    CalPrint by EuroSmartz Ltd: https://appsto.re/us/-pD3x.i

  • How to Sow Print Preview by Presssing a Button

    I have a button on a form. When the user click this button he is redirected to a Print Friendly page. He can then print that by using standard internet explorer tools like
    File ---- Print Preview ( To preview it)
    Or
    File------- Print (to Print it)
    I want that when the user click this button he directly goes to the print preview of the said page. How is it possible.

    I would start with Print Button
    It has a couple of different suggestions that should get you started in the right direction.

  • How do I search a site using radio buttons

    I am trying to search a site using radio buttons. I have one table and 5 columns. I have 5 radio buttons marked like 01, 02, 03,04,05. I am using Dreamweaver cs5 php, when I click the radio button 01 I will like to get the response with all 01 files. I will like to mention that the file names are like 01-010-1, 01-010-2 and than 02-020-1 and so fourth I do not know how to write the advance query
    This is what I have
    SELECT QBF, ADDRESS, NATSO, TSOCNT, PDF (this re my db columns)
    FROM alldwgs (this is my table)
    WHERE QBF like %colname% (this is the column that contains the file names 01-010-1 etc)
    ORDER BY QBF ASC
    I don’t know what to write on the variable box
    Name: colname
    Type: text
    Default value: 01
    Run time value: $_GET['QBF']
    I hope that you understand my question I am new to this. Thank you very much for your response

    Thank you for your reply.  I am new to editing a pdf and using these programs. I have subscribed to Acrobat XI Pro.  When I try to edit the document it directs me to LiveCycle.  I cannot move the table in LiveCycle.  It won't let me, and I cannot make changes in XI Pro as I did in the trial as it directs me to edit in LiveCycle.  Am going in circles.

  • How to make Visible and Invisible using a Button?

    hi!... I've a Text3D using Oriented3D object and I would like to know how to make it visible and invisible by clicking a button.
    I know there is a function, setVisible() in RenderingAttributes, which can be set by the object's Appearance.
    Since I want to use a button to change the object's appearance, I need to change it in the button's actionPerformed function, but it has thrown an exception:
    "Shape3D: no capability to set appearance".
    I'd tried using those setCapability flags... but still nothing...
    Could someone help me please?...
    Thanks

    When you create Shape3D, setAppearance to it and
    setCapability(ALLOW_APPEARANCE_READ).
    For the Appearance, you should setCapability(
    ALLOW_RENDERING_ATTRIBUTES_READ).
    For the RenderingAttributes, you should setCapability(
    ALLOW_VISIBLE_WRITE).
    So in the button event handler,
    shape.getAppearance().getRenderingAttributes().setVisible(true/false).
    Now you can control the visiblity of Text3D

  • How to move node in treeView using two buttons ?

    Hello ,
    Am starter , and am working on a Winforms application.
    I browse an XML file , then I populate treeview in my interface. I want to move selected node in the two sens ( up and down)  using two button ( so not with events , normal drag and drop with mouse ) .
    - I select the nod 
    - I click on the up button , then the node take the new place ( something like , drop and insert maybe )
    I don't know if is possible to affect this events to button or they are another way to do this 
    this is my code concerning populating treeView :
    private void browseSourceFileBtn_Click(object sender, EventArgs e)
    var openSourceFile = openSourceFileDialog.ShowDialog();
    if (openSourceFile == DialogResult.OK)
    fichierSourcePath.Text = openSourceFileDialog.FileName;
    // Connect the XML FILE DATABASE to the application interface
    private void button1_Click(object sender, EventArgs e)
    if (openSourceFileDialog.FileName == String.Empty)
    MessageBox.Show("u should open a file", "Erreur de chargement", MessageBoxButtons.OK, MessageBoxIcon.Error);
    else
    try
    MessageBox.Show("plz wait ");
    statusLabel.Text = "Début de chargement du fichier";
    var doc = new XmlDocument();
    doc.Load(openSourceFileDialog.FileName);
    sourceTreeView.Nodes.Clear();
    var rootNode = new TreeNode(doc.DocumentElement.Name);
    sourceTreeView.Nodes.Add(rootNode);
    sourceTreeView.CheckBoxes = true;
    sourceTreeView.AllowDrop = true;
    DateTime starteTime = DateTime.Now;
    BuildNode(doc.DocumentElement, rootNode);
    DateTime endTime = DateTime.Now;
    TimeSpan duree = endTime - starteTime;
    sourceTreeView.ExpandAll();
    sourceTreeView.Nodes[0].EnsureVisible();
    string chargementTemps = "" + duree.Minutes + "min : " + duree.Seconds + "s : " + duree.Milliseconds + "ms";
    statusLabel.Text = "Chargement effectué avec succés en :" + chargementTemps;
    catch (Exception)
    sourceTreeView.Nodes.Clear();
    statusLabel.Text = "Echec de chargement";
    thanks u a lot 

    Hi Nico68er,
    According to your description, you'd like to move up or down the node in TreeView.
    By reseraching, I found this post in StackOverFlow is similar with your issue.http://stackoverflow.com/questions/2203975/move-node-in-tree-up-or-down
    From this answer.
    You can use the following extensions
    public static class Extensions
    public static void MoveUp(this TreeNode node)
    TreeNode parent = node.Parent;
    TreeView view = node.TreeView;
    if (parent != null)
    int index = parent.Nodes.IndexOf(node);
    if (index > 0)
    parent.Nodes.RemoveAt(index);
    parent.Nodes.Insert(index - 1, node);
    else if (node.TreeView.Nodes.Contains(node)) //root node
    int index = view.Nodes.IndexOf(node);
    if (index > 0)
    view.Nodes.RemoveAt(index);
    view.Nodes.Insert(index - 1, node);
    public static void MoveDown(this TreeNode node)
    TreeNode parent = node.Parent;
    TreeView view = node.TreeView;
    if (parent != null)
    int index = parent.Nodes.IndexOf(node);
    if (index < parent.Nodes.Count -1)
    parent.Nodes.RemoveAt(index);
    parent.Nodes.Insert(index + 1, node);
    else if (view != null && view.Nodes.Contains(node)) //root node
    int index = view.Nodes.IndexOf(node);
    if (index < view.Nodes.Count - 1)
    view.Nodes.RemoveAt(index);
    view.Nodes.Insert(index + 1, node);
    Child nodes will follow their parents.
    You could use this class in your program.
    If you want to move the node up. Call the Extensions.MoveUp(this.treeView1.SelectNode)
    private void button1_Click(object sender, EventArgs e)
                if (this.treeView1.SelectedNode != null)
                    Extensions.MoveUp(this.treeView1.SelectedNode);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I print a topic in in Firefox and Netscape?

    I'm having trouble getting topics to print when webhelp is
    viewed in Netscape or Firefox. They print just fine in IE.
    I created a print link on the toolbar and used the following
    code ---
    javascript:parent.frames[1].bsscright.focus();window.print(); ---.
    It works great in IE, but I can't figure out what I need to do to
    make this work in Netscape or Firefox. I've tried a dozen different
    things, but haven't come up with a solution yet.
    Does anyone have advice? Thank you for any help!

    1. You need a skin that has a Print Topic button; (some don't
    have one).
    2. You need a revised JavaScript to put in the code for the
    Print Topic button. Find this in RH6/7: go to WebHelp Skin Editor
    > Toolbar tab > select Print (or Print Topic) > Edit icon.
    In the Custom Toolbar Item screen, select the Action tab. Click the
    radio button for Javascript, and in the OnClick field enter the NEW
    script below.
    window.parent.frames[1].frames[1].focus();
    window.parent.frames[1].frames[1].print();
    and Save.
    3. Remember to enable the toolbar Print button in Single
    Source Layouts > WebHelp Properties > WebHelp Generic screen.
    I have tested this in Internet Explorer 7, Mozilla Firefox 3,
    and it works OK. It also works in Apple Safari 3.1.2, although the
    printout is reduced in scale to about 80% of correct size (text and
    screenshots).
    Good luck, and please Spread the Word!

  • How to set printer margins if using a lot of printers in virtual desktops which are deleted each time users logs off

    Hello,
    i am using Firefox version 31. I have a problem with page setup margins. I need to use left
    30mm; right 10mm; top 20mm; bottom 20mm. I am using VMware floating assignemnt linked clones
    virtual desktops. After users log off - machines are deleted and users next time logs on get's brand
    new VDI's. Users gets printers to VDI using login script from Active Directory.
    Option Explicit
    Dim strPrinterUNC, objNetwork
    strPrinterUNC = "\\some_server\printer_number_1"
    Set objNetwork = CreateObject("WScript.Network")
    objNetwork.AddWindowsPrinterConnection strPrinterUNC
    WScript.Sleep (20000)
    objNetwork.SetDefaultPrinter strPrinterUNC
    Set objNetwork = Nothing
    Each user have different logon script, because they use different printers (different printer names e.g. \\some_server\printer_number_2 ; \\some_server\printer_number_3 and etc. Page setup margins in Internet Explorer are ok. But how to make Firefox page setup margins as i need? For other options i have
    used CCK2 Wizard 2.0.4 tool. It worked fine. Maybe i can put some information in C:\Program
    Files\Mozilla Firefox\defaults\pref\autoconfig.js I have some usefull data in it allready. I
    have found info that: "Setting print margins is done in the printer settings". I have a lot of
    printers, so i can not set printer margins individualy for each of them. Now mozilla shows top,
    bottom, right, left each 12.7 mm. What should i do if i have a lot of printers in enterprise
    environment?

    Firefox has a profile folder that has preferences to save this. But the config that would need to be changed is:
    print. save_print_settings = True - (default): Save the print settings after each print job
    Locking that preference: [http://kb.mozillazine.org/Locking_preferences]
    Or done manually:
    #In order to check the margins, we need to go to ''File'' > ''Page Setup''.
    #Once this is done, switch to the ''Margins & Header/Footer'' tab.
    #Check what's set there under ''Margins''.
    The following are the default values for ''Margins'':
    Check these values accordingly and change them if necessary.

  • How do I print from iPhone using Airport Express to a regular printer over enet

    I am trying to figure out how to print from my iPhone or iPad to a regular printer that is on my wired ethernet network. I purchased Airport Express and my iPhone recognizes the Airport Express. I connected the USB port to the USB port on printer. The printer recognizes the Airport Express. But my iPhone does not recognize the printer. Any ideas?

    See this article about AirPrint: http://support.apple.com/kb/HT4356
    Note the next-to-last bullet in "Notes" near the bottom:
    AirPrint printers connected to the USB port of the Apple AirPort Base Station or Time Capsules are not supported with AirPrint.
    I do not believe you can use AirPrint to print to a wired printer, period.  Very likely, you cannot use even a printer manufacturer's app to print to such a printer.  You would need a wireless printer.

  • How do I print address labels using Pages 09 on MacBook Pro?

    I need to do a full page of Avery J8163 labels with the same address printed on each label on the sheet and can't work out on Pages 09 how to do it.
    Can some kind person please tell me how to do it.  Please be gentle with me as I am new to the ways of Mac having always used a PC before.
    Thank you

    I would try asking the users in the Pages forum.  Good luck.

  • How can I print a html Using javax.print

    Hi friends,
    I am in big trouble . I use following code to print a html file using javax.print api.
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class PrintPS
         public static void main(String args[]) {
              PrintPS html = new PrintPS();
         public PrintPS() {
         DocFlavor flavor = DocFlavor.INPUT_STREAM.TEXT_HTML_HOST;
         PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
         aset.add(MediaSizeName.ISO_A4);
         aset.add(new Copies(1));
         aset.add(MediaTray.MAIN);
         PrintService pservices = PrintServiceLookup.lookupDefaultPrintService();
         if(pservices==null)
              System.out.println(" printer not found");
         if (pservices!= null) {
         System.out.println("selected printer " + pservices.getName());
         DocPrintJob pj = pservices.createPrintJob();
         try {
         InputStream fis = new FileInputStream("abc.html");
         Doc doc = new SimpleDoc(fis, flavor, null);
    System.out.println("printing started ");
         pj.print(doc, aset);
    System.out.println("printing completed");
         } catch (IOException ie) {
         System.err.println(ie);
         } catch (PrintException e) {
         System.err.println(e);
    This code gives me "sun.print.PrintJobFlavorException: invalid flavor"
    So i use all four TEXT_HTML flavor but i do not find the solution.
    I am able to print pdf, jpg, gif files but i can not able to print txt and html file.
    My printer supports txt and html printing becaue i do printing directolly by browser's or notpad's print command .

    Hi friends,
    I am in big trouble . I use following code to print a
    html file using javax.print api.Use Code Tags
    http://forum.java.sun.com/help.jspa?sec=formatting
    My printer supports txt and html printing becaue i do
    printing directolly by browser's or notpad's print
    command .Notepad & your browser prob. convert to the HTML/text(1) into the printers native format.
    1) I am suprised that it does not print text.

Maybe you are looking for

  • Problem using public Wi-Fi

    For the past two weeks, I have been trying to access the free Wi-Fi at Bryant Park in Manhattan. The way they have it set up is that you connect and it directs you to a user agreement, which you have to accept to use the network. I think I've only go

  • I can not download past purchases

    I tunes will not let me download past purchises to my computer and it will not let inport them from my ipod to put on my iphone 5

  • About Inbuilt Firewall in SOlaris 10

    Hi As I want to know that is there any firewall available inbuilt with Solaris 10 like IPTABLES in Linux. Also as I have heared about Sun Screen Firewall was available upto Sun Solaris 8. Why it was stopped after Solaris 9 & 10. Can you give me more

  • Can't find networked macs or pc's after upgrade to Tiger

    After upgrading from 10.3.9 to Tiger 10.4.6 I can no longer access networked machines. The following message appears when I double click on an alias under network, The alias could not be opened because the original item could not be found. I did the

  • Wireless Root Bridge - Non Root Bridge

    I've been reading a lot about bridge configuration for wireless AP but i cannot make it work the following scenario: PC -- ethernet port --> Non-Root-Bridge -----------> Root Bridge ---------> Switch vlan111                     native 18 - vlan111