U00BFIs it possible to print a .TIFF from SAP?

I am developing CRM, and in the CRM Activities it is possible to attach files of different types (.TIFF, .XLS, .DOC, etc). The client wants the application to print directly the document without their having to open a new application. For example, they want to print a .xls without opening the excel (at least manually). Is this possible?
Thanks in advance!
Best regards,
Paola del Giorgio

Yes,  search forum for OLE.
Regards,
Rich Heilman

Similar Messages

  • Is it possible to print a JPanel from the application?

    Hello,
    Just a quick question: Is it possible to print a JPanel from your application? I have plotted a graph and I would like user to be able to print this with a click of a button (or similar)
    Thanks very much for your help, its appreciated as always.
    Harold Clements

    It is absolutely possible
    Check out my StandardPrint class. Basically all you need to do is
    (this is pseudocode. I don't remember the exact names of methods for all this stuff. Look it up if there's a problem)
    PrinterJob pd = PrinterJob.createNewJob();
    StandardPrint sp = new StandardPrint(yourComponent);
    pd.setPageable(sp);
    //if you want this
    //pd.pageDialog();
    pd.doPrint();You are welcome to have use and modify this class but please don't change the package or take credit for it as your own code.
    StandardPrint.java
    ===============
    package tjacobs.print;
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.awt.print.*;
    import javax.print.PrintException;
    public class StandardPrint implements Printable, Pageable {
        Component c;
        SpecialPrint sp;
        PageFormat mFormat;
         boolean mScale = false;
         boolean mMaintainRatio = true;
        public StandardPrint(Component c) {
            this.c = c;
            if (c instanceof SpecialPrint) {
                sp = (SpecialPrint)c;
        public StandardPrint(SpecialPrint sp) {
            this.sp = sp;
         public boolean isPrintScaled () {
              return mScale;
         public void setPrintScaled(boolean b) {
              mScale = b;
         public boolean getMaintainsAspect() {
              return mMaintainRatio;
         public void setMaintainsAspect(boolean b) {
              mMaintainRatio = b;
        public void start() throws PrinterException {
            PrinterJob job = PrinterJob.getPrinterJob();
            if (mFormat == null) {
                mFormat = job.defaultPage();
            job.setPageable(this);
            if (job.printDialog()) {
                job.print();
        public void setPageFormat (PageFormat pf) {
            mFormat = pf;
        public void printStandardComponent (Pageable p) throws PrinterException {
            PrinterJob job = PrinterJob.getPrinterJob();
            job.setPageable(p);
            job.print();
        private Dimension getJobSize() {
            if (sp != null) {
                return sp.getPrintSize();
            else {
                return c.getSize();
        public static Image preview (int width, int height, Printable sp, PageFormat pf, int pageNo) {
            BufferedImage im = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
            return preview (im, sp, pf, pageNo);
        public static Image preview (Image im, Printable sp, PageFormat pf, int pageNo) {
            Graphics2D g = (Graphics2D) im.getGraphics();
            int width = im.getWidth(null);
            int height = im.getHeight(null);
            g.setColor(Color.WHITE);
            g.fillRect(0, 0, width, height);
            double hratio = height / pf.getHeight();
            double wratio = width / pf.getWidth();
            //g.scale(hratio, wratio);
            try {
                   sp.print(g, pf, pageNo);
              catch(PrinterException pe) {
                   pe.printStackTrace();
            g.dispose();
            return im;
        public int print(Graphics gr, PageFormat format, int pageNo) {
            mFormat = format;
            if (pageNo > getNumberOfPages()) {
                return Printable.NO_SUCH_PAGE;
            Graphics2D g = (Graphics2D) gr;
              g.drawRect(0, 0, (int)format.getWidth(), (int)format.getHeight());
            g.translate((int)format.getImageableX(), (int)format.getImageableY());
            Dimension size = getJobSize();
              if (!isPrintScaled()) {
                 int horizontal = getNumHorizontalPages();
                 int vertical = getNumVerticalPages();
                 int horizontalOffset = (int) ((pageNo % horizontal) * format.getImageableWidth());
                 int verticalOffset = (int) ((pageNo / vertical) * format.getImageableHeight());
                 double ratio = getScreenRatio();
                 g.scale(1 / ratio, 1 / ratio);
                 g.translate(-horizontalOffset, -verticalOffset);
                 if (sp != null) {
                     sp.printerPaint(g);
                 else {
                     c.paint(g);
                 g.translate(horizontal, vertical);
                 g.scale(ratio, ratio);
              else {
                 double ratio = getScreenRatio();
                 g.scale(1 / ratio, 1 / ratio);
                   double xScale = 1.0;
                   double yScale = 1.0;
                   double wid;
                   double ht;
                   if (sp != null) {
                        wid = sp.getPrintSize().width;
                        ht = sp.getPrintSize().height;
                   else {
                        wid = c.getWidth();
                        ht = c.getHeight();
                   xScale = format.getImageableWidth() / wid;
                   yScale = format.getImageableHeight() / ht;
                   if (getMaintainsAspect()) {
                        xScale = yScale = Math.min(xScale, yScale);
                   g.scale(xScale, yScale);
                   if (sp != null) {
                        sp.printerPaint(g);
                   else {
                        c.paint(g);
                   g.scale(1 / xScale, 1 / yScale);
                   g.scale(ratio, ratio);
             g.translate((int)-format.getImageableX(), (int)-format.getImageableY());     
            return Printable.PAGE_EXISTS;
        public int getNumHorizontalPages() {
            Dimension size = getJobSize();
            int imWidth = (int)mFormat.getImageableWidth();
            int pWidth = 1 + (int)(size.width / getScreenRatio() / imWidth) - (imWidth == size.width ? 1 : 0);
            return pWidth;
        private double getScreenRatio () {
            double res = Toolkit.getDefaultToolkit().getScreenResolution();
            double ratio = res / 72.0;
            return ratio;
        public int getNumVerticalPages() {
            Dimension size = getJobSize();
            int imHeight = (int)mFormat.getImageableHeight();
            int pHeight = (int) (1 + (size.height / getScreenRatio() / imHeight)) - (imHeight == size.height ? 1 : 0);
            return pHeight;
        public int getNumberOfPages() {
              if (isPrintScaled()) return 1;
            return getNumHorizontalPages() * getNumVerticalPages();
        public Printable getPrintable(int i) {
            return this;
        public PageFormat getPageFormat(int page) {
            if (mFormat == null) {
                PrinterJob job = PrinterJob.getPrinterJob();
                mFormat = job.defaultPage();
            return mFormat;
    }

  • Is it possible to print a note from numbers spreadsheet

    Hi I hope someone can help. Is it possible to print a note from numbers spreadsheet. Or is there any way I can type a ticket that I can print but that will automatically transfer the data to a spreadsheet in numbers?

    How about the opposite direction. You have a table with a "key" field, like a ticket #.
    You make another sheet that you type in the ticket number and it pulls up the proper data in the proper location for you to print. Just a print tempalte that fills out for the ticket already entered into the data table.
    Jason

  • Print Jpeg files from SAP

    Hi,
    We have JPEG files (pictures) stored in Custom Z table (Cluster table). We would like to know how to print these files from SAP on to a certain printer.
    We know that it is not possible to convert JPEG to BMP within SAP and print using SAPScript OR SmartForms.
    We want to find out if there is any print command to print these files to SAP printer  ?
    Any help is appreciated.
    Niranjan

    Hi Gregory,
    I had checked this tcode earlier. However, I don't see any 'Print' jpeg or any other file functionality here. What SAP might be doing here is, allow upload of any document like excel, word or pic files (jpeg, gihf, bmp) and so on and just display.
    I am interested in printing functionality without usng SAP Script OR Smartforms, because, when we get into it, we have to talk only TIF or BMP as JPGs are not supported.
    Niranjan

  • 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

  • It it possible to call web service from SAP 4.6 c..If yes how

    Hi Friends,
    It it possible to call web service from SAP 4.6 c..If yes how
    Thanks in Advance.
    Murali Krishna K

    It is not possible to directly call a web service from SAP 4.6c.
    Indeed, web service enablement is available as from Web AS 6.20, thus as from SAP R/3 4.7
    So as described above, the solution is indeed to make use of PI(XI) for this.
    Rgds,
    Karim

  • Is it possible to run host command from SAP environment? How do you run?

    Hi
    Is it possible to run host command from SAP environment? How do you run?
    Thank You

    Hello Subhash
    You will more details in the following thread:
    Re: How to define command for SXPG_COMMAND_EXECUTE
    Regards
      Uwe

  • Is it possible to print mailing labels from an excel spreadsheet in Macbook pro?

    How do you print mailing labels from an excel spreadsheet on a macbook pro? Is it possible. I can only find information about printing labels from your address book.

    Why not ask in MacBook Pro forum, or SL, or even MS community or MacTopia.
    Office 2011? pretty easy to setup mailing, just click on ribbon tab, and use the built in help.
    MacBook Pro
    Mail and Address book
    http://www.bing.com/search?q=Excel+mailing+labels

  • Is it possible to print text messages from an iPhone?

    Is it possible to print text messages form an iPhone?

    Macbook354 wrote:
    Yeah, unless you want to deal with the pain of trying to get you messages to your computer, you will have to take a screenshot (by taping the home and lock button at the same time).
    If you want to print a screenshot, it will be in the photos app to print ( click the share button and click print).  If you so not have a AirPrint printer, there are third-party apps for computers like fingerprint (look it up) that can make a fake AirPrint printer.
    I want to add something more.
    In most cases, you would need to use a paid third party tool to export and then print your iPhone text messages on your computer. If you have a low amount of messages you want to print you can also take prints creens of each message, then transfer the photos to your computer and print from there. This and more methods of printing iPhone text messages here: How to Print Text Messages from iPhone?

  • Is it possible to print the info. from the help window. (ex. how to create a smart list)

    is it possible to print the info. for the help window. (ex. how to create a smartlist... i tunes)

    Yes, click the gear icon and select print.

  • EPSON LQ - 2180 ESC/P2 : print setting problem from SAP b1 8.8 PL 19

    Hi All,
    we are SAP Business One Customer, I  have created Crystal Report and using Printer : 'EPSON LQ - 2180 ESC/P2',
    I have selected Same Printer in Printer Option
    Orientation is 'Portrait'
    Paper Size 'US Std Fanfold'
    but print out comes in Vertical Format,  we want to print it in Horizontal format
    I Tried many times in Landscape and Portrait format but print comes in Vertical format.
    I have checked some following conditions:
    1. If printer is in 'Portrait' format then test print is OK..
    2. If Crystal Report is in 'Portrait' format then test print is OK..... directly print from Crystal Report
    3.  whenever  I take print out from SAP B1 for  same Crystal Report with same setting but print comes in vertical format.
    I am attaching Print Setup screen print with this mail, pls kindly find the attachment.
    Pls give me feasible Solution as soon as possible.
    Thanking you in an obligation.
    Regards,
    Babu Terve

    hi Datta,
    when you say S-Account, this account is needed when we use the SAP Portal. Contact your SAP Partner to get your S-Account. regarding the note i will quote it here
    1535606 - Printer preference setting for the Crystal Layouts
    Symptom
    Print Crystal Report layout does not consider Business One (B1) printer preferences changed by user before printing.
    In order to enable B1 to make print preferences changes in application the Crystal Report Layout must have ticked off the "Dissociate Formatting page Size and Printer Paper Size" option in page setup.
    The following preferences are enabled for the Crystal Reports Layouts:
    1. Orientation: "Portrait" or "Landscape".
    Note! In case the report is too wide to fit on rotated page, error message is returned.
    2. Document Options: Duplex printing (Print on both sides).
    3. Paper Options: Paper size.
    Note! The options Custom Size will not be considered by B1.
    Note! In case it is not possible to print on some paper size error message is returned.
    4. Paper/Quality: Print Quality/Printer Resolution, Paper Source.
    5. Color Options.
    Note! Crystal does not resize the report to fit the selected paper or format.
    Cause
    Application error
    Solution
    As a workaround, please change the Page Setup to Landscape in Crystal
    Report designer itself.
    SAP intends to provide a patch or patches in order to solve the problem
    described. The section Reference to Related Notes below will list the
    specific patches once they become available. The corresponding Info file of the patches in SAP Service Marketplace will also show the SAP Note number. Please note that these references can only be set at patch
    release date. SAP will deliver patches only for selected releases at its own discretion, based on the business impact and the complexity of the implementation.
    Other terms
    Print Setup, print preference
    Header Data
    Released on     06.12.2010 15:05:56
    Release status     Released for Customer
    Component     SBO-REP-CR Crystal Reports 2008 for SAP Business One
    Other Components     
    SBO-GEN-PRT Printing Issues
    Priority     Correction with medium priority
    Category     Program error
    References
    This document refers to:
    SAP Business One Notes
    1540128           Overview Note for SAP Business One 8.8 Patch 18
    This document is referenced by:
    SAP Business One Notes
    1540128           Overview Note for SAP Business One 8.8 Patch 18
    Validity
    Software Component
    Version
    SAP BUSINESS ONE
    8.8
    regards,
    Fidel

  • How to script to Print a document from SAP Business One SDK

    I have created a project using UDO, Form and User table using B1DE2005.
    I wonder how can i program to print a document from my screen. something like Sales Order, where user can click on Print Preview button and it will print the sales order confirmation preview..
    KC

    Where do you want to execute this print/print preview?  Inside Sales Order?
    If that is the case use the print event, now if you have your own form and is separate of any of the SAP B1 system forms, then you will have to use the menu event and evaluate when they have press the print button (which you also probably will have to make sure that is active).
    WB

  • Why a " # " is coming while printing chinese characters from SAP script?

    Hi All,
    Facing one issue.
    We have a SAP script for printing delivery note thru T-code VL03N. The script has chinese characters in it.
    When I print this form the chinese characters that are hardcoded in the script can be seen in the print out but the ones which are coming from the table cannot be seen instead they are repalced by " # ".
    Strangely, when a debug the script or see a print preview on the screen they can be seen as it is with no problem.
    Only when I print it, on the paper print they are seen as # but the characters that are hardcoded in the script can be seen clearly on paper.
    Secondly, in Transaction FB03 which is for display of list of documents it too has some chinese characters and when I print this directly from the t-code doing Shift-F1 ( no SAP script or form is involved in this case) then the same case is there the chinese characters get replaced by a " # ".
    Any inputs or views are welcome.
    Please suggest.
    Thanks.
    Cordially,
    Saurabh.

    Hi,
    You need to set your activate multibyte functions to support.
    Long on to SAP --->right side right corner (Customized local layout) --> click --->Select options --->select tab (l18N)
    -->Check Activate multibyefunctions to support.
    log off you SAP Gui then re-log in...you can able to view multi language characters.
    Thanks,
    Nelson

  • SAPSPRINT.EXE Problem while Printing as LOCL from SAP

    Hello ,
    Could someone let me know the solution on the Error that we are experiencinng on SAPGUI 620,640,710 for Printing from SAP when selected as LOCL .
    Error Message: sapsprint.exe has encountered a problem and needs to close .We are sorry for the inconvenience.
    Thanks,
    Sai

    Hello Sai,
    do you use the latest version of sapsprint? See attachment in note 927074.
    Regards, Martin

  • Batch Printing Of Invoices from SAP Business One

    Hi,
    I am having trouble batch printing invoices from SAP business one. The issue is with only one printer, on all other printer it works fine.
    Everytime we try to print on this printer(HP) it prints the first invoice and prints following error on the
    next page.
    PCL XL error
    Subsystem: KERNEL
    Error: IllegalOperatorSequence
    Operator: EndChar
    Position: 84
    Any help will be highly appreciated.

    Hi,
    Please try to do the following steps: (Not related to B1, but to the printer settings)
    1.Open Start a Settings a Printers and Faxes
    2.Right click on the desired printer and choose u2018Printing Preferencesu2019
    3.In the u2018Advancedu2019 tab, change the field u201CPrint Optimizationsu2019 to u2018Disabledu2019
    4.Click OK, and Exit.
    Please update if  it helps (and grant points ) and also if it didn't, so that we might find another solution.
    Regards,
    Tuvia.

Maybe you are looking for

  • MBP owners: Recommend an external HD?

    So I've been convinced that an external HD, combined with my occasional CD-R burnings, is the best way to go for backups. What brand would you recommend? I'm looking for the best balance I can between cost and dependability/longevity. I have extremel

  • Exchange 2013 enable forwarding option does not save the recipient address

    Hi, I am having issue on Exchange 2013 that unable to save forwarding recipient address in mail flow option. While browsing on Forward address and select recipient address it shows the blank and do not show the address. Can anyone suggest how to save

  • "Sorry, this content is not allowed" Error when trying to post a reply.

    Has anyone else seen this error lately when trying to post a reply? Just to be sure.. I remove all the formatting and just used simple text.. Still the error persists. It works for some other posts in the same forum too.! Eg.. I am unable to post a r

  • What is a sub-domain site?

    I tried to create a reciprical link with Arts5.com and got this message. Just to let you know the link partner program of Arts5.com don't provide for any sub-domain site. Please send us another domain to exchange if you may have. Then, we'll consider

  • Import running

    Hi Gurus, I have created a product and  a software component and defined the usage dependencies in the SLD. I have created a domain, and a track for the software component. I also defined the required software components in the CMS. I have performed