How to automatic print to default printer

now i use this command
web.show_document('http://servername:7778/reports/rwservlet?server='||
'repserver&report='||Para_Repname||'&desformat=pdf&destype=cache&userid='||
Get_Application_Property(USERNAME)||'/'||Get_Application_Property(PASSWORD)||'@'||Get_Application_Property(CONNECT_STRING)||
v_parameter||'&paramform=no','_blank');
it 's show pdf file in browser if i want to print i must click printer icon on browser, but i want it to automatic print to printer immediate
someone has solution.

Because the reports run on the server and not on the client machine, there really is no way to print to the client's default printer because the server has no way of knowing what this printer is.
You could create a user parameter with a list of the printers that are normally used and have the users select which printer you wanted the output sent to.

Similar Messages

  • How do I change my default printer to print in grayscale?

    How do I change my default printer to print in grayscale using a MacBook Air?  I have gone to "system preferences" and "printers & scanners."  However, there is absolutely no option to change the print color scale.  I see that option when I go to a document & print, but I don't want to go through the hassle of changing to "gray scale" every time I print.  Thanks so much in advance!! 

    Hi,What operating system you are using? What application you are printing from?

  • How do I set the default print margins for ALL printers in mozilla.cfg

    How do I set the default print margins for ALL printers in mozilla.cfg, even ones that are not yet installed / connected to the computer?
    I'm trying to install firefox with MDT and apply certain print options, but the printers themselves are connected at a later stage so the print.printer_myprinterhere cannot be used.

    Best answer I could find: [https://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/#comment-132668]
    If you can figure out how to add the printer name, this can be used to lock the margins.

  • How can I set the default print settings of my document as color.  I want the default print setting to be color when someone opens a document.  similar to duplex print preset is there a color print preset?

    How can I set the default print settings of my document as color.  I want the default print setting to be color when someone opens a document.  similar to duplex print preset is there a color print preset?

    Hi,
    Try saving your settings as a Preset by clicking the Preset drop down and then select Save Current Settings as a Preset.
    Next try changing the settings by selecting the saved preset.
    That allow saving the settings for a specific printer, I assume it may also allow selecting these settings for another printer.

  • How do I set my default print to be grayscale (NOT full color)

    I have an HP LaserJet CM1415fnw printer on a wireless network at home.  We have a mac, macbook and 2 windows based computers.  I do not want the printer to automatically print everything in color.  How do I set the default to grayscale or black ink only?  I have looked everywhere!!
    Thank you!!
    This question was solved.
    View Solution.

    One will need to have the full software installed on each computer to get this functionality.
    To set greyscale:
    * Open the Printing Preferences for the CM1410 driver that installs for this printer
    * Select the Color tab at the top
    * Click the Print in Greyscale check box
    * Save the options and attempt a print
    Let me know how this goes.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • How to set PDF as default printer? (adobe 9 reader)

    I have the free version of adobe 9 reader, I know I can set as default the pdf printer and that way its how i've always know how to create a pdf. I dont know why when I chose print from a word document it doesnt show the pdf printer it only shows XPS word document and fax. How can i set the pdf printer as default??? please help i know its possible thats how i have always use it.
    thank you

    why when i see the comparison between adobe reader and adobe reader pro (and the others ) it
    says that with adobe reader i can print or create pdf???

  • How to disconnected adobe as default printer menu to pdf files on a mac....?

    mistakenly I have accepted Adobe as the default printer to pdf files, but would rather spend mac's own printer image because it is easier to work with.
    have already deleted adobe and emptied the trash and restarted the machine, but it comes back when adobe I download Adobe again from the internet .... ??
    I can´t find information on how to disconnect the default adobe printer

    Hi Kromann,
    There's no Adobe PDF printer for Mac. It's a Windows only feature.
    If you are talking about changing the file association for pdf files then please refer: http://osxdaily.com/2013/08/08/change-default-application-open-files-mac-os-x/
    Regards,
    Rave

  • How do I set the default printer to pdf in Firefox 8?

    Wish to set default printer to PDF, in specific folder.
    Always tries to print to .ps in my home folder.
    Using Linux, Fedora 16. I have had the same problem in Fedora 14.

    Mark, there's a very basic .NET method on every nullable object:
    GetValueOrDefault
    EDIT: Now I see...please avoid duplicating
    questions...
    To be clear:
    Put GetValueOrDefault on every nullable field used inside your 'TotalDue_Compute' sub
    You don't need to define 'TotalDue' as Nullable anymore

  • CR XI R2 Sp6 - How do you change the default printer used by the Viewer?

    CR XI R2 Sp6
    .NET
    VS2005, C++
    The app selects printer for the job as m_Report->PrintOptions->PrinterName = ss_Device;
    This works nicely for printouts to the printer, but is ignored by the viewer. There, the machine default printer is always selected when I hit the print button.
    Found this which is sortof similar:
    http://forums.sdn.sap.com/thread.jspa?threadID=1275149
    Is there any way to fix this? If no, then is it fixed in more recent versions of CR?

    All of that above can be changed at runtime, but you'd somehow need to figure out what the default printer driver is on each machine and then assign it to the report.
    Yes,but that is exactly what I do. The app normally uses the Windows default printer just as any C++/MFC app will do. On the file menu there is an option to select printer which calls CWinApp::OnFilePrintSetup(); which sets the application default printer setup.
    In the app there is a function to retrieve the default printer:
    CString CLpApp::GetDefaultPrinter()
         PRINTDLG     pd ;
         CString          printer("Failed") ;
         pd.lStructSize = (DWORD)sizeof(PRINTDLG) ;
         BOOL bRet = GetPrinterDeviceDefaults(&pd) ;
         if (bRet)
              // protect memory handle with ::GlobalLock and ::GlobalUnlock
              DEVMODE *pDevMode = (DEVMODE*)::GlobalLock(m_hDevMode) ;
              printer = pDevMode->dmDeviceName ;
              ::GlobalUnlock(m_hDevMode) ;
         return printer ;
    When I print, I do:
    void CSkrivDlg::StartReport(CLpReportJob^ jobb)
         jobb->SelectPrinter("",theApp.GetDefaultPrinter(),"");
         if(m_tillSkrivare)
              jobb->OutputToPrinter(1);
         else
              jobb->OutputToWindow("Fönsternamn", 0, 0, 200, 200, 0, NULL, NULL);
    This works correctly for OutputToPrinter(1);, but not for OutputToWindow() which are simply wrappers for the CR functions:
    bool CReportJob::OutputToPrinter(int nCopies)
         bool rc = true;
         try
              m_Report->PrintToPrinter(nCopies,true,0,0);
         catch (Exception ^e)
              TRACE("
    %s",e->Message);
              m_LastError = e->Message;
              rc = false;
         return rc;
    // OutputToWindow()
    // a,b,c,d = Fönsterkoordinater eller noll för default
    // style = flaggor för fönsterposition
    // window = fönster efter vilket vi dyker upp
    // child = rapportfönstrets handle om vi vill ha den
    bool CReportJob::OutputToWindow(CString Namn, int a, int b, int c, int d, int style, CWnd* window, CWnd **child)
         bool rc = 0;
         CString title="Dummy1";
         title = m_Report->SummaryInfo->ReportTitle;
         CFloaterDlg *Floater = new CFloaterDlg(NULL);               // TODO: Get window
         Floater->Create(IDD_FLOATER_DLG, NULL);
         if(Floater != NULL)
              m_Report->ExportOptions->ExportFormatType = CrystalDecisions::Shared::ExportFormatType::PortableDocFormat;
              Floater->m_Viewer->ReportSource = m_Report;
              Floater->m_Viewer->Zoom(theApp.m_ScreenZoom);
              // Sätt fönsterrubrik från rapporten
              Floater->SetWindowText(title);
              // Puffa på så att den kan ändra storlek på Crystal-kontrollen
              Floater->Size();
              // Visa fönstret om det är stängt
              if(!Floater->IsWindowVisible())
                   Floater->ShowWindow(SW_SHOW);
              rc = true;
              if (child!=NULL) *child=Floater;
         else
              AfxMessageBox("Kunde inte skapa fönster för utskrift",MB_OK);
              rc = false;
         return rc;
    Floater is simply a dialog that holds the Viewer control.
    For some reason does the Viewer not obey the printer selection done in the report

  • How to make Firefox reset printing to Default Printer and Settings at Startup

    Earlier versions of Firefox and most Windows programs that I know of, start by using the default printer with default settings. If you change them, they stay changed for that session, but once you close the program and re-start it, you are back to a clean slate. V3.6 of Firefox now remembers settings such as portrait/landscape, zoom settings, etc. I find myself throwing out paper because I zoomed in on a certain document on Friday, then on Monday inadvertently print 20 pages of a normal page because Firefox remembered the zoom and I forgot about it. I would hate to HAVE to do a print preview EVERY time I printed because I couldn't count on the default settings. Thanks for your help.

    Here's a great link with a fix that worked for me.
    [http://saalwaechter-notes.blogspot.com/2008/01/firefox-and-default-printer.html Firefox and the default printer]

  • How do I set the default print pref to fast draft on a Photosmart C410 w/o using a PC?

    I have a Photosmart C410 for printing from my iPad.  I want to set the print preference to print "fast draft" instead of the "normal" default.  Can I do this from the printer itself rather than from a PC connected to the printer?

    Hi ngrammes!
    If you are using AirPrint (printing directly from the iPad) there is unfortunately no way to change the print settings at this time. AirPrint is a fairly new service of Apple's that our printer's support and they may add more features with newer versions of the iOS.
    Let me know if this helps!
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How to print to default printer without any prompt?

    Hi,
    I would like to print on my default printer, without system window with available printers.
    Is it possible?
    Best regards.

    Hi Tevfik,
    Even i have the same problem and don't want to follow this complicated process.
    Did you latter find any easy way out, to update the enterprise app in the Samsung device without user intervention?
    Thank you
    Regards
    Sajan Mathew

  • How can i save a selected printer (no default printer) in adobe Reader 10x

    Hi!
    In such cases (large files, ) users will print on a netprinter (copier) and not on windows deafult printer (local).
    Is there a possibility to save the last selected printer (which is different to windows default) in acrobat reader?
    When i start adobereader at next time the Windows default printer is set again !?
    Short:
    Where can i set a own printer for adobereader?
    thx for help

    Where can i set a own printer for adobereader?
    Not possible.

  • IPrint Printer Policy - default printer

    ZCM 11.2.3a
    I seem to be getting some quirky reactions to my printer policy. I
    created a policy with 4 iPrint printers and assigned it to a number of
    workstations. I did not set a default printer because I want to leave
    that up to the user. For some users the default keeps changing from
    their desired default when they login each morning. How is this
    supposed to work?
    Ken

    Check out TID 7014808 for more info. FYI the listed workaround didn't work
    for us.
    Jim
    "KeN Etter" wrote in message
    news:[email protected]..
    ZCM 11.2.3a
    I seem to be getting some quirky reactions to my printer policy. I
    created a policy with 4 iPrint printers and assigned it to a number of
    workstations. I did not set a default printer because I want to leave
    that up to the user. For some users the default keeps changing from
    their desired default when they login each morning. How is this
    supposed to work?
    Ken

  • Printing to Default printer (it's wireless) goes to Queue in Printing Status but never prints.

    My Photosmart D110a is connected wirelessly to my computer and I have it set as the Default printer running on Windows 7.  It prints fine from local apps like Word.  I've run the diagnostic utility and it is all good, all green check marks.  When I try to print from the web (like a coupon, for example), it goes to the print queue but is stuck there in 'Printing' status.  As I've been trying the troubleshooting steps, I've noticed that the Port is WSD and not an HP port.  Is this part of the problem?  Also, I used to have an HP Deskjet 5150 connected via USB and am wondering if it's getting confused by that somehow.  Would like to remove all references to the Deskjet but  I can't find a way to eliminate it.

    What browser? Have you tried a different browser?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

Maybe you are looking for

  • Error while calling java in sql

    hi.. i would like to load and call simple java into oracle database. this is my simple java code. public class SimpleJava { public void main(String[] args) { System.out.println("Here we are"); then, i created .class file and ready to be loaded into o

  • Choose a set number of files in a folder?

    Is there a way using AppleScript to choose a set number of files inside a folder? I've created an Automator workflow to convert some files (Illustrator to PDF) but the folders contain a large number of files (nearly 500). If I ran the workflow on thi

  • Problems loading iTunes on XP

    I previously loaded iTunes on my Dell, Windows XP for my visiting brother using his software and it worked fine. He left and I uninstalled the old iTunes/Quicktime from my computer. I bought a nano and tried to load the iTunes software from the disc.

  • How do I get rid of the "you've opened a new tab" page that opens when I open a new tab?

    There is also a search function that leads me to yahoo search. No good.

  • Digital Signature for PM IW22, IW32 and IW41

    Hi, Is it possible to have electronic signature for Plant Maintenence IW22 - Change Notification IW32 - Change Work Order and IW41 - Order Confirmation. Thanks, Geetha