Printing a PDF document from a network printer hosted on Windows Print Server

Hi
We have a use case where a XFA form needs to be merged with the XML file and later be printed on a printer hosted on Windows Print Server.
While I know the first part of merging the template with the data file, I am stuggling to get my document printed.
Here are the options that I have already tried -
1) Used the generatePrintedOutput to render a flat PDF and convert it into a PS format.
2) The output of the above service was input to the "sendToPrinter" service with following configuration settings
    Input document     : <Document variable referencing to the output of the GeneratePrintedOutput service>
    Printer Protocol     : DirectIP
    Server URI            : \\ <IP address of the Print Server>     NOTE: The Print Server is hosted on a different domain & is a Windows Server
    Printer Name        : \\ <IP address of the Print Server>\<name of the printer>
Some more information about our LC servers -
OS -> Unix
Application Server -> JBoss
When I used these settings and invoked the process, I got the following exception -
2011-03-07 11:13:39,047 ERROR [com.adobe.livecycle.output.exception.OutputException] ALC-OUT-001-403: Could not connect to the DirectIP Server: \\<IP Address of the Printer Server>.
2011-03-07 11:13:39,067 ERROR [com.adobe.workflow.AWS] An exception was thrown with name com.adobe.livecycle.output.exception.OutputException message:com.adobe.livecycle.output.exception.OutputException: ALC-OUT-001-403: Could not connect to the DirectIP Server: \\<IP Address of the Printer Server>. while invoking service OutputService and operation sendToPrinter and no fault routes were found to be configured.
2011-03-07 11:13:39,069 ERROR [com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker] An exception was thrown with name com.adobe.livecycle.output.exception.OutputException message:com.adobe.livecycle.output.exception.OutputException: ALC-OUT-001-403: Could not connect to the DirectIP Server: \\<IP Address of the Printer Server>. while invoking service OutputService and operation sendToPrinter and no fault routes were found to be configured.
2011-03-07 11:13:39,079 ERROR [com.adobe.workflow.AWS] An exception was thrown with name com.adobe.livecycle.output.exception.OutputException message:com.adobe.livecycle.output.exception.OutputException: ALC-OUT-001-403: Could not connect to the DirectIP Server: \\<IP Address of the Printer Server>. while invoking service OutputService and operation sendToPrinter and no fault routes were found to be configured.
Therefore I tried to check if I am able to Ping the Printer Server from my Livecycle Server and found that the ping was successful.
Next - I changed the Printer Protocol from DirectIP to SharedPrinter keeping the rest of the settings same. In this case - when I invoke the process, it did not throw any error , but it did not print any document as well.
Any suggestion where I have gone wrong? Pls let me know if you would need more information to help me resolve this issue.
Thanks & Regards,
Priyank

Well I found the answer......
I had to do the two steps below -
1) Go to Admin UI, "Trust Store Management -> User & Password Credentials" and add a profile for my Printer server with login ID and password which can access the printer.
So in the "User & Password Crendentails" page, I click on "add" and fill the following values
Profile : \\ <IP address of the print server> ....... (It is important that you write the name correctly..for example " \\10.10.234.212"
USername : <user id who has access to the printer>
Password  : <password for that user Id>
2) In the sendToPrinter service, I used CIFS as the protocol and I have the proper Server URI as below
  \\10.10.234.212\<printername>
And it worked ! .....

Similar Messages

  • How to print a PDF document from Labview?

    I am looking to create a paper copy of a PDF document.  Note: I do NOT want to create a PDF document.
    In other words I want to print a PDF document from Lab View or Visual Basic or C#.  The application is used in a production environment so I want a clean solution.
    The requirements are:
    1) Be able to specify the output printer.
    2) Set the quantity to print.
    3) Specify the file to print.
    4) Function returns when printing is complete
    5) Silent operation, that means no popup boxes.
    Any help is appreciated.

    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnmngr.mspx?mfr=true
    http://forums.ni.com/ni/board/message?board.id=170&message.id=183895&requireLogin=False
    you might be able to use system exec to print files.

  • Problem printing scanned PDF document from iPad to HP Photosmart Plus B209a

    Hi,
    I'd like to report a problem printing a scanned PDF document from iPad via HP ePrint application to my HP Photosmart Plus B209a printer. The document was sent to the printer without any issue. However, the printer only prints out the
     screenshot image in the center of the PDF page, and the image is enlarged and rotated to fit in an A4 paper. The rest of the document is simply ignored by the printer. The document with the problem can be downloaded in the link below:
    Download PDF document with the problem
    What could be wrong? Thank you in advance!

    Thanks for the reply.
    I received the document from my teacher, so I don't know what program she used to scan it.
    I tried to print the document directly from my PC which works fine though, so I guess the document is OK.
    My HP printer is an old model which doesn't support eprint or air print, so I used the eprint application on iOS to print the document. I tried both color and black/white which gave me the same result: only the center screenshot image is printed out, and the image is enlarged and rotated to fit an A4 paper, the rest of the document is just ignored.
    What do you mean by saving it as a document?

  • Print a PDF document from flash

    Hi,
    I need to create a flash button that when I click on him its
    print a PDF document.
    Is it possibility to do that in flash
    Thanks
    Pini

    For offline/CD-Rom work yes you can using JStart read this
    http://www.flashjester.com/index.php?section=faq&cPath=28_41#352
    and download the example file
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • Windows 7 SP1 client file lock on network share hosted ny WIndows 2012 Server

    Hello
    I have one strange problem after migration from Windows 2003 Server to Windows 2012 Server R2 Standard. 
    All migration tasks went well but two things do not work.
    In Computer Management you have The Opened Files feature and if you open any file that is located on the network share hosted by Windows 2012 R2 form Windows 7 SP1 and then close it
    it remains open in the Opened Files tab (even if you wait an hour).  There is no problem with Windows XP SP3. The issue exist only with Windows 7.
    The session view of sessions to the file server do not work. If I try to open it I get the message that the application is not responding. 
    Can someone help me with that ?
    About the environment:
    It is one server Domain migrated form 2003 to 2012R2.
    The domain and forest level was raised to 2012 R2.
    I have made clean install of Windows 2012 R2 and then migrated AD. 
    Best Regards
    Sebastian Sala

    Hi Sebastian,
    >>There is no problem with Windows XP SP3. The issue exist only with Windows 7.
    T>>he session view of sessions to the file server do not work. If I try to open it I get the message that the application is not responding. 
    Based on the description, please check event logs in Event Viewer to see if there were some related events logged. Besides, does this phenomenon happen all Windows 7 clients? We can try to restart the client to see if it helps.
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Getting and Printing A PDF Document From R/3 Using Web Dynpro

    I would like specific information on getting and printing a document residing R/3 using web dynpro.  My environment is Netweaver 04s SR2, an it will not include ITS or the ABAP stack. It connects to remote R/3.  I will not be using Adobe Interactive Forms.       I only need get/render/print the doc.  My question is in 3 parts.
    1) Getting the PDF from R/3
         a) In terms of the RFC ABAP module, how should it return the pdf (a table?)
         b) How should the document be stored within the Component Controller context
             for display.
    2) Converting the R/3 returned binary into a form that is renderable within
        Web Dynpro.  (Does the Form UI Element Require it to be converting and if so
                              what is the best way to do this)
    3) Printing the PDF from the corresponding iView in the portal. (If I am using the
        form ui element to display it, how can printing be initiated in the portal)
    Thanks

    Hi,
    In webdynpro there s a fecility to convert the general data to PDF by uisng th InterativeForm UI Element.
    This for u need to do the following things.
    1. Need to configure the ADS(Adobe document services) in your VA(Visual Admin).
    2. Once ADS is configured we  can utilize the UI element Interactiveform It has contain the Adobedesigner by using this we can design the PDF and binding with the model nodes.
    3. Develop the Function module in the r/3 side and import into WD side and those are created as Model nodes and we canutilize in the 2 step.
    4.When u run the application u can display the pdf with how u design ur PDF form.
    This is generally doing the PDF by using PDF.
    Or do u think any other way post ur issues.
    Thanks,
    Lohi.

  • Printing of pdf document from java application

    Hello,
    I want to print out a pdf document which I get from a server as a byte-stream. I don't want to display or preview it on the client but print it out right away. Is there a way to do this?
    Thank you very much!
    Matthias

    Hi Matthias,
    If you have got solution for this can u suggest me.
    I'm using following code
              PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
              DocFlavor flavor = javax.print.DocFlavor.INPUT_STREAM.AUTOSENSE;
              System.out.println("====================>"+flavor);
              PrintService printService[] = PrintServiceLookup.lookupPrintServices(flavor, pras);
              PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
              PrintService service = ServiceUI.printDialog(null, 200, 200,printService, defaultService, flavor, pras);
              if (service != null)
                   try
                        javax.print.attribute.standard.Copies obj=new javax.print.attribute.standard.Copies(1);
                        Attribute at=(Attribute)pras.get(obj.getClass());
                        int noOfCopies=1;
                        if(at!=null){
                             try{
                                  noOfCopies=Integer.parseInt(at.toString());
                             }catch(Exception err){noOfCopies=1;}
                        for(int i=0;i<noOfCopies;i++)
                             URL url = null;
                             try{
                                  url = new URL(urlToPDF);
                                  url.openConnection();
                                  fis = url.openStream();
                             }catch(Exception err){}
                             DocPrintJob job = service.createPrintJob();
                             job.addPrintJobListener(printjoblis);
                             DocAttributeSet das = new HashDocAttributeSet();
                             Doc doc = new SimpleDoc(fis, flavor, null);
                             pras.add(Sides.ONE_SIDED);
                             job.print(doc, pras);
                   }catch(Exception err){System.out.println("=========>"+err);}
    some times i'm getting garbage values in the printout.
    Thanks & Regards,
    Surya.

  • I am trying to print a pdf document from an electronic journal at my school, and i can only get it to print what is on the screen at the time i hit print.  How do i get it to print the whole document?

    how do i get it to print the whole article?  i don't seem to have a problem printing from my old windows laptop

    melbaby_3 wrote:
    when I clicked on your link and hit print, all pages were there!
    That suggests there's no problem with Safari or Quartz, the PDF rendering engine used by Safari, Preview, and other Mac applications.
    When I'm in the database and have the article open that I want to print, I click on the "full text in pdf" link and it opens in another safari window.
    Does the PDF in this other Safari window have all the pages? If yes, why don't you print from this window?
    It's very difficult to tell what might be going on if you don't give very specific details.
    For instance, in many reference databases, full-text articles are not free. You have to pay to view them, either article by article, or by subscription. Your school may have such a subscription, but, if it does, you probably need to access the database through the portal, web site, or facility provided by your school (your school's librarian should be able to help you with that). If you don't, the database has no way of knowing you have a right to view the full text, and may give you just a preview or the article's first page.
    Another possibility is that the database provides full-text PDFs in a format not compatible with Quartz, which may be able to render only the first page. But, in such a case, I'd expect Safari to print blank pages. If that's the case, you need to save the PDF on your hard disk and open it with Adobe Reader (Preview wouldn't work).
    There are other possibilities, but these two seem to me the most likely.
    Would I have to save it in preview first
    You should save the PDF on your hard disk from Safari. (I think you should do this anyway, just in case you need to refer to the article again later.) Instead of just clicking the  "'full text in pdf' link", press and hold Control, then click. This should give you a contextual menu; if the link points to a PDF file, you should see the commans "Save Linked File to 'Downloads'" and "Save Linked File As…". Use either, save the file, then, in Finder, double-click on it. Preview should open it.
    It is possible that the link is not to a PDF file, but to a script which fetches that PDF file for you. In that case, it's pointless to download it. Click on it, and then, if the PDF viewing window opens in Safari, move the cursor towards the centre of the bottom of the window. A bar with commands should appear; one of them will download the file to your Downloads folder.

  • Is impossible to know when you print a PDF document from Workflow? how?

    Hi
    I am creating a workflow that prints a PDF form and send it in a WorkItem to the user's inbox, once you run the WorkItem a PDF is opened the user ... I wonder if you can capture an event if the user prints the document or cancels ... I do not speak English and translated into the google translator excuse any errors.

    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnmngr.mspx?mfr=true
    http://forums.ni.com/ni/board/message?board.id=170&message.id=183895&requireLogin=False
    you might be able to use system exec to print files.

  • Printing a PDF document within a postscript file

    I know it is possible to print a PDF document from within a postscript file using Document Structuring Comments and Document Comment Extensions.  Is is possible to print a single page PDF document multiple times as a booklet?  For example I have a PDF document that is a page of graph paper.  I want to print this PDF file 8 times in the form of a booklet.  Is this possible and if it is how would I code the postscript to do this?
    Thank you  in advance
    David

    Where do you know that “it is possible to print a PDF document from withint a PostScript file using Document Structuring Comments and Document Comment Extensions” from?
    PDF is absolutely not part of the PostScript language itself. Nor is there anything in the DSC specifications that provides for printing a PDF document from within a PostScript file.
    Attached to this posting are the two existing pieces of documentation of DSC from Adobe. Neither references such a capability.
    DSC are simply “comments” within a PostScript program file which may be used by preprocessing software or external applications for various puposes, especially associated with prepress actions and placing of EPS (Encapsulated PostScript) in other graphic arts documents.
    Conceivably some implementor of some PostScript product may have provided some capability to embed a PDF file or to invoke the printing of a PDF file from within a PostScript file using custom DSC. However, this is certainly not part of the official PostScript language. I have also attached those specifications as well!
              - Dov

  • Printing a PDF document using SMARTFORMS

    What is the easiest way to print a PDF document from an ABAP program?  I have the data in the following formats:
    Binary (XSTRING)
    String (from function module HR_KR_XSTRING_TO_STRING)
    OTF
    What format can I use in a smartform to print the PDF in the background?
    Thanks in advance.

    Sandipan,
    If I use the UTF format, what do I use for the device type?  PDF1?  Also, I have the OTF data in an internal table which has to fields (TDPRINTCOM and TDPRINTPAR).  I pass this table into the smartform function module but what do I do with the 2 fields when I loop through the internal table in the smartform?  Do I just output a text node with TDPRINTPAR and ignoreTDPRINTCOM?
    TDPRINTCOM   TDPRINTPAR
    ==========    ==========
    //             XHPLJ4       0700 00000000001
    IN            04E/ERPIS/CARRIERLABEL
    IN            05%PAGE1
    OP            DINA4   P 144  240 1683811906000010000100000
    IN            06MAIN
    IN            03TABLE_BEGIN
    MT            0141701657
    CP           41030000E
    FC           COURIER 120  00144 SF012SF012410300144E

  • Printing a pdf document

    Hi,
    I want to print a PDF document from SAP.  I am able to suck the document into memory but I have no way to convert it to something that is printable.  Though SAP offers ways to convert from a sap script / smart form to a PDF there doesn’t seem to be a reverse process.  Does anyone know of a way, without using system commands, to print this document?
    thanks,
    Roger

    Send it as an attachment in an email to the printer's email address
    Although I am not affiliated with HP, please give Kudos if I've answered your question

  • Has anyone been able to use auto select printing on pdf documents?

    Does anyone have a fix for being able to preset the printer trays to a specific paper size to allow for autoselect printing of pdf documents with multiple size pages?   The mac printing options only allow for letter or legal with scaling.  I need to be able to print large documents with both size pages.  Windows environement can handle this with ease.  I'm very surprised Apple cannot.

    See This Discussion  >  https://discussions.apple.com/message/18056349#18056349
    From the  More Like This  on the right...
    Also,  See item 3 Here  >  Community etiquette

  • Why can't I print a PDF document?

    when trying to print a PDF document I get the error message " unable to print document".  Sometimes also includes  "No pages  are selected''.
    I'm using an HP laptop and OS Windows 7.
    I have tried selecting all document,and printing it as image,  I have checked that there are no security locks on the document. I have been through the forum several times searching for answers and still I cannot print a PDF.
    Advice please on what other steps I can take.

    Pat Willener,
    Many thanks for the helpful suggestions. . Sean Mitchell's suggestion of
    repairing Adobe reader via the help menu did the trick. I have been able to
    print several PDF documents after following his suggestion.
    Very many thanks for the assistance
    Peter Goldsworthy

  • Print PDF documents from a report

    Hello all,
    I need to print a PDF document residing on my hard drive(without actually opening the document, just a print) from a custom ABAP report. Any ideas how we can do this? Can we do this with OLE's? Sample code is appreciated.
    Thanks,

    Hello,
    Thanks for the response. The link you provided shows how to write output to PDF and print. All I need to do is print some external PDF document resisding on my hard drive through some code in my custom report.
    Any ideas on this? Thanks.

Maybe you are looking for