Suppress the Print dialog box in Air /Flex

Hello,
I am trying to print the pdf files(which is located in my system) directly in the printer without showing print dialog box .
I tried to print the screen without displaying print dialog box using flash.printJob.start2().
but am not able to print pdf files in the printer its printing dark screen only also it just printing the UIcomponent size only. its not printing all d pages available inside pdf file.
Can you please help me to resolve this issue.

Hi
I tried to open a new bug report , that screen itself not displaying properly and I couldnt able to enter any comments there ,I can see only the option buttons.
and I am trying to print the documents which is having mutiple pages using flash printJob . the following code I have used . here i am trying to Print Textfield .
Could you please me how can I add document/pdf file/text file instead of TextField.
va txt:TextField = new TextField();
txt.text = "Hello Test" ;
var sheet:Sprite = new Sprite();
sheet.addChile(txt);
and in printing
If(PrintJob.start2(null,false))
PrintJob.addPage(sheet);
PrintJob.send();

Similar Messages

  • How to suppress the Print Dialog Box?

    Running an (ASP.NET /Crystal Reports 2008) application and using CrystalReportViewer control. Is there way to suppress the print dialog box when I click the print icon on the report tool bar?
    Edited by: juRamz on Aug 26, 2009 2:54 PM

    Hello,
    Sort of, CR needs the info. Only option is to create your own print button that has all the info filled in. It's a Windows Framework Common dialog box that CR calls so it's the OS that is prompting for the info.
    Using ReportClientDoc here's a possible solution, note that this too has a dialog box to select the printer:
    private void button1_Click(object sender, System.EventArgs e) // Print To Printer button
        System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();               
        PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
        CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new PrintOptionsClass();
        //CrystalDecisions.CrystalReports.Engine.PrintOptions newOpts = new PrintOptionsClass();
        pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
        rasPROpts.PrinterName = cboCurrentPrinters.Text;
        rasPROpts.PaperSize = (CrPaperSizeEnum)
            pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
        rasPROpts.PaperSource = (CrPaperSourceEnum)
            pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
        // new API added to allow changing printing options
        newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
        newOpts.DissociatePageSizeAndPrinterPaperSize = true;
        rptClientDoc.PrintOutputController.ModifyPageMargins(0, 0, 0, 0);
        rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
        MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
    Thank you
    Don

  • Current View option in  the Print dialog box

    I have a PDF file, approximately 55 pages that is comrpised of 50+ .jpg images that were combined into a single PDF file. The images are various size screenshots from Facebook.
    I need to be able to print the entire file at 75% magnification in order for every page to be readable.  Only way in Adobe’s print dialog box that I can find to do so is select one page at a time, select “Current View” and then print. 
    When "All" is selected under Print Range in the Print Dialog box, the pages print at different magnifications, most below 10% and unreadable.
    Is there a way to get the entire document to print in the “Current View” setting or at a specified magnification?
    I’m using Adobe Acrobat 9 Pro.
    Any help would be greatly appreciated.
    Thanks

    duh...
    Figured out I had to tweak it in the "copies and Pages"

  • I can no longer print to the 3 Canon printers on my local area network. The print dialog box states that the print file is accepted and the job is printing, but the files never print. Everything worked when the computer and printers were initially set up.

    I can no longer print to the 3 Canon printers on my local area network. The print dialog box states that the print file is accepted and the job is printing, but the files never print. Everything worked when the computer and printers were initially set up.

    There may be some security issues related to the USPS PDFs.
    http://www.certified-mail-envelopes.com/signatures-usps-certified-mail-return-receipt-requested
    I can't help with the scan/print problem. You seem to have done everything I would try.
    I don't know if maybe using a registry cleaner would help.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • Can't see printer name in the print dialog box as the printer name is too long

    This is actually causing siginificant pain as I am using a tablet and moving around a number of floors/buildings needing to be able to print from where I am.
    When printing from Acrobat reader, the print dialog box that comes up does not have a horizontal scroll bar and does not fit in the names of the printers in my organisation. We are unable to change the printer name, so it basically means that when using Acrobat, we can't select a printer.
    All other windows applications show more characters and also have a horizontal scroll bar in the print dialog box so you can scroll across to see the rest of a long printer name. Why is acrobat not using the standard windows print dialog?
    Has anyone come across this? Help!

    This is the Acrobat forum, not the Reader forum. In the future you should check there. I am not sure why you can not change the printer name, unless you do not have administrator rights. The name of the printer has nothing to do with where the print copy is sent. It is just for the purpose you mentioned of identifying the printer to print to. If you are not the administrator, ask your IT folks to change the name for you and explain why.

  • PUT BACK THE MISSING THE SCREEN FUNCTION IN THE PRINT DIALOG BOX!!!!

    Hello all...
    I am a creative director in the screen print (garment industry) for over 20 years.  We have always used PS to directly print and control our halftone screens and angles through the screen function in the print dialog box.  Now it has miraculously disappeared after so many versions previous.
    I emplore Adobe and their team to please update this function back into CS5.
    Although it is a function many might not even understand how to use, it is IMPERATIVE to the screen printer/artist in this industry.
    There are workarounds, of course, but they are much more tedious and time consuming.
    I truly cannot convince enough that we folks in this industry want this function back!!!!!

    You might want to also post in these Fora:
    Photoshop Feature Requests
    http://feedback.photoshop.com/photoshop_family/products/photoshop_family_photoshop

  • HT3669 Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this opt

    Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this option?

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • CS6 Photoshop: One newly-created PSD filewon't print because the print dialog box won't appear altho the file properties appear to be the same as other files that do print.

    CS6 Photoshop: One newly-created PSD file won't print because the print dialog box won't appear after selecting File > Print.  Then "Print" becomes grayed out. The file properties such as permissions, are the same as other PSD files that do print.  This file also cannot be converted to Adobe PDF, which is not offered as choice under "Save as", whereas other can be.  I've exited, reopened Photoshop, restarted computer, checked out other CS6 PSD files which do print, nothing changes.  The 52 MB file has been flattened. OS is Windows 7.  Thanks for any suggestions.

    Sounds like the printer driver is having some problems.
    Try holding the space bar down when you select Print (which makes the print dialog NOT load previously used settings).

  • Where do I find the printer dialog box to change the setting that asks me to save a file before printing

    Where do I find the printer dialog box to change the setting that asks me to save a file before printing

    Hi Sara,
    The problem is every time I try to copy a page from a website or attachment sent to me or anything that I don't create, the dialog box says I have to save it before I can print -- there are no other options on the dialog box.  Very frustrating -- one of the girls in my office is having the same problem and we can't find a way around it.
    Hope you can help
    Thanks
    Carol Laskos
    "Sara.Forsberg" <[email protected]> wrote:
    Sara.Forsberg  created the discussion
    "Where do I find the printer dialog box to change the setting that asks me to save a file before printing"
    To view the discussion, visit: https://forums.adobe.com/message/7070517#7070517
    >

  • After the latest two updates, whenever Firefox starts, the print dialog box appears automatically. Why, and how do I stop this?

    Not much else to add. The print dialog box just opens every time Firefox is started or restarted.

    Check the Home page setting:
    *https://support.mozilla.com/kb/How+to+set+the+home+page
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Is here a way to disable the print dialog box?

    I am trying to disable the print dialog box so that a page can print directly from a javascript "print" command. How can I disable the print dialog box so that it will print automatically?

    You can try creating a new boolean preference - '''print.use_native_print_dialog''' - and set it to '''false''' and see it that still works. That pref was removed from about:config a number of versions ago, but the underlying code might still be present, so give it a try.
    http://kb.mozillazine.org/About:config

  • Suppressing smartforms Print dialog box

    Hi,
      I want to suppress Print Dialog Box in smartform and directly go to print preview. I have set the CONTROL_PARAMETERS ,NO_DIALOG to 'X' and PREVIEW 'X' but still print dialog box is not suppressed. i even set OUTPUT_OPTIONS-TDDEST but it disappear and each time it display the print dialog with output device(TDDEST) field empty.
    Thanks in advance.

    Hi,
    Chek this sample program in 4.7:SF_EXAMPLE_03
      control-no_dialog = 'X'.
      control-preview   = 'X'.
      control-no_open   = 'X'.
      control-no_close  = 'X'.
      call function 'SSF_OPEN'
        exporting
    *     ARCHIVE_PARAMETERS       =
    *     USER_SETTINGS            = 'X'
    *     MAIL_SENDER              =
    *     MAIL_RECIPIENT           =
    *     MAIL_APPL_OBJ            =
    *     OUTPUT_OPTIONS           =
          control_parameters       = control
    *   IMPORTING
    *     JOB_OUTPUT_OPTIONS       =
        exceptions
          formatting_error         = 1
          internal_error           = 2
          send_error               = 3
          user_canceled            = 4
          others                   = 5.
      if sy-subrc <> 0.
    *   error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        exit.
      endif.
    *   now call the generated function module
        call function fm_name
             exporting
    *                   archive_index        =
    *                   archive_parameters   =
                        control_parameters   = control
    *                   mail_appl_obj        =
    *                   mail_recipient       =
    *                   mail_sender          =
    *                   output_options       =
    *                   user_settings        = 'X'
                        customer          = customer
                        bookings             = bookings
                        connections          = connections
    *        importing  document_output_info =
    *                   job_output_info      =
    *                   job_output_options   =
             exceptions formatting_error     = 1
                        internal_error       = 2
                        send_error           = 3
                        user_canceled        = 4
                        others               = 5.
        if sy-subrc <> 0.
    *     error handling
          message id sy-msgid type sy-msgty number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
      endloop.
      call function 'SSF_CLOSE'
    *   IMPORTING
    *     JOB_OUTPUT_INFO        =
        exceptions
          formatting_error       = 1
          internal_error         = 2
          send_error             = 3
          others                 = 4.
      if sy-subrc <> 0.
    *   error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    * analyse internal error table of Smart Forms
      call function 'SSF_READ_ERRORS'
           importing
                errortab = errtab.
      if not errtab is initial.
    *   add your handling
      endif.
    I hope this will work.
    Regards,
    Anjali

  • How can i get rid of the print dialog box when using api to print an html file

    i am using the systemshell.vi provided by labview the VI is working fine but it will open a dialog box for printer selection and properties. i would like to hide that dialog box and have it print to the default printer with the default properties

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

  • Using the print dialog box of Windows

    Hallo,
    how can I use the Windows printing dialog box for selecting a printer ?
    (I use LabWindows 5.0.1)
    Regards HGalle

    Our printing functions (PrintCtrl, PrintPanel, etc.) will bring up the print dialog if you select to show it in the function call. If you weren't using our print function, you can bring up the Windows print dialog box with the Windows SDK function PrintDlg. Consult SDK documentation for help with this function.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • HT204135 How can one make the printer dialog box to have Show Details as default?

      I very often use different presets from document to document.  Thanks.

    Once you select the Show Details for any application, the next time you use that application and select to print, the full details pane should be shown.
    If this is not happening and the applications always show the Hidden Details print dialog then you may need to perform some sort of reset.
    Also, if you were to use the Presets option and set commonly used settings as a Preset, then even if the print dialog is not showing the extra details, you can still select the desired Preset from this print dialog.

Maybe you are looking for

  • How do I use the same firefox on a USB drive on 2 computers

    I use the same external usb hard drive on two computers (home and work). I would like to be able to install firefox on both PCs and use the same profile so I get all my bookmarks, accounts etc identically on both machines.

  • How can i retrive my back up data

    I finally updated my IPod touch after a few years. Prior to downloading, a window popped up saying I can download the update to my computer so I dont lose my content.Well that I never got the option, it went right into "Backing up my IPod" so I figur

  • Types of time char

    hi,            how many types of time char do we have and which are they??

  • RFC Interface Generation

    Under 4.6C, in SE37 you could generate RFC interface code (.c and .h files) for a function by going to the menu bar: Utilities / RFC Interface / Generate Under 4.7, there is no RFC Interface option under Utilities. Any idea if this has been moved els

  • Pdf online with fields

    Hello, I am looking to post a document online, which users can add comments to & fill fields in, and then it be saved online, similiar to a guestbook. Will a pdf document work this way? I know I have write permissions issues to address on my website,