My failed solutions to print a string. Some ideas, however...

Dear,
I do need to print some basic string out of a collection from Siena.
Now, being the print task not supported, I thought on four solutions:
1) launch the mail app with the string, then print the mail;
2) generate a data-uri, then launch within the browser. But IE does not seem to support it and Siena won't launch anything without a protocol like HTTP or mailto;
3) open the app in Visual Studio for Windows and add a print function in JS. But I didn't understand where the HTML is formed (Siena should be html+css+js) and where the element <button> is defined
4) take a screenshot and print from the images gallery
Now, the solution 1 and 4 are not really great... while 2) and 3) do not help me. Maybe the solution 3) would be doable.
I am going to investigate Google Cloud Print (they have web services) or ePrint from HP (although they seem to allow Printing of attached files and not email body).
But, however, seeing all the files of my project, having access to the code, could you address me where to change, for instance, the action of a button, just to change it to a function to print a string, later in VS?
Or, simply, has anyone a workaround to print a string, or to open a browser with a in-Siena-created string as content (like data-uri should do)?
Obviosuly I could write a PHP/ASP web service of my own, but I would like that the app does not require the internet connection to work.
Thank you very much!
Fabio

I'm curious about this, too -
In addition, I'm hoping to add a File Picker because I don't believe this is yet availabe in Siena.
Thor

Similar Messages

  • Some Ideas from you

    Hello
    I am developing a query(2) which will first execute another query(1) and pop up the variables to be entered. Now this query 2 is filtered on the data which is coming from Q1. In Q1 i have a hier node variable. Now the user will select a node to see the data for that paticular node...In Q2 i have to make 2 KF's.
    1st KF will be based on the node the user has selected.
    2nd KF has to exclude the node which he has selected.
    Any idea how i can do this
    thanks

    You will have to look for exact solutions yourself but here are some ideas (using the command wizard in WAD) - you can call up a query using the command SET_DATA_PROVIDER_PARAMETERS (use this to call up Q2). And in the same command sequence, bind the variables in Q2 (or filter Q2) using the commands SET_VARIABLES_STATE, SET_SELECTION_STATE, SET_SELECTION_STATE_BY_BINDING etc. Use the characteristic bindings from Q1 that you want to pass on.
    PS. Please put meaningful subject when posting new threads.
    Edited by: Mayank Gupta on Aug 28, 2008

  • Failing to print report on some printers

    Hi All,
    I am hoping someone can assist with a problem I am having. I am printing a crystal report from a .Net Webservice. The code works perfectly on many sites and on my development environments. There is however one site that we are experiencing a problem with. When set to print to the printers on the server, the system crashed with a couple of errors, these are as follows:
    1) The request could not be submitted for background processing
    2) The Report Application Server failed
    3) Invalid Printer Secified.
    When printing to these printers the errors occure randomly every 3-4 prints. Initially I found another post in this forum regarding an specific HP printer that was not compatible. We then changed to a SHARP printer...same problem. I have now set up a Geteric Text only "dummy" type printer and the problem disappears. The prints queue up on the printer and we get no errors.
    If there is anyone who can assist me with this I would much appreciate it.
    I am running with .Net 2008 Runtime for Visual Studio, Crystal 10.5.
    Steven.
    Edited by: GandalfCooper on Sep 24, 2009 5:22 PM

    This is not a permissions, or code issue, so you're left with 2 possibilities:
    1) Printer drivers. Compare printer drivers that work and choose on of those for this site. Make sure you have the most recent updates for those drivers, and that they are not 3rd party / "knock offs".
    2) Runtime - Crystal Reports runtime and other. You may want to use the [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility to trace through the differences.
    Ludek

  • C++ Debug Assertion Failed! - when printing with LOCL method G and GUI 620

    Hi all
    I've just raised an OSS message with SAP but don't think they'll help as the GUI version is no longer supported... if anyone else has come across this though and has any suggestions that would be great...
    Thanks
    Ross
    Hi
    We recently upgraded a few users to the 720 SAP GUI and had issues with LOCL printing, as we were still using the older "F: Printing on Front End computer" method of printing. As per SAP Note "Note 821519 - Front-end printing with control technology" the solution is to use method "G: Front end printing with Control Tech".
    However, we now get an issue with SOME users who are running the SAP GUI 620 patch 57. When they try and print to LOCL they get a pop up dialog box error:
    "Microsoft Visual C++ Debug Library
    Debug Assertion Failed!
    Program: C:\Program Files\SAP\FrontEnd\SAPgui\saplogon.exe
    File: fputs.c
    Line: 48
    Expressiom: steam != NULL"
    I appreciate that this old GUI is no longer supported BUT the SAP note states that 620 patch 56 is the minimum level for method "G" to work - and previous testing showed that it DID work ok. It seems only some of the 620 patch 57 users are affected - just wondering if you can advise why and if there is a 'quick fix' for this, perhaps an updated fputs.c file or something?
    The issue is that we literally have thousands of users on this version and cannot roll out 720 quickly enough & without some additional testing/costs etc. We have a 710 patch 18 version we can roll out but this can cause IE8 issues... neither do we wish to revert to control method "F" as this will then 'break' printing for those users.
    We have created a LOCL_OLD printer with method "F" but some users (for various reasons, including hard coded printers in bespoke transactions) cannot select this and have to use LOCL...
    If you are aware of the C++ debug assertion error and have any possible solutions that would be much appreciated.
    Many thanks
    Ross

    > I appreciate that this old GUI is no longer supported BUT the SAP note states that 620 patch 56 is the minimum level for method "G" to work - and previous testing showed that it DID work ok. It seems only some of the 620 patch 57 users are affected - just wondering if you can advise why and if there is a 'quick fix' for this, perhaps an updated fputs.c file or something?
    fputs.c is a source file that is used to compile the GUI. The assertion is thrown because an expected condition is not met. So even if you would take out the assertion, there's no guarantee it'll work because "something" on the operating system is not right.
    I suggest you compare installed software and windows hotfixes on the affected PCs vs. those who don't show this error. The error may also be that after the installation of the SAPGUI another software product was installed that replaced certain DLLs that are also used by the SAPGUI.
    Markus

  • Some print Apps work, some give me a server error. Why is this?

    Officejet Pro 8500 Plus - Some print Apps, such as USA Today, work fine. Others, such as MinuteMaze, UCrossword, give me an unable to connect to server error. Why is this?

    Here's the solution for the T-string error.
    http://iweb.dailynews.webege.com/PHP_parse_error.html

  • Print a string on a specific printer

    Hello everyone,
    I need some help.
    I have to print a string in LabView. Previously the method used was to set on the option "Automatically print front panel every time VI completes execution" in the Print Options of the VI Properties.
    Now, however, I should dynamically select the printer on which to print this string. The printer name is dynamically loaded from a text file.
    Actually I'm trying to use the Print Report function (Easy Text Report.vi) that works fine, but it creates problems during the compiling: it create 3 folders in the directory where the executable is located (here the folders: NI_HTML, NI_report, NI_Standard Report) with all the VI "in freedom", not compiled but copied in there.
    There are other methods to print a string through the name of the printer, or to solve this problem of creating random folders and VIs?
    Attachments:
    PrintTest.vi ‏9 KB

    Your application does something internally that depends on the VIs being stored flat inside the executable. LabVIEW 8.x layout basicaly creates one flat archive inside the executable with all VIs stored in one level. That means it can not store VI files more than once with the same name. The Report Generatino Tools are however written using LabVIEW OOP which requires VIs to be named the same in order to allow dynamic dispatch.
    If you deselect the LabVIEW 8.x layout option, the VIs are stored inside the executable in the same hierarchical structure as they are on disk in the source code of your application. That allows multple VIs with the same name to be placed inside the executable, but it does make the internal file hierarchy more complex.
    Bsically you have two options:
    1) figure out where in your appliction yoeu depend on internal paths of VIs to be in a flat order. Most likely this are Current VI path nodes that your application uses to strip twice a path element to find the directory in which the executable is located, for instance to find configuration files or similar. Replace this legacy code construct with an Application Directory property which will return the directory your executable is in rspectively the directory of your project file when you run your app in the devlopment environment.
    2) Live with the extra files outside of your executable!
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Solution for printing of Purchasing Documents in SAP with version managemen

    Hi experts,
    We found that the standard solution does not meet the following requirements for purchasing document
    1)     The print for the latest version of the document does not contain items unaffected by change. It  requires printing of whole document with all items, but with version number and highlighted changes.
    2)     The standard solution cannot highlight some of the changes which are not captured by version management like text changes, target value and Contact (Purchasing Group) in header, text changes at item level, etc.
    3)     The standard solution can be used to reprint the whole PO without version management but that cannot highlight the changes specific to the version for which it is printed.
    If any solution which can meet the requirements specified above, please let us know <removed by moderator>.
    Thanks in advance.
    Edited by: Thomas Zloch on Mar 30, 2011 9:39 AM

    Ok.
    I have already done with SPRO configuration.
    MM->Purchasing->Version management->
    It has implemented ECC 6.0. The version management has been activated for Purchasing documents. The standard printing solution for printing of these documents (PO, Outline Agreements and RFQ) print these documents with changes made in the latest version. Any item which is not changed in the latest version does not get printed.

  • OTF Module: Failed to output print data

    hi all,
    while seeing output on the screen i am getting this error on the status bar:
    "OTF Module: Failed to output print data"
    any one can help me in this regard why this error is coming i am  working on ECC.6

    Check this may give you some idea to solve your issue...
    Rough idea
    **Set printer parameters
    control_param-no_dialog = 'X'.
          control_param-preview = ''.
          control_param-getotf = 'X'.
          output_opt-tddest = 'LOCL'.
          output_opt-tdimmed = ''.
          output_opt-tdnewid = ''.
          output_opt-tdnoprint = ''.
          output_opt-tdnoprev = 'X'.
    Get smartform name
    call function 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING
                formname           = formname
                variant            = ' '
                direct_call        = ' '
           IMPORTING
                fm_name            = fm_name
           EXCEPTIONS
                no_form            = 1
                no_function_module = 2
                others             = 3.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Call smartform
    call function fm_name
               EXPORTING
                    control_parameters = control_param
                    output_options     = output_opt
                    user_settings      = ' '
                    wa_head            = wa_head
               IMPORTING
                    job_output_info    = job_info
               TABLES
                    int_detail         = int_detail
               EXCEPTIONS
                    formatting_error   = 1
                    internal_error     = 2
                    send_error         = 3
                    user_canceled      = 4
                    others             = 5.
    Note pass the job info file you got from above function module
    data: int_docs type standard table of docs,
            int_line type standard table of tline.
    call function 'CONVERT_OTF_2_PDF'
             IMPORTING
                  bin_filesize           = filesize
             TABLES
                  otf                    = job_info-otfdata
                  doctab_archive         = int_docs
                  lines                  = int_line
             EXCEPTIONS
                  err_conv_not_possible  = 1
                  err_otf_mc_noendmarker = 2
                  others                 = 3.
    USE below function module
    all method cl_gui_frontend_services=>gui_download
            exporting
              bin_filesize            = filesize
              filename                = filename
              filetype                = 'BIN'
            changing
              data_tab                = int_line
    Regards,
    SaiRam

  • Server 2012 errors for timeout -- LDAP error number: 55 -- LDAP error string: Timeout Failed to get server error string from LDAP connection

    Hello, currently getting below error msg's utilizing software thru which LDAP is queried for discovering AD objects/path and resource enumeration and tracking.
    Have ensured firewalls and port (389 ) relational to LDAP are not closed, thus causing hanging.
    I see there was a write up on Svr 2003 ( https://support.microsoft.com/en-us/kb/315071 ) not sure if this is applicable, of if the "Ntdsutil.exe" arcitecture has changed much from Svr 03. Please advise. 
    -----------error msg  ----------------
    -- LDAP error number: 55
    -- LDAP error string: Timeout Failed to get server error string from LDAP connection

    The link you shared is still applicable. You can adjust your LDAP policy depending on your software requirements.
    I would also recommend that you in touch with your software vendor to get more details about the software requirements.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • I need to be able to print or export some photos from iPhoto with the date the photos were taken.  Need this for a legal case.  Any suggestions?

    I need to be able to print or export some photos from iPhoto with the date the photos were taken.  Need this for a legal case.  Any suggestions?

    The date they were taken us in the EXIF data and is included in the export
    However it is trivial to modify it so I doubt that it would hold water in court
    LN

  • How to print a string with out using main method??

    how to print a string with out using main method??
    if we can tell me with example?
    thanks in adavance
    raja

    Hi,
    actually there's none. The UITableView class needs to "know" the tableView's height so either it can calc <number of rows> times <row height> or it has to sum the height of each single row.
    If the row which needs to be of different size always is the first or the last row you can user a tableHeader or tableFoot view.
    Regards
    Dirk

  • Add a actionlistener to JTextArea and print out string when  the user input

    Hello:
    I got a problem to add a actionlistener to JTextArea and print out string which from the user input a sentence and after the user press the "enter".
    Could anyone help me please?
    Thanks
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.JScrollBar;
    public class PanelDemo extends JFrame {
       private static JTextArea tAreaUp, tAreaDown;
       private BorderLayout layout;
       private static String strings;
       public PanelDemo()
          super( " test " );
          Container container = getContentPane();
          layout = new BorderLayout();
          container.setLayout( layout );
          tAreaUp = new JTextArea(2,1);
          tAreaUp.setLineWrap(true);
          tAreaUp.setWrapStyleWord(true);
          tAreaUp.setEditable(false);
          tAreaUp.append("I am testing ");
          tAreaUp.append("I am testing");
           JScrollPane scrollPane = new JScrollPane(tAreaUp);
           scrollPane.setVerticalScrollBarPolicy(
                            JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
           scrollPane.setPreferredSize(new Dimension(250, 250));
          tAreaDown =new JTextArea(2,1);
          tAreaDown.setLineWrap(true);
          tAreaDown.setWrapStyleWord(true);
          tAreaDown.addActionListener(new TextAreaHandler());
          JScrollPane scrollPane2 = new JScrollPane(tAreaDown);
          scrollPane2.setVerticalScrollBarPolicy(
                            JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
          container.add( scrollPane, layout.CENTER );
          container.add( scrollPane2, layout.SOUTH );
          setSize( 300, 300 );
          setVisible( true );
         //private inner class for event handling
         private class TextAreaHandler implements ActionListener{
              //process textArea events
            public void actionPerformed(ActionEvent e){
               strings=e.getActionCommand();
                System.out.println(strings);
       public static void main( String args[] )
          PanelDemo application = new PanelDemo();
          application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    }

    Thanks for your help, but I still got a question for you.
    Do you think the way I register the even handler to the TextArea is correct?
    Because the compailer complains about that which like
    "D:\101\fig13_27\PanelDemo.java:43: cannot resolve symbol
    symbol  : method addActionListener (PanelDemo.TextAreaHandler)
    location: class javax.swing.JTextArea
          tAreaDown.addActionListener(new TextAreaHandler());

  • When printing Gantt chart, some of the bars are not appearing in it

    When printing Gantt chart, some of the bars are not appearing in it
    I have added print tag in xml of chart mode-multiple pages.
    <print mode="MultiPage" print_all_columns="true" />
    For printing, I right ckicked on chart and clicked on Print chart..
    Edited by: Sheetal on Mar 29, 2012 2:46 AM
    Edited by: Sheetal on Mar 29, 2012 2:51 AM
    Edited by: Sheetal on Mar 29, 2012 2:56 AM

    Sheetal,
    Did you ever find a reason as to why the bars were not printing? I'm experiencing the same problem with Apex 4.1.1. Only the first part prints. Here is the print tag:
    <print mode="MultiPage" print_all_columns="true" columns_on_every_page="2" fit_timescale_to_end_of_page="false">
    I've changed some of these settings to no avail.
    -Seth.

  • Filter failed message from printer

    I get the filter failed message from printer - an Epsom 387.
    It has worked wirelessly for over a year - today it will not.

    For my
    Epson Stylus Photo PX720WD
    I found downloading
    * Mac OS X Common Updater (v8.0) 12-May-2011 36.94 MBs *
    With the Mac OS X Common Updater you keep your printer drivers always up to date
    Very very helpful......
    YOU CAN FIND IT AT
    http://www.epson.co.uk/gb/en/viewcon/corporatesite/products/mainunits/support/10 840
    it worked straight away.. i hope it helps you also.

  • Failed to get printer information

    I have a legacy application in C++, now ported to VS 2010. All works fine, except I get an intermittent error. I'm printing a CNiReport to a pdf printer (Win2Pdf). Every so often I get an error dialog pop up with the message "failed to get printer information" and the print fails (no pdf produced). This comes from the CnIReport:rint. Unfortunately I'm trying to run my program unattended and this dialog hangs waiting to be dismissed. If I dismiss the dialog and let the program continue, it does and then may or may not get the same error on the next Print. It fails both if I pass the printer name to Print and if I pass an empty name to make it use the default printer.
    Can someone from NI confirm that the dialog is coming from CNiReport:rint and is there anything I can do to stop it? Also, why would it happen only occasionally?
    Thanks
    Phil reaston

    Hey Phil,
    Could you post a screen shot of the error dialog?
    It is uncharacteristic of NI software to have an error cause a dialog to popup. Typically an error code is returned passed and dealt with in error handling or the execution (compiling, run, etc) failing. so I am inclined to say this error is associated with the printer driver. 
    Luke W

Maybe you are looking for

  • Question regarding Graphics - Print Forms

    Hi, This is a print forms question. We are on ECC 5.0, basis release 640 Currently, for all our SAPscripts, we have our graphics as TIF files stored as text modules. For our Smartforms, we loaded BMP files to the BDS using transaction SE78. Adobe bri

  • IDOC segments for Orders04

    Hello Friends, I am creating IDOC for purchase order and the message class is orders01 and orders04 Everything looks good for orders01. But for the same PO for message type orders04 some of the segments do not appear. The segmants containing the text

  • IDOC to SOAP Synchronous

    Hi Team,                 Is it possible to do IDOC to SOAP in Synchronous, if So could you please help me with necessary steps involved in doing the scenario. Regards, Amruth

  • Firewire Cable Needed For File transfer Between Old iMac & New iMac.

    I have an iMac G4 (Flat Panel) - just got the the iMac 21.5! Need to transfer files between old & new iMac. Is the 6 pin to 6 pin the correct cable I'm going to need to get my files transfered ???

  • Query (Select) that return TRUE  or false

    Hi I Need to do a query that return true or false SELECT TRUE INTO v_Envia_Maplink FROM SNCDE, SNAPL WHERE SNCDE.CDESEQ = OLD.CDESEQ AND          SNAPL.APLCFJSEQ = CFJSEQ_VR AND          SNCDE.APLCOD = SNAPL.APLCODHow can to do it ?