Is it possible to access the page setup for the printer from a program unit

Hi guys,
I've done a report and i need to print it with a specified superior margin. This is not the margin that we set in the report edit margin button, this is already set, the problem is the pre-defined margin located in the page setup dialog box.
My question is, is there a way (api, etc...) inside the report in which i can access this page setup and configure that margin with the values that i want, programaticaly (runtime)?
Thanks.

Sorry, the following is the runable one.
package view;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import oracle.adf.controller.struts.actions.DataAction;
import oracle.adf.controller.struts.actions.DataActionContext;
import oracle.cabo.servlet.BajaContext;
import oracle.cabo.servlet.BaseBajaContext;
import oracle.cabo.servlet.Page;
import oracle.cabo.servlet.PageBroker;
import oracle.cabo.servlet.event.PageEvent;
public class DataAction2Action extends DataAction {
protected void processComponentEvents(DataActionContext actionContext)
throws IOException, ServletException {
HttpServletRequest request = actionContext.getHttpServletRequest();
String eventName = request.getParameter("event");
if ("test".equals(eventName))
PageBroker broker = (PageBroker)
this.getServlet().getServletContext().getAttribute("oracle.cabo.servlet.PageBroker");
BajaContext bajacontext = new BaseBajaContext(this.getServlet(),
broker,
actionContext.getHttpServletRequest(),
actionContext.getHttpServletResponse());
Page page = bajacontext.getPageDecoder().decodeRequestedPage();
PageEvent pageevent = bajacontext.getPageDecoder().decodeRequestedPageEvent();
super.processComponentEvents(actionContext);
}

Similar Messages

  • Having trouble accessing the print from Facebook on my Photosmart 7510..

    When I first set up my 7510, I had setup the Print from Facebook option. A few days later I tried to use the feature and was prompted to enter the code again on facebook.com/device. When I try to do this, Facebook does not accept the code. I just resets the form and asks for the code again, and the printer isn't able to print from it. Is there anything I can do to reset this get it to work?

    Hi Rob. 
    Another option is to print your Facebook photos with HP Photo Creations. Select Prints, then Add Photos from Online Library. Here's a quick walkthrough. The images are from an older version of the software, but the idea is the same:
    https://www.facebook.com/HP.Photo.Creations/app_4949752878
    Hope this helps,
    RocketLife
    RocketLife, developer of HP Photo Creations
    » Visit the HP Photo Creations Facebook page — news, tips, and inspiration
    » See the HP Photo Creations video tours — cool tips in under 2 minutes
    » Contact Customer Support — get answers from the experts

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • Is it Possible to upload the output from Oracle reports To Access database

    Hi All,
    Wish you All a Very Happy New Year.
    I have a query.Is it possible to
    upload the output from the Oracle reports
    to the Access database???
    Any suggestions would be appreciated.
    TIA
    sg

    Hi sg,
    Research the DDE option.
    Dynamic Data Exchange (DDE) is a mechanism by which applications can communicate and exchange data in Windows.
    I have imported data into the excel spreadsheet using DDE built in functions. I am sure it can work with MS Acess as well. If not, then you need to create a 2 step process .. reports -> excel -> access.

  • I cannot get my MacBook Pro to print greyscale on my Canon MG6450. I cannot access the printer driver panel on the Macbook. So I am stuck printing everything in colour and cannot specify which pages I want printed.

    I cannot get my MacBook Pro to print greyscale on my Canon MG6450. I cannot access the printer driver panel on the Macbook. So I am stuck printing everything in colour and cannot specify which pages I want printed.

    Try resetting the printing system:
    OS X Mavericks: Reset the printing system
    Next try deleting the system and reinstall the printer..
    BTW this is Mac Pro desktop forum

  • Is it possible to access the http web interface over the fa1 management interface?

    Hello All,
        I am remotely connected into a Cat 4500 + Supervisor V module via console cable and point to point connection from laptop to fa1 management interface on SupV.  SupV module is running IOS 15.0(2)SG8.
        I am not able to physically change the patch cable from fa1 management interface to gi2/3 or any other switch port for a couple days and would like to see if it is possible to access the http server through this fa1 port since I am working remotely.  I can ping the laptop from fa1 and tftp ok but cannot access the http/https server.  Is this even possible without connecting the laptop into a regular switch port like gi 2/3 gi 2/4 etc..?  The reason I ask is I would like to use Cisco Networking Assistant gui for some things but need access to https server first over the fa1 link.
    Any suggestions would be much appreciated.
    Thanks!
    -S

    Here is the ACL list.  I have not made any entries into this list and all of these are default at this time.  Do I need to make an explicit allow ACL for http?
    Thanks!
    -S
    #show access-list
    Extended IP access list system-cpp-all-routers-on-subnet
        10 permit ip any host 224.0.0.2
    Extended IP access list system-cpp-all-systems-on-subnet
        10 permit ip any host 224.0.0.1
    Extended IP access list system-cpp-dhcp-cs
        10 permit udp any eq bootpc any eq bootps
    Extended IP access list system-cpp-dhcp-sc
        10 permit udp any eq bootps any eq bootpc
    Extended IP access list system-cpp-dhcp-ss
        10 permit udp any eq bootps any eq bootps
    Extended IP access list system-cpp-energywise-disc
        10 permit udp any eq any eq 0
    Extended IP access list system-cpp-hsrpv2
        10 permit udp any host 224.0.0.102
    Extended IP access list system-cpp-igmp
        10 permit igmp any 224.0.0.0 31.255.255.255
    Extended IP access list system-cpp-ip-mcast-linklocal
        10 permit ip any 224.0.0.0 0.0.0.255
    Extended IP access list system-cpp-ospf
        10 permit ospf any 224.0.0.0 0.0.0.255
    Extended IP access list system-cpp-pim
        10 permit pim any 224.0.0.0 0.0.0.255
    Extended IP access list system-cpp-ripv2
        10 permit ip any host 224.0.0.9
    Extended MAC access list system-cpp-bpdu-range
        permit any 0180.c200.0000 0000.0000.000c
    Extended MAC access list system-cpp-cdp
        permit any host 0100.0ccc.cccc
    Extended MAC access list system-cpp-cgmp
        permit any host 0100.0cdd.dddd
    Extended MAC access list system-cpp-dot1x
        permit any host 0180.c200.0003
    Extended MAC access list system-cpp-lldp
        permit any host 0180.c200.000e
    Extended MAC access list system-cpp-mcast-cfm
        permit any 0180.c200.0030 0000.0000.000f
    Extended MAC access list system-cpp-pppoe-disc
        permit any any protocol-family pppoe-disc
    Extended MAC access list system-cpp-sstp
        permit any host 0100.0ccc.cccd
    Extended MAC access list system-cpp-ucast-cfm
        permit any host 000d.6558.d5fd

  • How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    As soon as I posted, Ifigured this one out on my own by going into user settings and changing the default there. Then I was able to delete the default @mac account. Thanks!

  • Is it possible to retrieve the data from maintainance view?

    Hi experts,
    Am facing one problem.
    Is it possible to retrieve the data from Maintainance View ,If yes how?
    IF it is not possible then Y?
    While am trying to retrieve data from maintainance view it's showing message like
    "it is not a database view or table".
    Can u pls give me ans.
    Thanks&Regards,
    Arun.

    Hi Arun,
    It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
    Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Thow to tether iPad to MacBook to access the web from the MacBook?

    Am I missing something obvious here, or is this not possible?
    There are plenty of posts on the web about how to tether an iPad to a phone, but I want to access the web from a MacBook, using my iPad's 3G access.
    Is this possible? How?

    To use it on the iPhone you enable it via the phone's Settings menu - the iPad doesn't have the same option in Settings so there is no way to turn it on/off, and therefore no way to share the iPad's connectivity with other devices.

  • If i create a partition for Windows 7, and boot up in Windows using Boot Camp, can I still access the files from the Mac partition (Photo's Music etc.)

    If i create a partition for Windows 7, and boot up in Windows using Boot Camp, can I still access the files from the Mac partition (Photo's Music etc.)

    JDFitch wrote:
    Ok Great,
    Will installing Boot Camp drivers allow me to both read and write to the OS X Volume from windows?
    This is important as if it will it means i can make the windows partition a lot smaller and keep all my files on the OS X partition which would be preferable.
    Jon
    No, OSX will be read only (from Windows) and vice versa. (you can install 3rd party utilities on either or both partitions, to make read/write possible)

  • How can we access the 'print booklet' options in CS6 without a printer online?

    I cannot access the print setup option in ‘print booklet’ in CS6 to change the paper/image orientation from portrait to landscape. I am trying to save it as a .ps file so I can take a print ready pdf to the printers. But the resulting pdf that saves now is cropping my A4 (to be A5 after stapled) 2up saddle stitched booklet. As in the spread stays landscape, but the A4 paper in portrait. Can anyone help me please?
    *sooooo frustrated*urgent*

    thats the fix i was  loooking for!!!! i found it just bedore i saw your reply though. but thanks a bunch!!!!!!!!!
    for anyone else who might be looking for the same thing this video helped me and has a link to file you need  - http://www.youtube.com/watch?v=D0Ogk-uBHls

  • I have a Cisco/Linksys WRT-54G wireless router and 2 Airport Extremes (the small ones that plug directly into the wall). Is it possible to extend the network from the router using these two AEs? I have a DVD player and Ext HD plugged into the router too..

    I have a Cisco/Linksys WRT-54G wireless router and 2 Airport Extremes (the small ones that plug directly into the wall). Is it possible to extend the network from the router using these two AEs? I have a DVD player and Ext HD plugged into the router too. Any ideas? I'm guessing the only way is to do what I've seen in these community pages which states that it can be done but it will drop the bandwidth by 50%. Thoughts?? Thanks!

    The Cisco/Linksys WRT-54G was one of the very few routers said to be compatible with Apple's implementation of WDS (Wireless Distribution System) settings.
    The info that I have on file indicates that only the WRT-54G versions 4 and under were compatible, so that would be one bridge to cross.
    Even if you find that your Cisco/Linksys might be the right version, Apple never published instructions on how to configure the Express devices with other manufactures, so users were left to their own devices to try to figure out how to get things working. Apple's instructions to connect to other Apple devices are in the link below:
    WDS network
    If you were hoping to use 2 Express devices in this type of configuration...even if it works...the bandwidth penalties will be extremely severe.
    The first Express drops the bandwidth (and speed) on the entire network in half and the second halves everything again. So, the result, in effect would be a "g" wireless network running at 25% speed. Few users would consider installing this type of network.
    At this point, it becomes one of those things where the fact that you might be able to do something does not mean that there would be much value in doing so. But, it is your decision to decide if you want to try to proceed.

  • I have pages setup for english but all templets are in spanish

    Hello everyone
    After trying to reset keyboard preferances and services I am not getting any solution.
    I have pages setup for english but all templets are in spanish.
    can anyone help to fix this problem?
    Thanks
    dsd

    You mean this?
    Sociis mauris in integer, a dolor netus non dui aliquet, sagittis felis sodales, dolor sociis mauris, vel eu libero cras. Interdum at. Eget habitasse elementum est, ipsum purus pede porttitor class, ut adipiscing, aliquet sed auctor, imperdiet arcu per diam dapibus libero duis. Enim eros in vel, volutpat nec pellentesque leo, temporibus scelerisque nec. Ac dolor ac adipiscing amet bibendum nullam, massa lacus molestie ut libero nec, diam et, pharetra sodales eget, feugiat ullamcorper id tempor eget id vitae. Mauris pretium eget aliquet, lectus tincidunt. Porttitor mollis imperdiet libero senectus pulvinar. Etiam molestie mauris ligula eget laoreet, vehicula eleifend. Repellat orci eget erat et, sem ***, ultricies sollicitudin amet eleifend dolor nullam erat, malesuada est leo ac. Varius natoque turpis elementum est.
    A: It's Latin, not 'Spanish.'
    B: What problem?
    Click on this Placeholder text to select it (All of it will be selected on a single click).
    Type.
    On the first kaystroke, all of the placeholder text is deleted and the first typed character appears.
    Carry on.
    Images in the templates are media placeholders. Replace them with your images in a similar manner.
    For more on placeholder text, see page 75 of the Pages '09 User Guide; for more on media placeholders, see page 137.
    The guide may be downloaded via the Help menu in Pages '09.
    Regards,
    Barry

  • Unable to access the data from Data Management Gateway: Query timeout expired

    Hi,
    Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
    1. The gateway is in running status.
    2. Data source is also in ready status and test connection worked fine too.
    3. Below is the error in System Health -
    Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.        
    Error code: 4025
    4. Below is the error in Event Viewer.
    Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
    5. This is the correlational id for latest refresh failure
    is
    f9030dd8-af4c-4225-8674-50ce85a770d0
    6.
    Refresh History error is –
    Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
    managed IDataReader interface was being used: Query timeout expired. 
    Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
    Thanks,
    Richa

    Never mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
    Thanks.

  • HT204053 the only way to creat an icloud account is with a ipad, iphone or imac. is it possible to creat the account from my windos PC? i already downladed i cloud, and i have an Apple ID but Not an Icloud account/

    the only way to creat an icloud account is with a ipad, iphone or imac. is it possible to creat the account from my windos PC? i already downladed i cloud, and i have an Apple ID but Not an Icloud account/

    Isa Garduño wrote:
    the only way to creat an icloud account is with a ipad, iphone or imac Apple computer.
    As you already knew, no, you cannot create a new iCloud account from anything but the above devices.
    http://support.apple.com/kb/HT4436

Maybe you are looking for

  • SQL*Loader: How to load multi-line report data?

    Hi, is it possible to use SQL*Loader to load data from a hierarchical structured fixed column ASCII file like this 001 scott New York 01.01.2002 1234 Chicago 15.10.2001 9876 002 smith Los Angeles 24.12.1999 5678 Washington 01.12.1999 0000 Chicago 01.

  • Can i hook my G4 up to my vivio plasma thru the vga connection?

    I just got a G4 Quicksilver it has a vga output and the tv has a vga input will it work? Or do i need a adc to dvi and dvi to hdmi cables? Im not real good with comp and thats wath they tried to sell me.

  • Object Link for PO and PR

    Hi Gurus, I have an requirement to view DIR (Drawing) through PO (Purchase Order) and PR (Purchase Requistion) using object link. When I go to the DIR screen I can view the following std objects for 1) Purchase Order Item  for PO   2) Purchase  Req I

  • Sharing default develop settings in LR2

    I have set up a bunch of default develop settings per camera model and ISO on my laptop. I would like to share these settings with my desktop. Where do I find the settings files? Thanks Nick

  • I need to make a little data base of the book I have reed, please help me!

    I am totally new to Apple and to computers as well. And my English is not so good, unfortunately! :-( So please have a little p... with me. I tried to write my notes about the books I red in Word for Apple and in Excel for Apple but both are not good