Action to print a file without opening it

Hi. I'm using Action Script 2. I'm creating a CD ROM that
launches external files such as PDF's, PowerPoint and Word
Documents. My client has asked that when a user clicks on an icon
to launch a file, that a dialogue appears for the user to either
open the file or just print without opening. Is there a script out
there to tell the flash player to communicate with the file and
instruct it print, without opening?
Any help on this greatly appreciated.
Thanks

Hi
Yes you can by using FlashJester JStart with the /print
command read this
http://www.flashjester.com/?section=faq&cPath=28_41#352
Download a FREE evaluation copy from
http://jstart.flashjester.com
and try it yourself.
Regards
FlashJester Support Team
e. - [email protected]
w. - www.flashjester.com
"This has been one of the most impressive and thoroughly
pleasant
experiences of customer support I have ever come across -
astounding!"
Director - hedgeapple

Similar Messages

  • Print pdf files without open them

    i am using gnome and adobe reader to open pdf file. however, is there anyway i can print the files without open them ?

    lpr somefile.pdf - as long as cups is configured correctly.

  • I installed Adobe Reader X and i can't print PDF's without opening Reader first

    Hi, i am using windows XP and i just installed Adobe Reader X onto a workstation within' my office. I use to have Adobe Reader 9 where i could just open a folder with my PDF's. For example, My Documents folder and right click on the PDF i want to print, without opening the file in Adobe Reader first and then clicking print. With Adobe Reader X, i can't do the right click option and print because nothing happens.
    Is they an option in Adobe Reader X i need to turn on or off, to get the function of printing by right clicking on the PDF file without opening Reader X to print please ?

    Is it happening all the times or happened just in the starting when you hadn't accepted EULA?
    Is it still happening after accepting EULA?
    Also, can you please tell what printer exactly are you using?

  • In Snow Leopard, there was a quick look feature that allowed you to look at files without opening the program.  It doesn't show up in Lion on my iMac.  Any ideas?  Thanks

    In Snow Leopard, there was a quick look feature that allowed you to look at files without opening the program.  It doesn't show up in Lion on my iMac.  Any ideas?  Thanks

    While in Finder, select the file (click on its icon once) then press the Spacebar.

  • How can we get the artset from a .ai file without opening it?

    Hello All,
    I have one .ai file, lets say sample.ai file. located in C drive. so the complete file path is "C:\Sample.ai".
    and lets assume the sample.ai file has one traingle shape(3 path type arts) in it.
    Now I want to get the 3 path arts (artset)  from sample.ai file without opening it in AI.
    The function protoype is like below
    AIArtSet& artSet GetArtSetFromAFile( ai::FilePath& filePath );
    Is there any API like above function in AI? or is it possible to get the art(s) from a file without opening it in AI?

    Not to my knowlege. The API only operates on active documents as far as I know.

  • How can I save an indd file as an idml file without opening the document?

    I cannot open an InDesign file that was made in a later version of InDesign because I don't have the right plugins. How can I convert this indd file to an idml file without opening it?

    Well..... sort of depends on your version.
    If you have any version as part of CC subscription, the latest updates are supposed to be using a cloud-based service to generate the IDML for you so that you can open the newer files seamlessly.

  • Client_ole2 to Print wpw extension file without opening the file

    Hi All,
    I am using oracle 10g and want to print .WPW file directly to Printer without opening it.
    I have used two Procedure
    PROCEDURE Change_attrib(v_filename in varchar2,v_attrib in varchar2) IS
    temp varchar2(200);
    BEGIN
    if v_attrib = '1' then
    temp := 'attrib +R '||v_filename;
    host(temp,NO_SCREEN);
    elsif v_attrib = '0' then
    temp := 'attrib -R '||v_filename;
    host(temp,NO_SCREEN);
    end if;
    END;
    PROCEDURE word_file( p_FileName varchar2 ) is
    args      client_ole2.list_type;
    application client_ole2.obj_type;
    docs      client_ole2.obj_type;
    doc      client_ole2.obj_type;
    Begin
         change_attrib(p_filename,'1');
    application := client_ole2.create_obj('word.application');
         docs := client_ole2.get_obj_property(application, 'Documents');
    args := client_ole2.create_arglist;
    client_ole2.add_arg(args,p_filename);
    doc := client_ole2.invoke_obj(docs,'Open',args);
    client_ole2.invoke(application,'PrintOut');
    client_ole2.destroy_arglist(args);
    client_ole2.release_obj(doc);
    client_ole2.release_obj(docs);
         client_ole2.invoke(application,'Quit');
    End word_file ;
    and Simply call like below
    word_file('c:\cn1.wpw');
    Printing is good but everytime it pop up save as option which is not intended.
    Please Help!!!!!!!!!!!
    Best Regards,
    SPS

    If you have a postscript printer or rip which has the ability to create hot folders to link to the printer queues you could simply drag-n-drop and PDL (page description language) file like PDF, PS, EPS to that hot folder to initiate printing. Again, very dependent on your printer/rip device.

  • Printing a document without opening it in Oracle Forms 10g

    Hi Friends,
    This is my first thread in this forum. Please any one give me a solution for my below request.
    We use oracle 10g and windows (any version). I want to print some files available in a folder without opening it (run in background) through oracle forms.
    My requirement is:
    A folder contains 10 files of word and excels documents. The client machine user (for example 3 clients’ machines who has different default printer configuration) has to trigger the print command to print the documents.
    * I have found Article "Java Bean to print a file to Local Printer" (http://forms.pjc.bean.over-blog.com/article-6621538.html). I do think it will help.
    * I have found a windows command prompt print concept.
    PRINT mytext.txt /D:LPT2
    Prints a text file.
    PRINT [D:device] [[drive:][path]filename[...]]
    /D:device specifies a print device.
    * The command prompt print syntax is used with webutil function as given below.
    CLIENT_HOST('cmd PRINT mytext.txt /D:LPT2);
    1) is the web util syntax only enough for this requirement?
    2) In this how to find the default printers in each client machines and use in the place of syntax?
    3) Or any other ways available for this requirement.
    I look forward solution for this question....!

    Hi Jeshra,
    Another option would be to find or write a Windows PowerShell script to print any file and then call that from CLIENT_HOST. Many file types, including Microsoft Office files, have a print operation registered with Windows so you can right-click on them in Windows Explorer and choose "Print." You should be able to exploit this ability with PowerShell.
    A quick Google search revealed this potential PowerShell solution:
    http://powershell.com/cs/blogs/karl-prosser/archive/2009/02/10/print_2D00_file_2D00_function.aspx
    PowerShell is installed by default only on Windows 7 so you would have to install it on older Windows clients.
    Hope that helps,
    Brian

  • How to print *.PRN file without print Dialog from Java

    hi friends
    I need to print *.PRN file from java code.*
    I need to print directely without open printer dialog box when i select .PRN file then it should able to direct print to default printer.
    Here is the Dos command to directely print the PRN file
    COPY C:\\PrintFile.prn /B \\java103\\HPLaserJ
    (source: http://filext.com/faq/print_from_prn_file.php)
    i try to run that dos command through Process p = Runtime.getRuntime().exec("COPY C:\\PrintFile.prn /B \\java103\\HPLaserJ");
    But is show that
    Here is the LOG of ERROR
    \\java103\HP LaserJet M1120 MFP
    java.io.IOException: Cannot run program "COPY": CreateProcess error=2, The system cannot find the file specified
         at java.lang.ProcessBuilder.start(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at Print2Printer.GetDefaultPrinter.main(GetDefaultPrinter.java:17)
    Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(Unknown Source)
         at java.lang.ProcessImpl.start(Unknown Source)
         ... 5 more
    Here is the Source
    import java.io.IOException;
    import javax.print.PrintService;
    import javax.print.PrintServiceLookup;
    public class GetDefaultPrinter {
         public static void main(String args[]){
              PrintService printer = PrintServiceLookup.lookupDefaultPrintService();
              System.out.println(printer.getName());
              try {
                   Process p = Runtime.getRuntime().exec("COPY C:\\PrintFile.prn /B \\java103\\HPLaserJ");
                   System.out.println(p);
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();

    you need to specify which program you want to execute in Runtime.getRuntime().exec(). So try this one
    try {
    Process p = Runtime.getRuntime().exec("cmd.exe COPY C:\\PrintFile.prn /B \\java103\\HPLaserJ");
    System.out.println(p);
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }

  • Print HTML doument without open it from an applet

    I need to know how I can print an HTML document from an applet developed with Jbuilder 4. I'm not a very expert developer and I need a detailed information about this problem. Important is that the HTML document is printed without open it.
    I use: win 2000 pro
    J2RE 1.4.0
    thanks in advance for your help
    Mauro Losa

    Thanks for your help but my problem is that i want print the document without display it.
    I think to have find a solution using Java Print Service API (JDK 1.4) but when i run the example the system display this error refered to this instruction
    "PrintService[] pservices = PrintServiceLookup.lookupPrintServices(flavor, aset);":
    java.lang.UnsatisfiedLinkError: getDefaultPrinterName
    at sun.print.Win32PrintServiceLookup.getDefaultPrinterName(Native Method)
    at sun.print.Win32PrintServiceLookup.getDefaultPrintService(Unknown Source)
    at sun.print.Win32PrintServiceLookup.getPrintServices(Unknown Source)
    at sun.print.Win32PrintServiceLookup.getPrintServices(Unknown Source)
    at javax.print.PrintServiceLookup.getServices(Unknown Source)
    at javax.print.PrintServiceLookup.lookupPrintServices(Unknown Source)
    at untitled4.applet1.main(Applet1.java:32)

  • Print HTML File Without Showing on Screen

    Hi Everyone
    Is there a way to print a file (in particular, an html file) from a java app without actually displaying the file on the screen.
    ie. print from command line.
    I am creating an html file from within java app and would like to print it in one step.
    Any help would be greatly appreciated.
    Thanks
    Kelly

    Hi,
    Heres some code from an app I wrote that prints out text. I've stripped out little sensitive bits.
    // Procedure to perform when print button is pressed
       void printButton_actionPerformed(ActionEvent e){
         int x, y, pageNo = 1, maxPageHeight, textHeight = 0;
         Date today = new Date();
         String tempLine = new String("");
         String tempString = new String();
         Graphics pg;
    // Create date and time formats
         SimpleDateFormat dateFormatter = new SimpleDateFormat("dd/MM/yy");
         SimpleDateFormat timeFormatter = new SimpleDateFormat("HH:mm:ss");
    // Create date and time strings
         currentDate = dateFormatter.format(today);
         currentTime = timeFormatter.format(today);
    // Turn off double buffering
         RepaintManager.currentManager(this).setDoubleBufferingEnabled(false);
    // Get a print job
         PrintJob printjob = getToolkit().getPrintJob(this, "<printjob name>", null);
         if (printjob != null) {
           maxPageHeight = printjob.getPageDimension().height-(rowHeight*2);
           pg = printjob.getGraphics();
           if (pg != null) {
             pg.setColor(Color.black);
             pg.setFont(new Font("Courier", 0, 10));
    // Print header
             textHeight = topOfPage;
             pg.drawString("Report      Date " + currentDate +
                           "      Time " + currentTime + "  Page " + pageNo,
                           30, textHeight);
             textHeight += rowHeight;
             pg.drawString("File: " + dataFile , 30, textHeight);
    // Print errors
             textHeight += rowHeight*2;
             pg.drawString("Errors", 30, textHeight);
             textHeight += rowHeight;
             pg.drawString("------", 30, textHeight);
             textHeight += rowHeight;
             pg.drawString("col1         col2 col3                 Value        Reason",
                            30, textHeight);
             textHeight += rowHeight;
             pg.drawString("------------ ---- -------------------- ------------ --------------------",
                            30, textHeight);
             if(errorData != null){
               for(x = 0; x < errorData.length; x++){
                 textHeight += rowHeight;
                 if(textHeight > maxPageHeight){
                   pg = nextPage(pg, printjob, ++pageNo);
                   textHeight = topOfPage + rowHeight*2;
                 tempLine = "";
                 for(y=0; y<columnLengths.length; y++){
                   tempString = errorData[x][y] != null ?
                                roundLength(errorData[x][y].toString(), columnLengths[y])
                                : roundLength(" ", columnLengths[y]);
                   tempLine += tempString + " ";
                 pg.drawString(tempLine, 30, textHeight);
             pg.dispose(); // flush page
           printjob.end();
       }Hope that helps.
    Rob.

  • Is it possible to add groups in RDP file without opening it?

    We are using row-wise initalization in OBIEE 10.1.3.4. Are customers would like to add custom groups for diffenrent people so they can share dashboards. The problem is that we don't want them to touch RDP file manually. And in my knowledge the groups has to be in RDP to work. So is there any way to do this without opening the RDP file?

    Hi,
    And in my knowledge the groups has to be in RDP to workYes you need them in rpd
    So is there any way to do this without opening the RDP file? No as its 10g you need to add them manually
    Regards,
    Srikanth

  • How to view contents of file without opening the file?

    Does anyone know of a utility that will allow you to quickly view the contents - or a part thereof - of a file (particularly Word files) without having to open the file? I have thousands of files restored after a disk failure, but their filenames have been lost and replaced with sequential numbers. The only way of knowing the contents is to open the file, a tedious process for so many. I seem to recall seeing a shareware app that allowed this. Thanks for any help.
    MacBook Pro 17   Mac OS X (10.4.8)  

    Open the Script Editor in the /Applications/AppleScript/ folder and paste in the following:
    tell application "Finder"
    repeat with this_num from 1 to 5
    set the_item to item this_num of window 1
    set the_name to name of the_item
    set the_text to (read (the_item as alias) from 1 to 15)
    tell application "TextEdit"
    set text of document 1 to (text of document 1) & the_name & return & the_text & return & return
    end tell
    end repeat
    end tell
    Before running the script, place the folder containing the files in the frontmost Finder window; you may want to split the files between several different folders and process each folder before heading on to the next one. The numbers in blue can be customized as needed; the first one controls how many files the script will search on each run, and the other two define what part of the file will be searched. The output from a file which is in a format other than plain text may contain document formatting and other content which will look like random characters.
    (19999)

  • How can I delete damaged picture files without opening iPhoto?

    I was downloading a few pics from my roommates professional-quality camera (I'm assume the file sizes are huge) and, of course, I had to download all 150 or so, instead just the few I needed. Anyway, I got a message that some of the files were "damaged" and couldn't be downloaded. Now, when I open iPhoto it either just locks up or shows some of the files downloaded, doesn't show others, and then locks up. So, what I need to do is just delete all pictures from that date without opening iPhoto .... any ideas how to do this?

    1 - In the future if you want only certain photos use image capture (in your applications folder) - with it you can selective load photos
    2 - try rebuilding your library - launch iPhoto while depressing the option (alt) and command (apple) keys and use the first three rebuild options
    Do not use the finder to modify the contents of the iPhoto library
    LN

  • How do I reenable Firefox 11 to download pdf files without opening them? Thank you!

    First, I'd just get a blank screen. Then I learned to change 'get info.' window to open Firefox in 32-bit mode. Now, pdfs easily open, but I don't how to just download them (for later viewing) without opening them.

    On Mac, use: Firefox > Preferences > Applications<br />
    You can set the action to "Always Ask"
    *http://kb.mozillazine.org/File_types_and_download_actions

Maybe you are looking for

  • Pre loaded apps and info

    Is it possible to delete the apps that come with the ipod touch version 1 with the 2.1 upgrade? When I bought my ipod I had "apps" like stocks, you tube, etc....can those be deleted? As well as for example under the clock, there was some place entere

  • HP Envy 17 Doesn't Have an NVIDIA Card?

    I was going through my system information in order to figure out why I was having gaming issues, and was shocked to see that the only graphics card listed in the system information section of the HP Support Assistant was an Intel(R) HD Graphics 4600.

  • How to delete a namespace from IR

    Hi, I have deleted the all data  types but I could not delete the Namespace from IR. can anyone help me out. Thanks & Regards Ashok.

  • Adobe Audition CS6 Record Voice Problem

    Hello Friends..! I've a problem :S My problem is record voice..! I don't save my voice on Adobe Audition CS6..! And There is an error..! Error İs " The sample rates of the audio input and output devices do not match. Audio cannot be recorded until th

  • Problems installing Photoshop Elements 4.0/5.0??

    Hi all, I recently attempted to download Photoshop Elements 4.0/5.0 from CS2 found here:  http://www.adobe.com/downloads/cs2_downloads/index.html . I am on a Macbook Pro (2011), and running Mountain Lion. I am receiving an error message (shown below)