Print archived docs

hi,
i want to print plenty of docs out from archive in an abap report.
now i used fuba "ALINK_PRINT_DOCUMENT" to do so, but it doesn't work really good. i optimized the fuba so i am able to download docs to frontend, print them and delete the local file. but there is one problem. the user has to close acrobat reader after each document. i want to print the documents in series without dialog.
does anyone has a opportunity for my problem. thanks in advance.

Hi,
You can refer the below link where I have just now posted a possible solution & see whether that helps.
Solution! (Hopefully) :Print label image in GIF format
Regards,
Gokul

Similar Messages

  • I have the latest ipad2 and trying to print a doc. It does not find my printer . My printer is a canon mp990 wifi

    I have the latest ipad2 and trying to print a doc. It does not find my printer . My printer is a canon mp990 wifi. Can anyone tell me what I am doing wrong?

    Hi,
    If you are trying to utilize AirPrint you need an HP compatible printer listed here.
    http://www.apple.com/ipad/features/airprint.html
    Scroll down.
    Carolyn  

  • How can I print a doc from my iPhone 4S to a Lexmark Interpret S405 printer with WiFi? Thanks!

    How can I print a doc from my iPhone 4S to a Lexmark Interpret S405 printer with WiFi? Thanks!

    Unfortunately you need an airprint enabled printer to print from an iOS device. There are some work arounds but they are very complicated and aren't proven to work 100%. From what I understand through rumors they are working on allowing all wireless printers to work with iOS but at the moment that's a pipedream. I don't know how important it is but if you really need to print from iPhone you can find some great AirPrint printers on Ebay for decent prices. Good Luck!

  • How to print an Doc file(MS Word File)on a printer in JAVA

    Hi.I am Prakash.
    Folowing is the code that i have used to print an doc file on a printer. Problem is that , when i run this code it will provide me an printout of a doc file.,but not in well formate as the actual formate of the file. If any one tried this before plz help me.Thanks
    import java.lang.reflect.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Graphics2D;
    import java.io.*;
    import javax.swing.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class BasicPrint {
         JFrame frame;
         JButton btn;
         private boolean PrintJobDone = false;
         protected void MakeGui() {
              frame = new JFrame("PrintService");
              btn = new JButton("Cancel Print Job");
              btn.disable();
              frame.getContentPane().add(btn, BorderLayout.SOUTH);
              frame.pack();
              frame.setVisible(true);
         BasicPrint(String FileToPrint, String pMode) {
              try {
                   MakeGui();
                   File baseDir = new File("d:/doc");
    File outDir = new File(baseDir, FileToPrint);
                   // Open the image file
                   InputStream is = new BufferedInputStream(new FileInputStream(
                             outDir));
                   // Find the default service
                   DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
                   //DocFlavor flavor = new DocFlavor("application/msword", "java.io.InputStream");
                   //DocFlavor docFlavor = new DocFlavor("application/vnd.ms-word", "java.io.InputStream");
                   if (pMode != null && pMode.equalsIgnoreCase("PS"))
                        flavor = DocFlavor.INPUT_STREAM.POSTSCRIPT;
                   else if (pMode != null && pMode.equalsIgnoreCase("PDF"))
                        flavor = DocFlavor.INPUT_STREAM.PDF;
                   else if (pMode != null && pMode.equalsIgnoreCase("JPG"))
                        flavor = DocFlavor.INPUT_STREAM.JPEG;
                   else if (pMode != null && pMode.equalsIgnoreCase("GIF"))
                        flavor = DocFlavor.INPUT_STREAM.GIF;
                   else if (pMode != null && pMode.equalsIgnoreCase("PNG"))
                        flavor = DocFlavor.INPUT_STREAM.PNG;
                   else if (pMode != null && pMode.equalsIgnoreCase("PCL"))
                        flavor = DocFlavor.INPUT_STREAM.PCL;
                   else if (pMode != null && pMode.equalsIgnoreCase("RAW"))
                        flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
                   else if (pMode != null && pMode.equalsIgnoreCase("TXT16"))//****                                   *********
                        flavor = DocFlavor.INPUT_STREAM.TEXT_PLAIN_UTF_16;
                        System.out.println("****ACTIVE***");
                   else if (pMode != null && pMode.equalsIgnoreCase("TXTBE"))//****
                        flavor = DocFlavor.INPUT_STREAM.TEXT_PLAIN_UTF_16BE;
                   else if (pMode != null && pMode.equalsIgnoreCase("TXTHOST"))//***
                        flavor = DocFlavor.INPUT_STREAM.TEXT_PLAIN_HOST;
                   else if (pMode != null && pMode.equalsIgnoreCase("TXT8"))
                        flavor = DocFlavor.INPUT_STREAM.TEXT_PLAIN_UTF_8;
                   else if (pMode != null && pMode.equalsIgnoreCase("TXTASCI"))
                        flavor = DocFlavor.INPUT_STREAM.TEXT_PLAIN_US_ASCII;
                   else if(pMode != null && pMode.equalsIgnoreCase("TXTLE"))
                        flavor = DocFlavor.INPUT_STREAM.TEXT_PLAIN_UTF_16LE;                                        //*******
                   else if(pMode != null && pMode.equalsIgnoreCase("SEVICE"))
                        flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
                   String type = flavor.getMediaType();
                   System.out.println("Type ="+ type);
                   //IMPRIMIR prakashCV.doc TXT text/plain; charset="utf-16le"; class="java.io.InputStream"
                   System.err.println("* IMPRIMIR " + FileToPrint + " " + pMode + " "
                             + flavor);
                   PrintService dservice = PrintServiceLookup
                             .lookupDefaultPrintService();
                   PrintService[] services = PrintServiceLookup.lookupPrintServices(
                             flavor, null);
                   if (services == null || services.length < 1)
                        services = PrintServiceLookup.lookupPrintServices(null, null);
                   PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
                   aset.add(new Copies(1));
                   aset.add(OrientationRequested.PORTRAIT);
                   // aset.add(MediaTray.MAIN);
                   aset.add(Sides.ONE_SIDED);
                   aset.add(MediaSizeName.ISO_A4);
                   PrintService service = ServiceUI.printDialog(
                             (GraphicsConfiguration) null, 60, 60, services,
                             (PrintService) dservice, (DocFlavor) flavor, aset);
                   if (service != null) {
                        // Create the print job
                        final DocPrintJob job = service.createPrintJob();
                        Doc doc = new SimpleDoc(is, flavor, null);
                        // Monitor print job events; for the implementation of
                        // PrintJobWatcher,
                        PrintJobWatcher pjDone = new PrintJobWatcher(job);
                        if (job instanceof CancelablePrintJob) {
                             btn.addActionListener(new ActionListener() {
                                  public void actionPerformed(ActionEvent evt) {
                                       CancelablePrintJob cancelJob = (CancelablePrintJob) job;
                                       try {
                                            cancelJob.cancel();
                                       } catch (PrintException e) {
                                            // Possible reason is job was already finished
                             btn.enable();
                        try {
                             // Print it
                             job.print(doc, (PrintRequestAttributeSet) aset);
                        } catch (PrintException e) {
                             e.printStackTrace();
                        System.err.println("* Impresion Realizada - Esperando ..");
                        // Wait for the print job to be done
                        pjDone.waitForDone();
                   // It is now safe to close the input stream
                   is.close();
              } catch (IOException e) {
                   e.printStackTrace();
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   try {
                        synchronized (BasicPrint.this) {
                             PrintJobDone = true;
                             BasicPrint.this.notify();
                   } catch (Exception e) {
                        e.printStackTrace();
         public synchronized void waitForDone() {
              try {
                   while (!PrintJobDone) {
                        wait();
              } catch (InterruptedException e) {
                   e.printStackTrace();
         public static void main(String[] args) {
              try {
                   //args[0]="t";
                   //args[1]="rr";
    //               if (args.length < 1) {
    //                    System.err.println("\nSintaxis:\n\n java BasicPrint FileToPrint [pMode]\n");
    //                    System.exit(0);
                   BasicPrint bp = null;
                   //if (args.length < 2){
                        //bp = new BasicPrint(args[0], null);
                   //}else{
                        //bp = new BasicPrint(args[0], args[1]);
                        bp = new BasicPrint("prakashCV.doc","SEVICE");                                                       //****/***
                   bp.waitForDone();
                   System.exit(0);
              } catch (Exception e) {
                   e.printStackTrace();
         class PrintJobWatcher {
              // true iff it is safe to close the print job's input stream
              boolean done = false;
              int lastEvent = 0;
              PrintJobWatcher(DocPrintJob job) {
                   // Add a listener to the print job
                   job.addPrintJobListener(new PrintJobAdapter() {
                        public void printJobRequiresAttention(PrintJobEvent pje) {
                             lastEvent = pje.getPrintEventType();
                             System.err
                                       .println("* La impresora requiere de su Atencion ! * "
                                                 + pje);
                             // allDone();
                        public void printDataTransferCompleted(PrintJobEvent pje) {
                             lastEvent = pje.getPrintEventType();
                             System.err
                                       .println("* Transferencia de datos a la impresora OK. * "
                                                 + pje);
                             // allDone();
                        public void printJobCanceled(PrintJobEvent pje) {
                             lastEvent = pje.getPrintEventType();
                             System.err.println("* Trabajo de impresion CANCELADO ! * "
                                       + pje);
                             allDone();
                        public void printJobCompleted(PrintJobEvent pje) {
                             lastEvent = pje.getPrintEventType();
                             System.err.println("* Impresion completa OK. * " + pje);
                             allDone();
                        public void printJobFailed(PrintJobEvent pje) {
                             lastEvent = pje.getPrintEventType();
                             System.err.println("* ERROR en la Impresion ! * " + pje);
                             // allDone();
                        public void printJobNoMoreEvents(PrintJobEvent pje) {
                             lastEvent = pje.getPrintEventType();
                             System.err
                                       .println("* No mas eventos de impresion * " + pje);
                             allDone();
                        void allDone() {
                             synchronized (PrintJobWatcher.this) {
                                  done = true;
                                  PrintJobWatcher.this.notify();
              /** Description of the Method */
              public synchronized void waitForDone() {
                   try {
                        while (!done) {
                             wait();
                   } catch (InterruptedException e) {
                        e.printStackTrace();
    }

    Hi Maxpkh
    Do you mean attachment? You can't do that with free Adobe Reader you need Acrobat to do this.
    ~Deepak

  • Can not print pdf docs

    Can not print pdf docs after intalling Lion. Any solutions?

    https://discussions.apple.com/thread/3191292?tstart=0
    https://discussions.apple.com/thread/3220882?tstart=50
    https://discussions.apple.com/thread/3219969?tstart=50
    https://discussions.apple.com/thread/3216206?tstart=50

  • I can't print a doc in adobe reader x

    I can't print a doc in adobe reader x

    Is there a Dock Icon that was created for your Printer? If so, open it and look at the list to be printed and delete the extras.
    If not, you did not get that far, so no 15 copies for you!

  • HpqtBx01.exe runs in background after printing a doc

    every time I print a doc this pgm continues to run, causing the fan on my HP dv9005 to run at high speed.  The only way to fix it is to log off and manually shut the pgm down when the error message pops up.  I've removed and re-installed my s/w several times and it keeps happening.  I run windows XP with an HP 0fficejet 4315

    Hi
    I observing the exactly similar situation for my laptop with HP Officejet 6300 series printer attached. I wonder if you ever got it resolved ?
    If so, what was the cure ?
    Thanks in advance
    Peter

  • How to print a doc using  Reader 11.0.3.37

    I am unable to print a document using Adobe Reader 11.0.3.37.
    Any ideas about how to do so?

    When I try to print the doc, I selected the particular doc to print (copy), the ckicked on to "view document", and a gray screen populates without any graphics.
    The error message that I got, after one try, was to the effect that a problem existed in my security set-up. 
    I checked the security system software file and read that the Adobe Reader was installed and "running", yet I have not discovered what I need to do to get a print of the doc. 

  • Printing adobe doc suddenly stopped

    Within the last week or so, I suddenly can't print adobe docs.  When I select print, a dialogue box appears saying cannot print, then upon hitting ok, another box appears saying could not print because 'there were no pages selected to print".  I have tried everything and even did system restore.  I have made no changes or have done anything that would explain why suddenly I am having this problem. I want to be able to print, but it would also be nice to know what caused this.

    In the applicable product forum, you can start a New Discussion (post), from the main page. See this illustration:
    Hope that helps, and that you also get some helpful responses. If you still have issues, just PM either Jacob, or me (going out of town for 4 days), and we'll Move your thread to the product forum, that applies.
    Good luck,
    Hunt

  • My printer will not print the docs in the que.

    My printer will not print the docs in the que. I think it may be the norton virus protection I Installed recently. How do I fix this?

    If one thing gets held up in que then all other doc's follwing will be held up as well-
    Download and run the "PRINT DIAGNOSTIC UTILITY" to get rid of the things in your print que
    Download it here:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategor​y?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=4083​...
    Save it to your Desktop and then run it> Click "Fix" when it comes to your QUE
    Although I work for HP, I am speaking for myself and not for HP.
    Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )

  • Samsung CLP310 printer- printing word doc problem

    i have had a Samsung CLP310 printer for a while and its worked perfectly, however, just recently it has not allowed me to print word.doc files , i have to convert them first to a pdf and then print.
    Does anyone know if there has been a change to the driver or if i have downloaded a recent universal software upgrade that has mucked things up? Any advice well.
    (I have tried the reset printers options etc..)
    Many thanks

    I'm having the same exact problem but can't seem to get ANY response!! The link below was never responded to so I copied it here. IS THERE A WAY TO MAKE ADOBE USE THE "HP" DRIVER AND NOT THE XEROX?????
    http://www.adobeforums.com/webx/.59b4e3da/1
    We have a similar problem with 2007 Excel files embedded in Autodesk Inventor 2008. The pdf preview will look fine, but the PDF file has the black box that you are talking about. Also happens when we print to a Xerox Phaser 7300. When we print to a "HP designjet 800" it will print fine. Does it has something to do with the Xerox printer driver???? We have all the latest updates we beleive? We started with Acrobat Adobe 8.1.1, a new install shouldn't have to install 8.0 first should it?
    Specs: O.S.: XP Pro x64 Edition Version 2003 sp3
    Machine: H.P. xw9300 Workstation, AMD Opteron Processor 250,
    2.39 GHz, 4.00 GB of RAM
    Video: NVIDIA Quadro FX 3450/4000 SDI with driver version 9.1.3.6 running D3D in Inv.
    With NVIDIA Desktop Manager disabled
    3D navigator: 3DConnexion - Spaceball 5000 Driver Ver. 6.3.3

  • How to enable the print & archive button that appear in the smartform outpu

    How to enable the print & archive button that appear in the smartform output.....

    Hi,
    I agree with the details which has been given above, but still if you want to default option 3 "Print & Archive" in drop down, it is possible.
    All you need to do is to set the value of output_options structure field "TDARMOD" as "3" while passing the parameters to dynamic function module of smartform.
    That will select "Print and Archive" in background and display to user.
    Sumit

  • SUDDENLY, IT IS MPOSSIBLE TO PRINT PDF DOCS, EVEN AS"PRINT AS IMAGE"......

    All of a sudden, it is impossible to print PDF documents. Tried to use the "PRINT AS IMAGE" option, tried to restart PC, then to reinstall ADOBE READER. Also tried to copy files and then print.......

    No printer on the network I use is printing the PDF documents
    chosen. 5 printers are NOT printing the PDF documents. The only way I
    can print the documents is by opening them with ADOBE PHOTOSHOPO and
    then select "PRINT"..........
    n Fri, 05 Sep 2014 20:55:30 -0700, Pat
    Willener wrote:
    SUDDENLY, IT IS MPOSSIBLE TO PRINT PDF DOCS, EVEN
    AS"PRINT AS IMAGE"......
    created by Pat Willener  in _Adobe
    Reader_ - View the full discussion

  • Printing Archive documents

    Hi,
    We are attaching documents in the SAP system at the business obejct level say claim and it is archived automatically. But we need to get help in printing the same. Is there any function module or report to print archive documents ?
    Thanks.
    Irudayaraj Peter

    Hi,
    You can refer the below link where I have just now posted a possible solution & see whether that helps.
    Solution! (Hopefully) :Print label image in GIF format
    Regards,
    Gokul

  • Print archived PDF

    Hello everyone,
    I have a requirement that is to retrieve a PDF file from IXOS and print it.
    I have done the retrieve part with function modules ARCHIV_GET_CONNECTIONS and ARCHIVOBJECT_GET_TABLE. The second FM returns two tables, one of type DOCS and the other type TBL1024, with the binary of the PDF archive.
    Now I need to send this print binary to a spool order and print.
    I have tried to find out any function module to convert BIN to OTF, but was only able to find OTF to PDF conversions.
    Could anyone help me.
    edit------
    Is this even possible?
    Thank you,
    Fábio Galvão
    Edited by: fabio.galvao on Jul 1, 2010 12:04 PM

    Hello everyone,
    I've managed to create a empty spool order using FM RSPO_SR_OPEN, and then I perform a loop at the table binarchivobject, that the FM ARCHIVOBJECT_GET_TABLE returns with the binary of the pdf, writing the binary using FM RSPO_SR_WRITE_BINARY performing a MOVE binarchivobject-line TO data_line. After all the data is writen i use FM RSPO_SR_CLOSE to close the spool order.
    Now, my problem is that what's sent to the printer is something like this:
    "%PDF-1.4#1 0 obj#<</Type /Catalog#/Version /1.4#/Pages 4 0 R#>>#endobj#2 0 obj#<</Producer (Report.NET by root-software ag)#/CreationDate (D:20100615)#/
    116.22 738.431 Td#(10ELM700434) Tj#ET#BT#172.913 738.431 Td#(15-06-2010 / 17-06-2010) Tj#ET#BT#314.646 738.431 Td#(Financeiro) Tj#ET#BT#399.685 738.431 "
    and the printer does not recognize this as a PDF and prints the code just like this.
    So i'm guessing I might need a conversion or something like this. Anyone as any Ideas?
    Thank you,
    Fábio Galvã

Maybe you are looking for

  • Can I have just ONE account in Contacts that syncs with my iPhone?

    I quickly add a new contact when I'm at my computer right from a new email. I reply, "I'll call you when I get there" and I race out the door. Ooops. Mountain Lion put my new contact into the "ON MY MAC" account. It did not sync with my iPhone becaus

  • Purchase order scenario ------Pls clarify about the scenarios in SAP

    Hi MM Gurus all, pls clarify the following: 1.Purchase Order given to a vendor & material received from multiple vendors i.e. B or C or D with payment to A. 2.Purchase order to  vendor A & B vendor & other vendoru2019s material received from either A

  • FA -. G/L Reconciliation program (RAABST02) ABST2 - transaction help

    Hi all, Can anyone tell me the steps to run the ABST2 (FI-AA to G/L reconciliation program) if the fiscal year is closed for fixed assets through AJAB transaction, i.e,. Fiscal year 2006 is closed for FA in a company and I have to run the reconciliat

  • When opening a VI, it keeps asking me to locate the same VI.

    I have been given a couple of VI's and several subVI's to modify. When I try opening the VI's I get a prompt to "Please find the VI named ..." asking for the same VI over and over again. This continues until I hit cancel, in which case the VI does no

  • Cant load previously saved documents

    I'm currently trying to load a a dvd cover in photoshop CS6 and i keep the following error on all my editing systms ...(could not complete your request because it is not a valid photoshop document.)