How to display the Print Dialog with defined print presets included.

When I try and display the Print Dialog none of my defined print presets are included in the print preset list box, I only get the [custom] option.
How can I get the presets included in the list?
The code I am using is:
InterfacePtr<IPrintData> docPrintData(document->GetDocWorkSpace(), UseDefaultIID());
// create a temp non-persistent IPrintData
IPrintData* tempPrintData(CreateObject2<IPrintData>(kPrintDataBoss));
// copy data from the document workspace
tempPrintData->CopyData(docPrintData, kTrue);
InterfacePtr<ICommand> printDialogCmd(CmdUtils::CreateCommand(kPrintDialogCmdBoss));
InterfacePtr<IPrintDialogCmdData> printDialogCmdData(printDialogCmd, IID_IPRINTDIALOGCMDDATA);
// store off the document's UIDRef in the print data boss
UIDRef docUIDRef = ::GetUIDRef(document);
printDialogCmdData->SetDocUIDRef(docUIDRef);
printDialogCmdData->SetPrintData(tempPrintData);
ErrorCode result = CmdUtils::ProcessCommand(printDialogCmd);
tempPrintData->Release();
Thanks

You can set the presets with Adobe Acrobat.

Similar Messages

  • How to display the message along with a value using BBP_CHECK_BADI

    Hi Gurus,
    I need to display a message dynamically when the user create's a shopping cart. I am using Check_badi for this. i.e., I need to display the buyer number and amount left for him dynamically. I am storing both of them in variables and don't know how to display the messages laong with some message " the amount left for <XXXXXX> is <$$$$$$$$>". Can you help me out.
    Thanks,
    Neelima

    Hi,
    you can use the function module 'BBP_PD_MSG_ADD'. This is the function module normally used for the displaying the error messages in SRM.
    See wether you can use already available error messages , use the transaction SE91 , and the message class being BBP_PD

  • How to display the selection screen with icons as well as with text element

    How to display the selection screen with icons as well as with texts (written in text elements) for PlantDate, OrderType,WareHouse..

    Report zex33.
    type-pools: icon.
    selection-screen begin of line.
    selection-screen comment 1(20) text_001.
    parameters: p_werks type marc-werks.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_002.
    parameters: p_whouse(10).
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_003.
    parameters: p_auart like vbak-auart.
    selection-screen end of line.
    initialization.
      write ICON_PLANT  as icon to text_001.
    concatenate text_001 text-001 into text_001 separated by space.
      write ICON_WAREHOUSE  as icon to text_002.
    concatenate text_002 text-002 into text_002 separated by space.
      write ICON_ORDER  as icon to text_003.
    concatenate text_003 text-003 into text_003 separated by space.

  • How to display the print dialogbox in crystal reports viewer for visualstudio 2013 in wpf?

    Hi,
    In my wpf application when i click on print button i want to display the print dialog box for current report.
    Here i have written like as follows.
    1.MyCrystalReportsViewer.ViewerCore.ReportSource = reportDocument;
    2. MyCrystalReportsViewer.ViewerCore.PrintReport();
    The above two statements  is executed and displayed the report in CrystalReportViewer, but it doesn't show any print dialogbox.
    MyCrystalReportsViewer is name of the CrystalReportsVIewer control.
    Can any one help me to solve this one using code.

    Hi Sandeep,
    Did you download CR for VS SP 13 from this link?
    http://scn.sap.com/docs/DOC-7824
    First link is to integrate CR into VS.
    If you did then I suggest you do a Repair on both VS and CR for VS.
    Also, VS must be Pro or higher, CR will not work in VS 2013 Express.
    Do you have printers installed? Do not use Windows XPS printer, it has problems.
    Don

  • How to display the detailed navigation with the Search Results

    Hello Gurus,
    I was able to display the search results in the same frame rather than opening the new window and getting it displayed. Now when the search results are displayed, my detailed navigation and portal favorites etc.. all the iviews are automatically suppressed.
    Please help me displaying the search results with Navigation Panel.
    Regards
    V.

    Hi Vaibhav,
    What do you mean by suppressed?
    Is it gone, or just closed?
    If it is just closed, you can try 2 things:
    1. Check if the property "Initial State of Navigation Panel" of the page has any influence.
    2. There is a javascript method that opens it.
    You can see it by importing the file '<b>com.sap.portal.layouts.framework.par.bak</b>'.
    Navigate to
    System Administration -> Support -> Support Desk -> Portal Runtime -> Browse deployment
    then the folder
    ROOT/WEB-INF/deployment/pcd
    and press download.
    Import from par to Developer Studio, and check the javascript files under dist/PORTAL-INF for a function called something like 'expandTray'.
    Hope that helps,
    Yoav.

  • How to display the info visually with the help of data present in the DB

    I need to reserve a resource for a particular period of time,When i finished in
    specify the date & time (ie start time and end time).
    I need to give a report for the particular day by displaying the timing details visually( ie by shading the cell) in the table formatt
    for example if I enter the resource name as printer and mention the start time (6:00)and end time(7:00)
    Based on the specified time(ie start time and end time) for the particular resource which are present in the Database, The displaying table's cell
    (the table that contains time in x axis,resource name in y-axis & each cell represent 1/2 hour )should be shaded. (ie 6:00 to 6:30 & 6:30 to 7:00 cells are to be shaded)
    hope u understand my problem
    Plz help me in this regards....
    Thank u in advance

    Hi,
    to display the header first append the header as the first record and then append your data.
    to remove comma seperator use the following code:
    replace all occurences of ',' with space.
    then condense.
    and last u can download data to presentation and application servers at the same time using 'gui_download'  and  datasets.
    Thanks & Regards,
    Sudheer.

  • How to display the variable screen with report in the same page together

    our customers want to design a web application use BEx
    they want the variable screen can be displayed with the report result in the same web page together
    so they can modify the variable filters any time and refresh the report with new variable filter
    i have tried the navigation area,but it seems only use new filter to the data athough get,we can't change the filter we input in the variable screen.
    is there any way to display these together?
    even I can use BSP.

    I think to display var screen with the report is not possible.(At least it will not be static). You need to refresh the report and choose the varibale at that time.
    Other option could be to bring all the possible value in the report and provide your user with the filter value. But this will make your report slow as you may have to bring more data in the filter.
    Thanks...
    Shambhu

  • How to display the alv report blocks wise with out using the blocked alv

    Hi
    How to display the alv report with out using the blocked alv function module.
    Thanks
    Chinnu

    see this Standard Program
    RPR_ABAP_SOURCE_SCAN

  • How to select the printer and select the ICC profile for printing with VBScript?

    I try to automate my printing procedure in photoshop. The problem is that I don't know how to select the printer and select the icc profile for printing with vbscript like I manually do in the print-menu in photoshop?
    Anyone has done this before?
    Thanx!
    jus

    Client/Server version:
    - D2KWUTIL.PLL library provides a 'Select Printer' dialog box to be used in Forms: WIN_API_DIALOG.SELECT_PRINTER
    http://guenter-huerkamp.dyndns.org/oracle-doc/docs/html/d2kwutil.html
    I suggest you to create a form to invoke the report, allowing user to select the printer and then pass it as parameter DESNAME

  • The HP C4480 all in one series PRINTER that I got free with my i-Mac is printing TINY print despite that my computer is set at 13 font Helvetica. How to reset the printer to normal print?

    The HP C4480 all in one series PRINTER that I got free with my i-Mac is printing TINY print despite that my computer is set at 13 font Helvetica. How to reset the printer to normal print?

    Is the Paper Size: set to US Letter and Scale: set to 100%
    Dennis

  • How can I display the vendor associated with result of my running total sum

    I have a report that lists vendors with their most vecent order dates.  I need to set up a rotation so that the vendor with the latest order date is next to be selected.  I used the running total summary to pick the latest date.  How can I display the vendor associated with result of my running total summary?

    If your "latest" order date means the "oldest" order date, why don't you try this:
    Go to Report tab -> Record Sort Expert -> Choose your order date in ascending order
    This will make your oldest order your first record shown. 
    You can then create a running total count for each record.
    Lastly, in your section expert under conditional suppress X+2 formula, write this:
    {#CountRecords}>1
    The result will only show the oldest record in your report.
    I hope that helps,
    Zack H.

  • How to disable the printer's color management in Photoshop CS5 with Mavericks?

    Hi there, does anyone know how to disable the printer's color management in Photoshop CS5 with Mavericks? There doesn't seem to be an option. Could you help? Many thanks

    Just select Photoshop Manages Color, and the printer driver color options should be disabled.

  • Itunes on my iPhone 5 only displays the artist list with the UP NEXT feature.  How can I change the UP NEXT feature on my iPhone 5 to display the next songs that are to be played on my play list?

    Itunes on my iPhone 5 only displays the artist list with the UP NEXT feature.  How can I change the UP NEXT feature on my iPhone 5 to display the next songs that are to be played on my play list?

    Hi Sarah,
    It sounds like the songs have either not yet synced over to the iPhone, or something went wrong when attempting to sync to the iPhone. My recommendation is to uncheck the "Sync Music" checkbox.
    Once you have done that, recheck the "Sync Music" checkbox, and apply the changes once more. This will instruct iTunes to completely remove all music from your iPhone, and then copy the files once more. If you have a large amount of music, this initial sync may take a while.
    If the above does not resolve your issue, see the following articles:
    iOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    iOS: How to transfer or sync content to your computer
    http://support.apple.com/kb/HT1296
    Thanks,
    Matt M.

  • How to display a Math symbol with Subscript(like  "Xad", make the "ad" be Subscript )

    How to display a Math symbol with Subscript(like  "Xad", make the "ad" be Subscript )
    I need to show "Xad"(ad is Subscript )
    I try to find the letter subscript......but ,Unicode set is not have.....
    I try to use  X<sub>ad</sub>   show it  whit Text.htmlText,   but is not used,   I think Flex's HTML is  not support the <sub> mark.
    can you tell me , how to display a Math symbol with Subscript(like  "Xad", make the "ad" be Subscript )
    thank you very much.....

    http://blog.ggshow.com/index.php/how_to_use_subscript_aamp_superscript_in?blog=11
    http://jasonbejot.com/superscript-and-subscript-in-actionscript
    and thank you very very muck

  • How to display the Buyer's signature in PO BI Publisher Report

    Hi,
    How to display the Buyer's signature dynamically in XMLP Purchase Order Report.
    Please anybody help on this.Your help greatly appriciated.

    Hi All once again
    I was able to display the signature on XMLP AP Check Print Report by went through the follwoing Tim's blog http://blogs.oracle.com/xmlpublisher/2006/04/13#a12
    But in Purchase Order report requirement is different. We need to display the Buyer's signature on XMLP PO Report. So, where is the best place to store the buyers signatures.(For example if we have 10 buyers with 10 signatures respectively then after approving the PO, we should display that particular buyer's signature in PO XML Publisher report).We observed that in byuers & User's form there is no attachment feature enabled.
    This is an urgent requiremnt. Please help/guide/suggest to resolve this issue.
    Thanks in advance.

Maybe you are looking for

  • Classpaths inside of Jar's effect on command line cp

    If I have a jar with Class-Path set in the manifest, will Java ignore the classpath I use at the command line: java -cp conf/log4j.properties;lib/a.jar com.some.target.Main If "a.jar" has the class path in the manifest, will the cp I try to pass in g

  • About Apple Mac App Store?

    #1 When Will Apple ever Update Apple Mac App Store? cause it's starting to look like it's getting old even though it's working great but i think there needs to be an Update on Apple Mac App Store, they should make it look more like Apple iTunes in th

  • Crystal Repoprt 8.5 License Key

    Hi, I am trying to re-install my Crystal Report 8.5 professional version. After entered the CD key its asking me to enter license key with option as "Web" "Fax" and "Phone". When click web it is showing me "Page cannot be displayed" and for Phone som

  • Call url from a menu

    Hi, It appears that a URL can't be called from a menu using the Portal toolset because the get_menu_link function doesn't work in this release. You get an insufficient privilege error. This is now a bug, #1852576, which development is working on. Doe

  • Reliability problem with command_link

    Hello, I'm having problems with the command_link tag. It happens with Mozilla Firefox, it seems to work 100% with IE. The problem, I think, is linked to the use of Javascript, sometimes it works, sometimes it doesn't. Sometimes, the javascript is exe