Print Message Report from Mobile

Hello...
We need modify standard mobile infrastructure java code...
We need print some report from Mobile Front-end.
Is possible to print all MESSAGE data that we can see from front-end of mobile infrastructure 2.5 ???
thank you very much
Stefano

I haven't really done much enhancements on MAM 2.5, but Im sure sami will let you know where to add the code, or you can review the MAM enhancement guide on the CD.
In regards to printing the PIOS API is pretty simple. If you are using a laptop to print to a normal printer then you can just use the Win32 Drivers..(installed via driver addon from web sap console.)If you are using the handheld you will need to find the appropriate drivers.
Here is some code I used in one of my applications:
               <i>Connector conn = Connector.getInstance();
               DriverInfo[] driverInfo = conn.listDrivers(ConnectionType.PRINTER);
               PrinterParameters params = new PrinterParameters(driverInfo[0]);
               params.setPrinterMode(PrinterParameters.GRAPHIC_MODE);
               GraphicPrinter gp = (GraphicPrinter) conn.open(params);
               File myImage = new File("c:
smalllogo.bmp");
               if (myImage.exists()) {
                    float x = 0;
                    float y = 50;
                    try {
                         String[] sFonts =
                              gp.getFontConfigurationManager().listFontNames();
                         PrinterFont pf = gp.getFont(sFonts[0]);
                         gp.drawText(
                              pf,
                              25,
                              25,
                              "TO For Delivery # = "
                                   + dbAccess.getItemFieldValue(arrayItems[0], "VBELN"),
                              GraphicPrinter.NO_ROTATION);
                         for (i = 0; i < arrayItems.length; i++) {
                              gp.drawText(
                                   pf,
                                   25,
                                   y,
                                   "Delivery Item # = "
                                        + dbAccess.getItemFieldValue(
                                             arrayItems<i>,
                                             "POSNR"),
                                   GraphicPrinter.NO_ROTATION);
                              y = y + 10;
                              gp.drawText(
                                   pf,
                                   25,
                                   y,
                                   "Material # = "
                                        + dbAccess.getItemFieldValue(
                                             arrayItems<i>,
                                             "MATNR"),
                                   GraphicPrinter.NO_ROTATION);
                              y = y + 10;
                              gp.drawText(
                                   pf,
                                   25,
                                   y,
                                   "Quantity to Pick = "
                                        + dbAccess.getItemFieldValue(
                                             arrayItems<i>,
                                             "LFIMG"),
                                   GraphicPrinter.NO_ROTATION);
                              y = y + 25;
               gp.doPrint(1);
               gp.close();
          } catch (Throwable tFile) {
               tFile.printStackTrace();
          }<i>
This should give you an idea, you should also read through the MDK documentation for the printer API (PIOS). Its quite easy to pick up and as long as you have the driver and connector installed it prints right away.(You could also use the Peripheral emulator in
NWDS to test the code first)
Hope this helps,
Wael..
Dont forget the rewards
Message was edited by: wael aoudi

Similar Messages

  • Print a report from Application Express direct to a CUPS Printer

    Hi all, I'm new to this technology, is it possible to print a report from Application Express directly to a CUPS Printer? Can someone tell me in laymans terms how to do it? I find the terminology and documentation less than helpful.

    Jeremy,
    BI Publisher handles submitting reports directly to a CUPS printer. However, the APEX integration doesn't currently integrate with that portion of BI Publisher.
    Here's an options:
    Use the Java API of BI Publisher to build a custom Java program that would do this for you. Delivering to CUPS is part of the Java API.
    Bryan

  • Aski user information while trying to print a report from a web application

    Hi,
            I am trying to print a report from web application. When I click on the print button then the page is redirected to the below link and asking for user information. See the below given link for more help.
    _http://<server><port>PlatformServices/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3FSERVICE%3D%252FOpenDocument%252FappService.do%26OBJIDS%3D20016421%26backUrl%3D%252Fcontent%252Fview.do%26PREF%3DmaxOpageUt%253D200%253BmaxOpageC%253D10%253Btz%253DUS%252FPacific%253BmUnit%253Dinch%253BshowFilters%253Dtrue%253BsmtpFrom%253Dtrue%253BpromptForUnsavedData%253Dtrue%253B%26CONTAINERID%3D6424083%26backContext%3D%252FPlatformServices%26LOC%3Den%26APPKIND%3DInfoView%26PVL%3Den%26ACTID%3D280%26service%3Dtimeout&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=<servername>%3A6600&authenticationVisible=false&authType=secEnterprise&sso=false&sm=true&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
    The instance Id for the report is generated successfully and the staus of the report is showing as success on Business Objects server side ie. crystal server side.
    And we are using OpneDocumentURL for generating the report. And the in the URL we are passing the "Instatce ID" and the "Token" which Both are generated successfully.

    Hi,
    This is a crystal report link which i am trying to print.
    The actual URL to generate a report is,
    http://servername:port/OpenDocument/opendoc/openDocument.jsp?&iDocID=22874532&token=systemname%4022874531JOLS2B40fr7cuAE522874529JVB36Yr3PswjM7IP
    but it is redirected to below URL,
    http://servername:port/PlatformServices/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3FPREF%3DmaxOpageUt%253D200%253BmaxOpageC%253D10%253Btz%253DUS%252FPacific%253BmUnit%253Dinch%253BshowFilters%253Dtrue%253BsmtpFrom%253Dtrue%253BpromptForUnsavedData%253Dtrue%253B%26service%3Dtimeout%26CONTAINERID%3D21700595%26backContext%3D%252FPlatformServices%26ACTID%3D279%26OBJIDS%3D22874532%26SERVICE%3D%252FOpenDocument%252FappService.do%26APPKIND%3DInfoView%26LOC%3Den%26PVL%3Den%26backUrl%3D%252Fcontent%252Fview.do&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=systemname&authenticationVisible=false&authType=secEnterprise&sso=false&sm=true&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
    -VinodC

  • How can print a report from form 6i,  when I press a button?

    hi Friends,
    How can print a report from form 6i, when I press a button?
    When i press a button from Form 6i, the report should print through printer.
    I have done it by using report parameter DESTYPE Printer but problem is that when I press a button printer dialogue box appear and then I give command Print to printer, I don’t want to show Printer dialogue box.
    I want when I press a button form Forms 6i , printer will print my report directly.
    Please send me the solution of this problem.
    Best regards,
    Shahzad

    Hi
    If You are using Client server application then to passing to Add all Print Parameter in the Host Command.
    Means Print command in unix to Host(lp.............) and Other Parameter to file name of the report to print.
    If You not Use Client Server Application the Also Passing a Host Command in Button-Pressed Event and Run.

  • Printing a report from Forms 9i

    Hi all
    I have to print a report from Forms 9i, but I can't do it directly, I have to execute it with desname = preview and then I can print it.
    I use the following sintax
    RUN_REPORT_OBJECT_PROC(repid, v_server_name,'pdf',printer,v_path,v_report,'paramform=no'|| other parameter....,v_servlet)
    where v_path is the name of the printer and run_report_object is a procedure to execute reports into forms
    I try to set v_path with the printer name on my client and on the server.. but it doesn't find it...
    Please help me,
    Thanks in advance
    Antonio

    Hi all
    have any one some information about ORARPP (Oracle Reports Remote Printing) ???
    I should print directly, my desname should be a printer.... could any one help me???
    Thanks in advance for your support...
    Antonio

  • Printing a report from forms

    I would like to print a report from forms without opening reports first. Is this possible and if so how?

    From a command-line or .BAT file (assuming Windows and Developer6i) run the following (on a single line). It will go to your default printer.
    <ORA_HOME>\bin\rwrun60 <report>.rdf userid=<user>/<pw>@<hoststring> destype=printer batch=yes
    null

  • Accessing OBIEE report  from mobile browser or tablet

    HI
    jdev 11.1.1.5
    we have OBIEE reports embeded in adf jspx page .
    can we access this report from mobile browser or tablet ?
    I think we can access OBIEE report using OBIEE client application for Iphone.
    but is it possible to access the same from mobile browser?(embeded in adf application)

    chk this
    http://blogs.forrester.com/boris_evelson/10-07-07-oracle_obiee_11g_launch_we_are_back
    Mobile BI apps delivered to iPhone/iPad, BlackBerry, Android and Windows Mobile devices

  • Calling Alv Report From Mobile

    Hi All,
    I need some information to cal a alv report from mobile. I created one report ans can see the selection screen in gui after calling. Here the screen is really big i need to adjust the size because it may take more load and time if i call from a mobile . Is it possible to call the same from mobile or do i need any separate application to call this from mobile. Please *** you valuable suggestions.
    Regards
    Madhu.

    Hello Madhu,
    What is your system details?
    Kernel and BASIS?
    Device OS & Browser?
    What are the GUI Configuration settings of the ITSMobile Service?
    What ITSMobile Generation STYLE was used?
    Perhaps useful notes:
    1037715  ITSmobile: Supported screen elements
    1309633  ITSmobile: custom OMRT controls auto-recognized at runtime
    1312835 ITSmobile: page navigation in ALV Grid on Windows Mobile
    1668784 ITSmobile: new features for ALV Grid
    Regards,
    Oisin

  • How to print BIP reports from Oracle Forms?

    Hi all,
    I have a question in regards to printing BIP reports from Oracle Forms... We are aiming for a server installation of BIP with integration to Oracle Forms using SSO to handle security. We use Forms built-in web.show_document to render and view the report in PDF/Excel etc... We would like to by pass the viewing and print some of these reports directly to the printer.
    Any idea/suggestions how we can go about this?
    Thanks in advance for your time.
    Yahya

    Yahya,
    via HTTP it's not possible to send a report directly to the printer. You had to go via the Scheduler, which is able to do that. With the WebService API you can call a report with the Scheduler and Execute Immediate.
    Regards
    Rainer

  • Printing oracle report from oracle forms

    At our place, our clinet machines are upgraded to IE8 (Internet explorer 8), and some users are having probelms when they print pdf reports from IE8. If they save pdf report on computer and use adobe acrobat reader, then they can print, but when they hit print button on the IE8 they are unable to rpint.
    Please advise why some users cannot print pdf reports from IE8. Thanks

    Hi,
    has anyone managed to resolve this yet?
    seems as though some sort of impersonation mechanism is necessary for the machine running the reports server to identify to the printer as the client username running the report..
    i do know it's possible to pass to the rep server a parameter called "authid",
    so if for example i run the following -
    http://<server>/reports/rwservlet?report=test.rdf&authid=rsorero&userid=bla/bla@bla&server=repsrv&destype=PRINTER&desname=\\printsrv1\myprinter1&desformat=PDF
    then in the report server queue (showjobs) i get the owner as "rsorero" instead of "ANONYMOUS"..
    but that doesn't translate to an OS user on the server side, and the print is still owned by [server]$..
    any insights?

  • Printing abap report from Transactional Iview

    Hi All,
    I have a abap report and i have created a transactional Iview to embed the report into Portal.
    Now when i try to execute and print the report from portal end i am unable to print the report.
    It opens another window saying please wait for the formatted data to be displayed in the window and please do not close the window and the download option comes at the top block bar. Aftter clicking on download file it promts to save the file . When saved and opned the file is corrupt and cannot be opened by adobe reader.
    Thanks and Regards,
    Nuzhat

    No answer

  • Unable to print the reports from Transaction iViews

    Hi Experts,
    We have configured SAP Transctions iViews in portal. These transactions are basically of reports, when we want to print the report from EP. When clicking on the Print from the Transaction iView we are getting the error "File does not begin with '%PDF".
    iView launches in HTML Gui.
    When we launch the same report from ECC directly login with GUI we are able to take the print.
    Is there any settings need to be maintain in "FRONTEND_PRINT" service.
    Thanks
    Murthy

    Hi,
    Check the note Note 1042424 - Printing in WebGUI: Error "File does not begin with '%PDF-'"
    This should help resolve the problem.
    Cheers-
    Pramod

  • Print a report from SAP Mobile

    Hi,
        I want to print a report (not a screen shot) from iPad (SAP Mobile/SAP BI), but there is no option there for printing.  I don't think this feature is available in the current SAP Mobile (6.1.11).  Can anyone have a way to work around it?  Can SAP add this feature as an enhancement in the future releases?
        Thanks.
                    James

    Hi,
    The feature is not available in Mobile BI App. You can search an existing idea and vote up or post a fresh at IDEA Place SAP BusinessObjects Mobile: Ideas.
    Would be helpful if you provide the following details
    - What is the business use case
    - How many users would be using this feature
    - What content types you are expecting to print
    - How should the printed report look like - mobile view, web view, pdf view
    - Primary used device - IOS/Android
    Regards,
    Ashutosh

  • Problem in printing Crystal Report from SAP Business One - the printing cut in it width margins

    Hi
    i'm trying to print crystal report layout from sap b1. when i preview the report as pdf file, i have the option to choose Fit in size option and then the layout print O.k with out any margins that been cut.
    The problem start when i'm trying to print the layout directly from sap b1 (printer button) which cause the page to be cut in it width margins.
    How can i control the printing of crystal layout when i'm printing it directly from sap b1? do i have the option to chose 'Fit page size' from sap system?

    Hi,
    Please check SAP note:
    1820939 - Page settings of Crystal Reports not transferred
    correctly
    Thanks & Regards,
    Nagarajan

  • Print BW Report from Portal 6.0

    Hi,
    I have a BW report iView and I would like to print the BW report from Portal. I don't see an option to print directly from Portal.
    Is it the only way to print is "export to Excel and print it from there" ?
    We are on EP6 and BW 3.5.
    Thanks for your answers.
    Regards,
    Megha.

    Hi Megha Bokam,
    I'm not a BW person but as far as I remember there is an HTML section when creating BW reports.
    Try to put:
    <a href="javascript:print();">Print Report</a>
    in tis HTML section.
    Omri

Maybe you are looking for

  • Loading vector graphics at runtime

    Hi, I'd like to know if there is any way or any vector graphic file format that i can load dynamically at runtime on a web-based flash application. I have some files in pdf that i want to load in and i can convert them to jpgs at runtime and load the

  • Internal hard drive won't mount

    First off, thanks in advance to any who offer help with my frustrating problem. It would appear that my primary drive has come unmounted and will not remount. Yesterday I went to upgrade Corel Painter. The computer hung up when I launched the install

  • SMS_DISCOVERY_DATA_MANAGER Message ID 2636 and 620. Discovery Data Manager failed to process the discovery data record (DDR)

    Hi I'm seeing this critical error on my primary. SMS_DISCOVERY_DATA_MANAGER Message ID 2636 and 620.  Discovery data manager failed to process the discovery data record (DDR)"D:\Prog.....\inboxes\auth\ddm.box\userddrsonly\adu650dh.DDR", because it c

  • My screen is flashing grey and black.

    My screen is flashing black and white. I have tried a soft reset and that didn't fix it.

  • BI 7.0 more than 2 clients possible or not ?

    Dear support, I am basis person and i have installed BI 7.0 netweaver 2004s system , also business content 7.03 are done.I have given 001 client as BWMANDT field in RSADMINA table which is required for initial config. Now system is working fine for d