Server side document creation and printing

I have a Java application server that resides on an AIX server. I have a need to create some documents on the server, and print them to one of the AIX print queues. In the past, I have done this by creating PDF documents using iText and then using an operating system call to the acrobat reader process which converts the PDF to a PostScript file and then redirects that to one of the AIX print queues.
This was working fine and dandy until I changed my process to do something a bit different in my PDF files, and it appears that my Acrobat process on the AIX box no longer likes my PDF documents and isn't printing them correctly. But on my Windows machine, the PDFs are viewer just fine, and printed.
So something fishy is going on with the Acrobat process on the AIX box.
So here is what I've tried:
1) Upgrading the Acrobat process from 5.0 to 7.0 - Result: could not get the new version working, it has all kinds of missing dependencies etc etc.
2) Tried to use GhostScript to print the documents - Result: it also didn't seem to print the documents properly.
My question isn't really to ask how to solve this, but to ask if anyone else has ever developed a system that creates some sort of documents with dynamic content on a server and spools them to a print queue on that server?
I am second guessing myself about using PDFs now, but I don't know what my other options would be.
So to sum up, the system is a gui-less character based server running a Java app server and I want to be able to create some sort of document that could contain text, images etc, and spool it to a Unix print queue.
Any suggestions from anyone would be greatly appreciated.

That is a possibility, but these documents can be viewed through our ERP application as PDFs in Adobe, and through a web application as well. So essentially we want them to be PDF documents except when they are to be printed through the application server.
I suppose I should continue down the path of finding a more robust PDF -> PostScript converter that will run on our Unix system.
I was hoping to get feedback from users on what they've used to create documents that seems to work best in a PDF format, and if they've ever had to print them from a Unix queue etc.
Thanks.

Similar Messages

  • Server side document creation

    Does anyone know how to create a server side document (S_Document) and then add it to the server side folder (S_Folder)? The server side doesn't have S_DocumentDefinition class nor S_Document.setContent method.
    Thanks a lot,
    Jean

    That is a possibility, but these documents can be viewed through our ERP application as PDFs in Adobe, and through a web application as well. So essentially we want them to be PDF documents except when they are to be printed through the application server.
    I suppose I should continue down the path of finding a more robust PDF -> PostScript converter that will run on our Unix system.
    I was hoping to get feedback from users on what they've used to create documents that seems to work best in a PDF format, and if they've ever had to print them from a Unix queue etc.
    Thanks.

  • Server side includes: outdated and not supported by host?

    I've been using SSI's for ages with no problem from any host. Recently I signed up with a new web hosting company, one of the more established ones in the Seattle area. They do not support SSI's and claim that using them is not safe and is not a modern approach to web design. They suggested I use a more advanced programming language to create my sites, such as ASP.NET (something I have no desire to do).
    Are server side includes outdated and no longer the way to do things? I find that hard to believe.
    -Jesse

    Are server side includes outdated and no longer the way to do things? I find that hard to believe.
    That language is from Microsoft who seem to think so along with Windows based hosting providers offering ASP.NET.
    IIS no longer comes with SSI installed by default. It has to be configured by the hosting provider.
    http://blogs.iis.net/robert_mcmurray/archive/2010/12/28/iis-notes-on-server-side-includes- ssi-syntax-kb-203064-revisited.aspx
    However, classic SSIs (in the sense of including static content from one page inside another) are still one of the most powerful, safe and flexible tools for managing repetitive page elements in any web page. Not to mention easy.
    ASP.NET has its own way of doing the equivalent of SSIs - and lots more beside but much of which does not interest web designers at this stage.
    http://stackoverflow.com/questions/894720/asp-net-equivalent-of-server-side-includes
    http://searchsoftwarequality.techtarget.com/answer/Alternatives-to-server-side-includes-fo r-ASPNET

  • Server side rule filtering and message colorization

    I've been using server side rule filtering (Sieve) to handle all my mail filtering, mainly because I don't have a .Mac account and I have multiple machines that I access my mail from. This setup works really well except I have not been able to figure out how to color a message.
    I've searched and read through emails, but I haven't seen anything else about this problem. I even found a message that had been colorized by Mail's Junk filter, and found that Mail adds an additional mime part onto the message which is a property list that specifies the color of the message.
    What I really want is some way that I can set a header on my message, which Mail will see and apply that color to the message when it caches it on my Mac. A lot of my messages get moved to specific folders, but I still want to colorize them, and as far as I've seen, Mail's rules only work on messages that end up in the INBOX.
    Although I fear that its not possibly, I figured I'd ask for help if anyone has encountered similar problem and solved it.
    -d

    The IMAP-protocol (I suppose that's the one you use, otherwise server side mail filtering won't be visible in Mail.app) does not have any mechanism to transmit colorization information to the client. You have to set up these manually on each client.

  • Documents preview and print in arabic as well as different languages.

    Hello we are using Adobe reader 9.0.  We have a internet application that prepares our mortgage documents using Adobe 7,8,9. Some of the document looks good but parts are arabic amongst other languages. It appears to be a font issue.  When printing as well we have to print these documents as images.

    Hello,
    Absolutely great that your system is a Unicode system. So you can do as following.
    1. Type in the text in Unicode encoding. I am not sure the software which you are using to type in Arabic is supporting Unicode.
      So just to test whether it supports Unicode try copying the Arabic text in notepad/word and check whether those words are copied properly or not. If yes then go ahead keeping them in the SO10 Object.
    If the Arabic text are rendered as boxes or question mark then the problem is with your typing software.
    2. After keeping the text in the SO10. You can print it by normal include command in the script.
    If you are still not able to print them then you need to check the printer configuration with help of SPAD transaction.
    Just ensure the printer character set in Attributes Tab is 4110 and UTF-8 encoding. If not then contact your basis team to change these settings.
    Try it and do let me know.
    Cheers
    Ajay

  • HI,MASTER,IS FMS server-side NetGroup.sendToNearest () and NetGroup.post () can reliably send it?

    I do a chat room, and use of FMS NetGroup.post () to do the public chat, with the FMS NetGroup.sendToNearest () do private chat whisper, test all normal, but I've heard, these two methods are not 100% reliable transmission of data, can I use these two methods do, a very large number of my application, I have used the forward。
    if(e.info.fromLocal == true){
    // We have reached final destination
    trace("Received Message: "+e.info.message.value);
    }else{
    // Forwarding
    netGroup.sendToNearest(e.info.message, e.info.message.destination);
    break;
    Rule out a firewall problem, these messages can pass 100% to destination?
    I do not understand English, so sorry, please help me

    THANK YOU VERY MUCH Mike.
    Will my chat room this can be used NetGroup.post () to do an open chat with NetGroup.sendToNearest () do private chat。Or that the use of traditional Application.broadcastMsg () to do the public chat, I used your advice

  • Server-side connection pooling for clients in different VM's

    We have a need to centeralize our connection pool manger.
    Is there a server-side connection pooling manger product to allow multiple clients running in different VM's to connect to and share connection objects to the same Database?
    e.g. An applet, and a swing and a servlet/web app application all running in different VM's will connect to this central connection pool manager and share connection objects to the same DB.
    We are using connection pooling for all of our applications but each application is maintaining its own connection pool and it is becomming a nightmare to manage and configure each one.
    Also, we have to have at a miniumum one connection open per application to access the database regardless of wether we are using connection pool or not. This means that 100 apps(running in different VM's) will use at minimum 100 connections... where all of these 100 apps will do just fine with just 10-15 connections.
    while back we used T3 server but can't find this product on BEA web site any more.
    does jdbc 2.2 or 3.0 have any server side pool management specs outlined?
    Please HELP as we can't afford anymore licensing fees for our company.
    oh.. We can't open and close connections on each query as they will be slow.
    any suggestions greatly appreciated.

    if i understand you question, i don't think this is possible, since the Connection interface (and basically all of the related jdbc interfaces) aren't Serializable.. so they can't be sent over the wire to your client(s).
    However, you could feasibly write some server side connection pool, and some server side facade which will allow clients to submit queries (either SQL String's or however you want to do it - obviously a more elegant solution involves a series of classes which dynamically create sql based on query criteria), then the server can grab a connection, execute the query, cycle through the results and populate some result object of your creation and send that back over the wire to your client(s).
    .

  • Reappears Missing Server Side Dependencies in Sharepoint Foundation 2013 Health Analyzer

    Hi all,
    I am a little bit confused why I am getting missing server side dependencies again and again. The missing server side dependencies shows the errors of "MissingSetupFiles". When I click on "Reanalyze Now" button,
    the error vanishes from the Health Analyzer page. But after one day it reappears again and shows "Missing Server Side Dependencies", When I again click on "Reanalyze Now" the error of "Missing Server Side Dependencies" goes
    away.
    But after one or two days, the error comes up again.
    Can you please help me why this is happening.
    Thanks for help.

    Hi Vishwajeet,
    You are able to use SharePoint Feature Administration from Codeplex to clean up the Missing Features. You can do it by clicking here.
    Also , you  are able to use PowerShell to resolve it. More  detailed information, click here.
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/cc0b3ac7-1eb7-4e5b-9334-8c556e4c8b23/test-spcontentdatabase-errors-in-sharepoint-2010
    http://www.jeffscorner.org/blog/post/SharePoint-2013-%E2%80%93-Missing-server-side-dependencies-%E2%80%93-MissingWebPart-Webpart-class.aspx
    http://www.heyweb.net/2011/08/fixing-missing-server-side-dependencies-missingfeature/
    I hope this helps.
    Thanks,
    Ketak

  • Document creation

    hi guys,
    i have one requirement. I want to upload thousands of technical manuals in to SAP . So what i did is i made one BDC for document creation and uploaded in the system. Now the problem is the doucments created have status create. By BDC i am not able to change the status to in work and released. Without releaseing the document i am not able to use it in equipment master data.
    Can anyone kow how to do the mass change of documents where i can change the status to release from create. Or any other program for this

    Hi,
    Its simple ask the concerned developer to make a modification in the upload program to open in change and set the document status one by one means opened in change make the status Work Request and save than again open in change set the status In Work then again and so on .... unless the status will become released.
    or
    In customization  set the status directly to released at first step.
    Regards,
    EJ

  • Problem inserting records after execution of server side code

    Hello,
    I've created a server-side function for duplicating a master record and it's details. This function has two input parameters that define the new unique key of the master record. Because the user has to supply the new unique key, there is a possibility that the unique key already exists.
    The server-side function is being called from a form module. This form module contains all the code needed for opening / closing and aborting the HSD transaction. The form also enables users to add new master records manually.
    If the server-side function is called from within the module there are two possible outcomes:
    1, the unique key already exists and the HSD error message window is displayed.
    2, the unique key does not exist and the records get duplicated.
    If I try to add a new master record in the form after a failed duplication process, I get a form message informing me that NULL cannot be inserted into the ID column. (The primary key.) BTW updates work just fine. However, if I call the server-side function again and the duplication process is succesfull, I can again insert a new master record in the form succesfully.
    I'm assuming that this problem has something to do with the TAPI package because I use TAPI insert calls to insert the master / detail records when duplicating. A workaround for this problem is (obviously) to check if the supplied unique key already exists in the database before calling the server-side function.
    I however am concerned a bit because a lot of program functionality has been implemented in server-side functions and procedures. So I would like to know if anyone has had the same problems and possibly knows if there is a generic solution to this problem.
    Greetings,
    Marco.

    Marco,
    Can you make a test case for me and send it to me? It looks like we might have a bug and I would like to investigate.
    Regards,
    Lauri
    [email protected]

  • JNI via Server-Side Language

    I'd like to use the following post as a reference: http://72.5.124.102/thread.jspa?threadID=788137&messageID=4479784
    "The DLL will remain loaded between calls, so if you use a global variable to store the connection then it should be ok. "
    Of course this makes logical sense. However, JNI doesn't have a handle from my understanding... JNI looks like this:
    private native void nativeMethodInvoke();
    static {
        System.load(path+dllName) // many alts to this, but yea.
    // somewhere in main thread....
    SelfClass varRefToSelf=new SelfClass();
    // where SelfClass is the current class running.
    // This doesn't make sense to me, considering usage of 'this' - so if anyone can explain that, I would greatly appreciate it.
    varRefToSelf.nativeMethodInvoke();So.... am I supposed to keep a global reference within my class, to itself?!?
    The actual problem is that I'm using a server-side language to invoke Java, and thus C++ via JNI. However, the server-side language is creating a new instance of the JAR upon each invocation. So my plan was to pass a reference to the module handle, and somehow manage to get that back to server-side language, and then furthermore back to Java JNI. Am thinking about moving to a servlet instead, since this doesn't appear to be possible - as unfortunate as that is.
    Would SingleThreadModel work in this case? Or should I have C++ thread itself, so when Java makes a call, I can let C++ handle data by forwarding to correct module in memory? Assuming the above mentioned post is accurate, then the DLL, when loaded by Java, will stay in memory until unloaded. If the jvm is exiting after each server-side invocation, I must assume multiple instances of the dll are being created. So, am thinking this prospect will work... servlets aside...
    Any help is appreciated. I clearly do not understand JNI as well as I should.
    *Edit:
    I have already tried this, and found that C++ DLL's thread is definitely active in memory post-jvm exit. The DLL also appears to be loaded multiple times, as the data I'm dealing with appears to be unique, in that it's not "stepping into itself" and overwriting pointers, or anything.
    Am I going to have to create an instance of my class, via itself, to launch itself in the jvm manually - to keep the reference to dll in memory?
    Although that statement sounds terribly redundant... I believe it's accurate...
    1.) Create instance of class that's called by server-side, launch it under new jvm
    2.) Have orig class return to server-side as normal, and forward any new requests to the jvm-launched "self"; based on detection of class/jvm in memory...
    For being cross-platform "magical", Java sure makes it difficult to perform pretty basic tasks....

    Thanks for the great information jschell, this clears up alot. I'll play around with these new prospects and see if I can get this running properly.
    Also, let me define more what I'm actually doing.
    I'm using Railo, and a CFX "tag" to invoke a JAR. This Jar contains the JNI to execute a DLL's code. This dll's code is merely in place to perform some server tasks - mostly routine file maintenance, and checks to ensure normal operation. Some of this includes db queries. Yes this can be done in Java for the most part, but we plan to use the DLL exports later in a deployment scenario.
    So, "Did you mean it is loading the jar each time?", I do believe so. However, the instances appear to be different. If i were to create a thread within the JNI invoking class, which i have tried by the way, and create a global variable with some value, the second calling of the JAR file reports that it has not been defined yet on class initialization. Additionally, the thread I mentioned also halts, and does not exist within the second calling.
    Let me show some actual code...
    Test.cfm...
    <cfx_mytag Library="myLibrary.dll" task="function1">
    <cfscript>
    ... // do some stuff.
    </cfscript>If I were to alter that to:
    <cfx_mytag Library="myLibrary.dll" task="function1">
    <cfx_mytag Library="myLibrary.dll" task="function2">
    <cfscript>
    ... // do some stuff.
    </cfscript>I found that function2 in the same JAR, loaded via "cfx_mytag", reports inexistance of function1's execution - which registered a value into a global var.
    This is why I must assume that the JAR is being loaded independantly - each time. Correct me if wrong. Perhaps my terminology is off - the class within the jar file is multi-instanced, as far as I can tell. Or rather... Railo is creating mutliple instances of this class - and thus I lose my handle to my dll - every call... Seemingly at least.
    //Java...
    import com.allaire.cfx.*;
    public final class myClass implements CustomTag {
         private Request req;
         private Response res;
            public boolean igetresetoften;
         private native void gogoGadgetDLL();
         public myClass() {
        public void processRequest(Request request,Response response) throws Exception {
             this.req=request;this.res=response;
              if (!this.igetresetoften) {
                     igetresetoften=true;
                     res.write("yea... this is annoying");
                // in actual code - function1() assigns global var.
                // and function2() reports to response buffer the value of the global var , which is constantly false each run.
    }Notice the similarity to a servlet (request/response buffers). I've dealt with servlets, so I know that all requests are threaded.. but the global vars in a servlet are, in fact, ... global. Not in this case, it would seem.
    Thanks again, I'll let you know of my results, late tonight.
    Edited by: jSD7 on Nov 13, 2009 4:20 PM

  • Server-side VPN detection

    I came across an interesting post on server-side VPN detection, and am posting it here since it is of some relevance to Freedome users in this community.
    https://medium.com/@ValdikSS/detecting-vpn-and-its-configuration-and-proxy-users-on-the-server-side-1bcc59742413

    I suspected that was the issue - no way for the local system to know when to route to VPN or local.
    Problem with changing the network ranges is often the client network is not something I control - 'client' offices, wireless hotspots, hotels, etc.
    Changing the server network while not impossible would be difficult as everything from printers, servers, network switches, not to mention how X Server so easily allows changing it's primary IP, are effected.
    I can certain test that this is my only problem by reconfig'g my home setup.
    I'm guessing a simpler and more flexible option in my case is creating a 10.0.2.x (VPN only) network internally adding an alias IPs to my XServe and other servers/boxes I would need to access from VPN (which would dish out 10.0.2 client numbers instad of 10.0.1 numbers). The only tricky part is name resolution, but since I control the DNS server and search names handed to the client, I could create a vpn.ourdomain.com and that could be the primary search domain, where all the records for VPN resources would return their 10.0.2.x. Client systems would/should be referencing resources by short name (hp8150).
    Does that make sense - a VPN network on top the existing server network?
    XServe Dual G4

  • IPad and print subscriptions

    I have a print subscription account to several Magazines that I would like to link to my iPad. Certain magazines require an iTunes previous purchase. Is there a way to add my print subscriptions to my iTunes account? Thanks!!

    Yes, you can create a document (letter) and print it out but printing can only be done wirelessly and only with compatible printers.

  • KB2909210 on Server 2008 R2 breaks my intranet sites and print dialog box

    Let's try this again.  I have been asking the following question of Microsoft and every time I do, I have only been told to try another forum.
    I have several intranet sites that my users use for various data entry and querying purposes.  I installed Internet Explorer 10 onto my 2008 R2 Terminal Server over this past weekend (10/18/2014) which also installed the Security Update KB2909210
    and rebooted the server.  On Monday morning (10/20/2014), when my terminal users logged into the sites, the sites began malfunctioning.  All the dropdown arrows turned into question marks.  Some fields which normally have a small "x"
    on the right-hand side used to erase the data entered in the text field were also displaying as question marks.  The objects still functioned but it was disconcerting to my users.  The update also slowed down these same intranet sites to where it
    began interfering with productivity.  I activated Compatibility View for all intranet sites, but it did not resolve the problem.
    I also found that when my terminal users tried to print a pdf document from the intranet sites, the print dialog box was jumbled and no fields were pre-populated with data like they always are when printing.  I updated to the latest Adobe Reader, but
    the print dialog box remained jumbled. 
    All of my users with stand-alone PCs have IE 10 installed and the intranet sites work fine.  The sites display properly and process quickly, and the print dialog box is not jumbled.  It is only my terminal users who log in from a thin client
    to their profiles on the server and use the IE version installed on the server who have the problem with IE10.  The KB2909210 Update is not installed on, and does not come up as, an update for any of my stand-alone Windows 7 PCs.
    I uninstalled IE 10 from my server, but since this was one of my production servers, I could not restart it until after the plant was shut down for the evening forcing my users to suffer with the slowness for the day.  This morning (10/21/2014) the
    intranet sites are working fine through IE 9.  I also had to revert back to Adobe Reader v9.5 as the v11 (and v10) print dialog box does not display properly in IE 9.
    I do not want to stay on IE 9 on my server as IE9 gets more un-secure by the day and we've found IE 11, on any of our machines, to be too buggy.
    How can I install IE 10 with its security updates and prevent it from breaking my intranet sites and print dialog box?  What is so different about Server 2008 R2 and Windows 7 that IE 10 causes this corruption of intranet sites and the print dialog
    box on the Server but not on the Win 7 machines?
    The bulletin here:
    https://technet.microsoft.com/library/security/ms14-011
    is useless for determining why it breaks my intranet sites. Nor does it explain why the update destroys the print dialog box.

    Hi,
    In my opinion, it's hard to say your problem caused by KB2909210. Have you tried to uninstall this update for test if your intrant site's problem resolved?
    If your problem truthfuly caused by this updates, you can choose to hid the update as a workaround method.
    Roger Lu
    TechNet Community Support

  • Server side creation of pdf files for users

    Im looking for a way for users of my website to save their data as a .pdf file on their hard drive.  I want to be able to do this seemlessly for them on my end and not require them to have a client-side .pdf creator like PrimoPdf of something similar.
    Is there a way to do server-side pdf file creation for my users?
    Thanks!
    PS: This is a Java website and a linux server.

    You could utilize Apche FOP (http://xmlgraphics.apache.org/fop/) project for that purpose.
    In my company we've used that to convert IBM Lotus Notes documents into PDF via some XML/XSL intermediate layer.
    On the other hand - while in theory you could run Acrobat Pro on your server in embedded mode and call that server via some layer even from Java clients - I think that is not allowed by Adobe Acrobat Pro license. If you could run it embedded on your server - then you could try to prepare your specific plugins for it with Acrobat SDK and then you'll achieve what you need in required PDF creation.

Maybe you are looking for

  • How to change style property in runtime

    Hallo. I have this style tag in my main application: <fx:Style>      @namespace s "library://ns.adobe.com/flex/spark";      @namespace mx "library://ns.adobe.com/flex/halo";      @font-face {      src: url("../caratteri/MyriadPro-Bold.otf");      fon

  • How to access %programfiles% environment variable in XML

    Hi I am trying to install BEA JRockit 1.4.2 JVM silently and I need help in modifying the silent.xml file. Typically, in batch files, one would use the environment variable %programfiles% to install to the system's program files directory. However I

  • Declare variable as final

    JComboBox bookmarkList; String[] bookmarks = EmployeeEdit2.getBookmarks(); bookmarkList = new JComboBox(bookmarks); bookmarkList.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { String selection = bookmarkList.get

  • G3 iMac 500hz make it wireless

    hello as you can see i have a Snow G3 iMac 500mhz , AEBS and powerbook g4 aluminium. I am having to move my imac to another room in the house and would like it to become wireless, but i dont have a standard airport card for it nor does apple sell thi

  • Keyboard shortcut not working - nonbreaking hyphen - help

    Does anyone know how to fix this problem? I can't get the keyboard shortcut for nonbreaking hyphen to work. I can get the nonbreaking hyphen to insert if I insert it via the type menu but menus are such time wasters. I have even tried to make a new a