Is it possible to insert a PDF file into a PostScript file?

I am the developer of several DB/400 to PostScript drivers for a specialty packaging print company.
I would like to insert, size, and position, component files (graphics) that exist as PDF files without converting them to EPS files first.
Are there any PostScript commands/examples that demonstrate this ability, similar to pdfmark for inserting html and javascript actions into a PostScript stream?

Dov,
Yes, this would be an input component of our workflow.
Right now the conversions are handled manually, usually through the use of Illustrator, mostly because the incoming pdf's have not been uniform or included several graphic components that needed to be controlled separately, or were "sloppy". Recently however, a situation has developed where a 3rd party is providing discrete, uniform pdf files for multiple clients that we will need to input efficiently into our system.
What I envision after your response of the impossibility of wrapping a PDF inside a PostScript stream is as follows:
- Normally, 100's of pdf's arriving from the 3rd party would be dropped into a "hot" folder for batch processing.
- A client "key" would trigger the hot folder application to act on the pdf's, prepending the client key to each file name.
- Batch processing would then accomplish the pdf to eps conversion.
- The eps files would be scanned for indexing data such as color information and bounding box, and, if necessary, color remapping could be done here too.
- The eps files would then be moved to our eps library and the indexing data would be added to the eps library database.
The only thing we aren't doing right now is the automated prepending of the client "key" and the pdf to eps conversion. At least in the short term I plan to see about the viability of converting the pdf's to eps using a batch action in Illustrator. I know I can write the "key" prepending code, as well as the eps parsing/color editing code.
Thanks,
Marvin

Similar Messages

  • How to create a table with datatype blob and insert a pdf file (ravi)

    how to create a table with datatype blob and insert a pdf file,
    give me the explain asap
    1.create the table?
    2.insert the pdffiles into tables?
    3.how to view the files?
    Thanks & Regards
    ravikumar.k
    Edited by: 895044 on Dec 5, 2011 2:55 AM

    895044 wrote:
    how to create a table with datatype blob and insert a pdf file,
    give me the explain asapPerhaps you should read...
    {message:id=9360002}
    especially point 2.
    We're not just sitting here waiting to answer your question as quickly as possible for you.

  • Insert a pdf file in the SAP SCRIPT

    Hi Experts,
    could u tell me is it possible to <b>insert a pdf file in SAP script</b> if so please let me know  thanks in advance

    Hi Prabu,
    you can use the pdf viewer or any other (freeware) pdf installed on your client (PC) for display. There is no way to display a pdf inside the smartform.
    Regards,
    Clemens

  • Is it possible to insert a PDF directly(ie from Share Point) to email (Outlook) without saving it?

    Is it possible to insert a PDF directly(ie from Share Point) to email (Outlook) without saving it?
    I open several docs on Sharepoint that I need to send out immediately and waste a lot of time saving it to my computer and than opening an email and attaching it and than deleting the file bc I don't need it - its already on Sharepoint where I can access it. 

    I have the exact same problem.  I used to could do it without saving until I upgraded to a new version.  I cannot figure out how to send it without saving.

  • Error while trying to Insert a pdf file in database

    Hi All,
    I have sent this problem to Informix. By any chance if you had faced the same problem and found the solution, pls send mail to [email protected]
    Thanks
    Babu
    Hi there,
    I tried to insert a pdf file in to Informix database. I followed the guidelines
    given in the "InformixJDBC Driver
    Programmer's Guide". Actually my program works if i use
    PreparedStatement.setBytes method. But why
    PreparedStatement.setBinaryStream method is not working????.
    Here is the code snippet.....
    Connection conn = null;
    PreparedStatement ps = null;
    try
    File ff = new File("C:\\test.pdf");
    InputStream value = null;
    FileInputStream fileinp = new FileInputStream(ff);
    value = (InputStream) value;
    int len = (int) ff.length();
    System.out.println("len: " + len);
    conn = connect();
    String sql = "INSERT INTO dbep04m@inf10004:pg_wip_t (c_db,n_object,u_img) VALUES (\"2\",?,?)";
    if (conn != null)
    long stTime = System.currentTimeMillis();
    ps = conn.prepareStatement(sql);
    for (int ii=1;ii<=10000;ii++)
    ps.setInt(1,ii);
    ps.setBinaryStream(2,value,len);
    int rtVal = ps.executeUpdate();
    //System.out.println("return value" + rtVal);
    ps.close();
    conn.close();
    long endTime = System.currentTimeMillis();
    System.out.println("Total time taken for this run: " + (endTime-stTime)/(1000) + " seconds");
    catch (FileNotFoundException ex)
    ex.printStackTrace();
    catch (IOException ex)
    ex.printStackTrace();
    catch (SQLException ex)
    ex.printStackTrace();
    finally
    try
    if (ps != null)
    ps.close();
    if (conn != null)
    conn.close();
    catch (SQLException ex)
    ex.printStackTrace();
    I am getting the following error message.......
    java.sql.SQLException: Insufficient Blob data
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java)
    at com.informix.jdbc.IfxSqli.sendStreamBlob(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendBlob(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendBind(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendExecute(IfxSqli.java)
    at com.informix.jdbc.IfxSqli.sendCommand(IfxSqli.java)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java)
    at com.informix.jdbc.IfxResultSet.executeUpdate(IfxResultSet.java)
    at com.informix.jdbc.IfxStatement.executeUpdateImpl(IfxStatement.java)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java)
    at com.aexp.eaim.iu.isp.testcase.InsertBlob.insertUsingSql(InsertBlob.java, Compiled Code)
    at com.aexp.eaim.iu.isp.testcase.InsertBlob.main(InsertBlob.java:194)
    Here is the example given in the "Informix JDBC Driver Programmer's Guide". In the line maked bold, the blob size was hard coded as 10. Then
    why you are trying to find the file length???.
    try
    stmt = conn.createStatement();
    stmt.executeUpdate("create table tab1(col1 byte)");
    catch ( SQLException e)
    System.out.println("Failed to create table ..." + e.getMessage());
    System.out.println("Trying to insert data using Prepare Statement ...");
    try
    pstmt = conn.prepareStatement("insert into tab1 values (?)");
    catch (SQLException e)
    System.out.println("Failed to Insert into tab:" + e.toString());
    File file = new File("data.dat");
    int fileLength = (int) file.length();
    InputStream value = null;
    FileInputStream fileinp = null;
    int row = 0;
    String str = null;
    int rc = 0;
    ResultSet rs = null;
    System.out.println("Inserting data ...\n");
    try
    fileinp = new FileInputStream(file);
    value = (InputStream)fileinp;
    catch (Exception e) {}
    try
    pstmt.setBinaryStream(1,value,10); //set 1st column
    catch (SQLException e)
    System.out.println("Unable to set parameter");
    set_execute();
    public static void set_execute()
    try
    pstmt.executeUpdate();
    catch (SQLException e)
    System.out.println("Failed to Insert into tab:" + e.toString());
    e.printStackTrace();
    Best Regards
    Babu

    sorry!!!. There is an error in the code
    old code :
    value = (InputStream) value ;
    should be code :
    value = (InputStream) fileinp;

  • How to insert a pdf file in an outgoing email

    Looking for assistance, on how do you insert a pdf file in an outgoing email on iphone5, I have adobe and dropbox I can open a pdf file and send it from their respective apps but when I create a new email or reply or forward I want to be able to go get the pdf file and attach it to the email. Have not been able to find how to do this.
    Regards,
    Frank

    Thanks for responding. For my work I have manuals, certifications or other regulatory docs that I have uploaded either to dropbox or adobe reader apps on my phone because I travel I find more often that I get request for these documents on an email chain and need to add a pdf to it. It seems I have to start a new email from the app the pdf is in as you stated. This defeats the purpose of responding or forwarding. very frustrating and not very professional. Is their an app out there that may help with this situation.

  • How to insert a pdf file from a dynamic location into a table

    Hi friends
    Can any one please let me know how to insert a pdf file into a table from a dynamic location in server.
    suppose say i have a table CUST_BLOB(file_name, file_data). I have a file in directory c:\local having file_name test.pdf
    I want to insert this file in CUST_BLOB. Please help me.
    Thanks in advance.
    --Ahmed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    user620950 wrote:
    Hi friends
    Can any one please let me know how to insert a pdf file into a table from a dynamic location in server. Why dynamic locations on the server?
    Make it a business case that the files should be stored in specific location(s).
    Oracle uses directory objects to point to locations on the file system and, whilst these locations can be altered, it is better practice to set up specific locations and grant permission to the correct users for those locations so that there is full control over who is accessing what on the server. Whilst filenames may be dynamic, I wouldn't recommend using dynamic locations.

  • How do I insert a PDF file in muse

    How do I insert a PDF file in muse

    What do you intend?
    • A PDF file to show it within the layout just like a picture? This will not work. You have to convert it into a JPG or a PNG.
    • A PDF file to show it in a browser window or to download it? Use the "file/add files for upload" command and place a link to it by the "hyperlinks" command in the toolbar.

  • It's possible to sign a PDF file with ABAP????

    Hi all.
    I'm trying to sign PDF file with SAPCRYPTOLIB. I'm 4.7 sap version.
    It's possible to do this?????....
    My question is because I've done all steps to sign a pdf, without errors, and the pdf generated is not signed.
    Can anybody to say me if it's possible to sign a pdf file with ABAP???
    thanks a lot.
    ISmael

    Here: [SAP Interactive Forms by Adobe|SAP Interactive Forms by Adobe;
    Also, please read the forum rules of engagement, it explains to use the forums.

  • How to insert a PDF document into a Word file?

    I'm using Acrobat Standard 9 and Microsoft Word 2010 and I'm unable to insert a PDF document into a Word file. Operating system is Windows 7 Enterprize. Can someone help?

    Thanks for the reply, Bill. 
    Yes, let me elaborate further:
    I have a four page document in WORD with instructions. Examples of the instructions are in PDF files. I want to insert each PDF example next to or below each line item in WORD.The PDF will open when clicking on the icon without having a hyperlink attached to it.  

  • Cant insert a pdf file in outlook email

    Outlook freezes when I try to insert a pdf file in an email; no problem inserting any other type file.

    And how do you "insert" a PDF file?  How about attaching it?

  • HT3529 How do I insert a pdf file into my message?

    How do I insert a pdf file into my message? please help!

    thank you James! I suspected that this could be the solution, but i am new to iPads and it is a pain to find a file on iPad in order to do this operation, in windows there is windows explorer and i cannot see anything like that on iPad.. any hints would be appreciated!

  • Receiving error  message while trying to insert a pdf file into a Word document

    Error while trying to insert a pdf file as object into a word documnet , error: "The program used to create this object is AcroExch. That program is either not installed on your computer or it is not responding.

    Try disabling Protected Mode in Adobe Reader [Edit | Preferences | Security (Enhanced)].

  • I cannot insert a pdf object into word 2010 (64 bit).

    I've tried to insert a pdf file (acrobat 11 pro installed) into word 2010 (64 bit) and get a message along the lines of:
    "the program used to create this object is acrobat. That program is either not installed on your computer or it is not responding. To edit this object, install Acrobat or ensure that any dialog boxes in Acrobat are closed."
    Acrobat 11 Pro is installed and works fine for everything else.
    I've never had a problem with this before.
    Any help would be greatly appreciated.
    I've already tried to repair acrobat and I've uninstalled and reinstalled it but makes no difference.
    (problem also applied to excel and word pad)

    I am having this same issue.  Has it been solved yet?

  • IMac. Adobe Acrobat Pro 8.3.1. Since I installed Yosemite, cannot insert a pdf document into a pdf document. What's my upgrade?

    I have an iMac with Yosemite. I have Adobe Acrobat Pro van 8.3.1.
    I am unable to insert a pdf document into a  pdf document. I go to Document/Insert in the menu bar, get a spinning ball, can do nothing with the app except force-quit.
    What's my upgrade? I cannot find one. Do I have to pay full price for a version that will work?

    Your version of Acrobat is quite old and not compatible with any current OS, so problems are to be expected. It is too old to qualify for an upgrade as well, so if you want the current version (XI) then you need to purchase a new license, which you can do via the Adobe Products Page.

Maybe you are looking for