Printing external files

Is it possible to have a button in a flash movie and have it
print a pdf?

Hi Dan,
If you are working with a PC Projector file, then yes please
read this
http://www.flashjester.com/?section=faq&cPath=28_41#352
Hope this helps.
Regards
FlashJester Support Team
e. - [email protected]
w. - www.flashjester.com
"This has been one of the most impressive and thoroughly
pleasant
experiences of customer support I have ever come across -
astounding!"
Director - hedgeapple

Similar Messages

  • How to print external file using ABAP program

    Hello
    I want to print an external file which is located in server (
    20.99.0.18\GUI\xyz\8.0QUALITY\QM_TS.DOC) .....i want to print these kind of files(which i have retrieved from table 'DRAW' field 'filep' )......i need to print these files using ABAP program.
    thank you
    Vikram.
    Message was edited by:
            Vikram Bojja

    extract the data and pass to script or smartform for printing

  • Can a pdf link to an external file

    ... so changing the original file changes the pdf?
    I've got a dinner riding on this. My co-worker says don't change that Illustrator .eps file - all our pdfs are linked to it! You'll  mess them up!
    I say - what? no way...  pdf's aren't linked to external .eps  files (that we imported into Quark and made pdf's) They are standalone docs. I did a test and can't replicate what he says. Using high-res print pdfs.
    What you say?  Am I buying dinner?

    Thanks for the input guys.
    I've been making pdf's well over 10 years but use only a narrow set of pdf types. I know there is a range of options and things you can do with pdf's that I've never done. This co-worker is actually my boss and he's adamant this has happened to him, pissed that I'm doubting him and won't let me improve a workflow system because of it.
    Maybe there is (or was in the past) some type of pdf that can link to an external file and can be changed by revising the external file?

  • Creating a button to print a file in a flash exe menu

    What is the actionscript to assign to a button in order to
    open a file/document that will be included on the same cd rom as my
    flash EXE interface?
    Any help would be appreciated.
    Not looking for third party solutions just the scripting
    required for the flash exe to locate the file from the cdrom and
    print to the users printer.
    Thanks!
    Meg

    This is an intersting challenge. The Javascript API certainly has the ability to change image mapping on the 3D objects. I doubt if this can be accomplished strictly through scripting, because Javascript is limited by nature to NOT allow file I/O. This is intentional, to prevent security exposures.
    Maybe someone else would know how to load external files? If so, these images could be applied to the 3D models with Javascript.

  • Cannot print PDF files on Mac OS X

    Hi,
    since some update from Reader 8.1 to 8.1.2 I cannot print PDF files anymore. Meanwhile I installed Reader 9, but with no luck.
    If I crank up the preferences I get the error "Failed to load an application resource (internal error)." ... maybe there is something wrong with the installation, but even an reinstall doesnt fix it.
    If I try to print I get only the message "The document could not be printed" and then "There were no pages selected to print." ... no matter what PDF I try to print.
    The Apple Preview works without any problems, so the PDFs should be good.
    Can anyone help me on this ... its really frustrating.
    Best Regards
    --Michael

    I had this same problem. I did a clean install of OS X 10.5.6 to an USB hard drive, installed Adobe Reader 9, and tried printing. It worked fine. Then I cloned the external drive back onto the internal drive and it failed with the same no pages selected problem.
    It turns out that my filesystem on my internal hard drive is case sensitive, but the external hard drive had the default case-insensitive file system.
    To fix, do this:
    Go get yourself an external firewire or usb hard drive at least as big as your internal drive. Plug it in and use Disk Utility.app (under /Applications/Utilities) to Erase it and format it as "Mac OS Extended (Journaled)". The download CarbonCopyCloaner, a free utility that can copy an entire drive. Use CCC to clone your Macintosh HD to the external drive.
    Now that you have a backup drive, go to System Preferences and choose Startup Disk. Pick the external drive as the the startup drive. Reboot and check that your printing works properly now.
    If that fixed your problem, while you are booted from the external drive, use Disk Utility to erase Macintosh HD and format it as "Mac OS Extended (Journaled)" not "Mac OS Extended (Journaled) case-sensitive". Then use CCC to copy everything back. Reboot.

  • Action to print a file without opening it

    Hi. I'm using Action Script 2. I'm creating a CD ROM that
    launches external files such as PDF's, PowerPoint and Word
    Documents. My client has asked that when a user clicks on an icon
    to launch a file, that a dialogue appears for the user to either
    open the file or just print without opening. Is there a script out
    there to tell the flash player to communicate with the file and
    instruct it print, without opening?
    Any help on this greatly appreciated.
    Thanks

    Hi
    Yes you can by using FlashJester JStart with the /print
    command read this
    http://www.flashjester.com/?section=faq&cPath=28_41#352
    Download a FREE evaluation copy from
    http://jstart.flashjester.com
    and try it yourself.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • For loop not working & way to include an external file

    Hi everyone, i am new to java and am having some problems with my program.
    I have a for loop but it doesnt work it completely gets ignored and i have
    no idea why it does that.
    IS there a way that i add another option in the menu to open an external file
    which would be similar to this but it would be for cabinBooking. If so how do
    i do that. if opening an external file is impossible then could you please show me an example of how to extend the booking class.
    Any help would be appreciated.
    Thank you very much
    import java.util.Scanner;
    import java.io.*;
    public class Booking{
    Booking(String bId,     String bName,int bNum){
    bookId = bId;
    bookName = bName;
    bookNum     = bNum;
    String bookId;
    String bookName;
    int     bookNum;
    public double calculateBookingPrice(){
    double cost     = bookNum *     genBookingcost;
    return cost;
    double genBookingcost =     80;
    public void     summary(){
         System.out.println();
    System.out.println("Booking Number is: " + bookId + ", ");
    System.out.println("Booking Made for : " + bookName);
    System.out.println("Cost of booking = $" + calculateBookingPrice());
    System.out.println();
    public static void main(String[] args) throws IOException{
    Scanner     keyboard = new Scanner(System.in);
    BufferedReader charInput = new BufferedReader
    (new InputStreamReader (System.in));
    int bookCount = 0;
    char answer;
    Booking[] bookings = new Booking[6];
    do {
         menu();
         System.out.println("book Count = " + bookCount);
         answer = charInput.readLine().charAt(0);
                   if (answer == 'a' || answer == 'A'){
                        System.out.println("Booking     ID : ");
              String idstring     = keyboard.nextLine();
              System.out.println("Booking     Name : ");
              String namestring =     keyboard.nextLine();
              System.out.println("number of people : ");
              int     ppl     = keyboard.nextInt();
              bookings[bookCount] = new Booking(idstring,namestring,ppl);
              bookings[bookCount].summary();
                        bookCount++;
                   }else if (answer == 'b' || answer == 'B'){
                        System.out.println("Enter printing");
                        bookings[0].summary();
                        bookings[1].summary();
                        // this is the loop that it is ignoring GGRRRR!!!
                   for(int i = 0; i >= bookCount; i++){
                        System.out.println("Counter: " + i);
                        bookings.summary();
                   }else if (answer == 'x' || answer == 'X'){
                        System.out.println("Exiting the programme...");
    System.out.println();
    System.exit(0);
    }while (answer != 'x' || answer != 'X');
    public static void menu(){
         System.out.println("********** Main Menu ***********");
              System.out.println(" A. Make General Booking");
              System.out.println(" B. Print Summary");
              System.out.println(" X. Exit program");
              System.out.println("*****************************");
              System.out.println("Select one of the options above");

    in order to extend the Booking class, you can create anew class like this..
    public class CabinBooking extends Booking
       public CabinBooking( /*String bId, String bName,int bNum .. more args or fewer, or none.. */)
        // add new methods or override ones from Booking
    }

  • Problems deleting a string from an external file.

    hi!
    I am working on a program but am having problems deleting a string of information from an external file. The code I have managed to do only seems to be deleting the surname. The rest of the string remains and the Surname from the string bellow the one that should have been deleted moves to where the surname that was just deleated was.
    this is the code snippet that should be deleting the string:
              System.out.print("Please enter the last name of the contact: ");
              last_name = dataInput.next();
              int z = 0;
              for (int i=0; i < number_of_records; i++)
                        if ((last_name.compareTo(lastName)) < i && (last_name.compareTo(lastName[i]) > i))
                                  z = i;
              for (int i = z; i < number_of_records; i++)
                        lastName[i] = lastName[i+1];
    Anyone got any ideas why its not deleting the whole string?
    the extrenal file is set out like:
    surname,,first name,,phone number

    I don't think you have given enough information to answer this question completely; however, here is my guess:
    The code that appears to be doing the "deleting"
    for (int i = z; i < number_of_records; i++)
        lastName[i] = lastName[i+1];
    }is only acting upon the lastName array.

  • 10.3.9 lost ability to print, save files

    I was using Illustrator CS2 the other day, then tried to print the file, but got a message "Can't print the illustration." Restarted Illustrator then got a message the essentially said "There is a serious problem, please reinstall the application." Tried to reinstall, but immediately there is a message saying "Can't install the software. A file is missing." The installer runs but at the end of the process it says the install failed, please try again.
    I'd be posting this on the Adobe forums, but I later tried to save a file used daily from NeoOffice 2.2 and it gives a "Write Error, can't save the file" message. I can't save anything, even "Save As", anywhere, even on external drives.
    Next I tried to print a file and can no longer print to any of three printers, or Acrobat to make a PDF. Message is "Error while printing." This is true with all apps I've tried, including email.
    I don't have a very recent backup of the operating system to restore from, but I may try one from about a year ago. Or, is it better to use Restore Disks for 10.3 and do all the upgrades?
    Any ideas what might have happened?
    Thanks in advance!

    You may have some directory corruption. Have you done any maintenance? Repaired permissions? Booted from your system disc & run Disk Utility First Aid?
    Boot in Safe Mode. See What is Safe Boot, Safe Mode? (Mac OS X)
    http://docs.info.apple.com/article.html?artnum=107392
    Takes a while to run, but it usually "fixes" problems.
     Cheers, Tom

  • External file writing woes!

    so i have my code that reads from an external file brilliantly, but then the problems tart when i try to write to the file.
    option 2 on the menu works fully, and doesadd data to the file, but itis not adding it to the end of the records like it should. instead it is adding it after the first record, then shifting the surnames ofthe records below it.
    import java.util.*;
    import java.io.PrintStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    public class contacts
        private static final int MAX_RECORDS = 20;
        private static String lastName[] = new String[MAX_RECORDS];
        private static String firstName[] = new String[MAX_RECORDS];
        private static String telNumber[] = new String[MAX_RECORDS];
        private static String emailAddress[] = new String[MAX_RECORDS];
        private static Scanner data_input = new Scanner(System.in);
        public static int read_in_file(String file_name)
            Scanner read_in;
            Scanner line;
            int record_count = 0;
            String record;
            try
                read_in = new Scanner(new File(file_name));
                // read in one line at a time
                read_in.useDelimiter(System.getProperty("line.separator"));
                while (read_in.hasNext())
                    // Test to see if there are too many records in the file
                    if (record_count == MAX_RECORDS)
                        System.out.printf("Only %d records allowed in file", MAX_RECORDS);
                        System.exit(0);
                    // read in record
                    record = new String(read_in.next());
                    // Split the record up into its fields and store in
                    // appropriate arrays
                    line = new Scanner(record);
                    line.useDelimiter("\\s*,,\\s*");
                    lastName[record_count] = line.next();
                    firstName[record_count] = line.next();
                    telNumber[record_count] = line.next();
                    emailAddress[record_count] = line.next();
                    // Increment record count
                    record_count++;
            catch (FileNotFoundException e)
                e.printStackTrace();
            return record_count;
        public static void write_out_file(int no_of_records, String filename)
            PrintStream write_out;
            int counter;
            try
                // Create new file
                write_out = new PrintStream(new File(filename));
                // Output all reacords
                for(counter = 0; counter < no_of_records; counter++)
                    // Output a record
                    write_out.print(lastName[counter]);
                    write_out.print(",,");
                    write_out.print(firstName[counter]);
                    write_out.print(",,");
                    write_out.print(telNumber[counter]);
                    write_out.print(",,");
                    write_out.println(emailAddress[counter]);
                // Close file
                write_out.close();
            catch (FileNotFoundException e)
                e.printStackTrace();
        // Your 'Methods' go here
        public static void display_all()
              for (int d = 0; d < 20; d++)
                        if (lastName[d] != null)
                             System.out.printf("%n%s%n",      lastName[d]          );
                             System.out.printf("%s%n",      firstName[d]          );
                             System.out.printf("%s%n",      telNumber[d]          );
                             System.out.printf("%s%n",      emailAddress[d]          );
        public static void main(String[] args)
            // Declare Variables
            int user_choice;
            boolean quit = false;
            Scanner dataInput = new Scanner(System.in);
            int number_of_records, records, n, sort;
            String filename, first_name, last_name, enter, tel_num, email_addr;
            // Get filename and read in file
            System.out.print("Enter the masterfile file name: ");
            filename = data_input.next();
            number_of_records = read_in_file(filename);
            // Your 'main' code goes here
            //display menu
            do
            System.out.printf("%n%nMenu%n%n");
            System.out.println("1. Search records (use * to list all)");
            System.out.println("2. Insert record");
            System.out.println("3. Delete record");
            System.out.println("4. Quit with saving");
            System.out.println("5. Quit without saving");
            //get users choice
            user_choice = data_input.nextInt();
            //process choice
            switch(user_choice)
                case 1:
                             System.out.print("Please Enter Last Name: ");
                             last_name = dataInput.next();
                             System.out.print("Do You with to Enter First Name? (Y/N): ");
                             enter = dataInput.next();
                             if (enter.equalsIgnoreCase("N"))
                                  for (int i = 0; i < number_of_records; i++)
                                       if (last_name.compareTo(lastName) == 0)
                                            //Arrays.sort(lastName[i]);
                                            System.out.printf("%n%s%n",      lastName[i]          );
                                            System.out.printf("%s%n",      firstName[i]          );
                                            System.out.printf("%s%n",      telNumber[i]          );
                                            System.out.printf("%s%n",      emailAddress[i]          );
                             if (enter.equalsIgnoreCase("Y"))
                                  System.out.print("Please Enter First Name: ");
                                  first_name = dataInput.next();
                                  for (int i = 0; i < number_of_records; i++)
                                       if ((last_name.compareTo(lastName[i]) == 0) && (first_name.compareTo(firstName[i]) == 0))
                                            System.out.printf("%n%s%n",      lastName[i]          );
                                            System.out.printf("%s%n",      firstName[i]          );
                                            System.out.printf("%s%n",      telNumber[i]          );
                                            System.out.printf("%s%n",      emailAddress[i]          );
                             if (last_name.compareTo("*") == 0)
                                  for (int i = 0; i < number_of_records; i++)
                                       //There cannot be more then a 20 data records in the file
                                       if (lastName[i] != last_name)
                                            System.out.printf("%n%s%n",      lastName[i]          );
                                            System.out.printf("%s%n",      firstName[i]          );
                                            System.out.printf("%s%n",      telNumber[i]          );
                                            System.out.printf("%s%n",      emailAddress[i]          );
    break;
    case 2:
    System.out.print("Please enter the last name of the contact: ");
    last_name = dataInput.next();
    System.out.print("Please enter the first name of the contact: ");
    first_name = dataInput.next();
    System.out.print("Please enter the telephone number of the contact: ");
    tel_num = dataInput.next();
    System.out.print("Please enter the email address of the contact: ");
    email_addr = dataInput.next();
    int z = 0;
    for (int i=0; i < number_of_records; i++)
    if ((last_name.compareTo(lastName[i])) < i && (last_name.compareTo(lastName[i]) > i))
    z = i;
    for (int i = number_of_records; i > z; i--)
    lastName[i] = lastName[i-1];
    lastName[z+1] = last_name;
    firstName[z+1] = first_name;
    telNumber[z+1] = tel_num;
    emailAddress[z+1] = email_addr;
    break;
    case 3:
                             System.out.print("Please enter the last name of the contact: ");
                             last_name = dataInput.next();
                             int z = 0;
                             for (int i=0; i < number_of_records; i++)
                                  if ((last_name.compareTo(lastName[i])) < i && (last_name.compareTo(lastName[i]) > i))
                                       z = i;
                             for (int i = z; i < number_of_records; i++)
                                  lastName[i] = lastName[i+1];
                             //lastName[z-1] = lastName[i];
                             //firstName[z-1] = firstName[i];
                             //telNumber[z-1] = telNumber[i];
                             //emailAddress[z-1] = emailAddress[i];
                             // Get new filename and write out the file
                             System.out.print("Please Enter New Masterfile File Name: ");
                             filename = dataInput.next();
                             write_out_file(number_of_records, filename);
                             System.out.print("File Save In Progress. Please Wait...");
                             for (int r = 0; r < 35000000; ++ r) System.currentTimeMillis ();
                                  System.out.print("..");
                             for (int r = 1000000; r < 10000000; ++ r) System.currentTimeMillis ();
                                  System.out.print("............");
                             System.out.printf("%nGoodbye!");
    break;
    case 4:
                             // Get new filename and write out the file
                             System.out.print("Please Enter New Masterfile File Name: ");
                             filename = dataInput.next();
                             write_out_file(number_of_records, filename);
                             System.out.print("File Save In Progress. Please Wait...");
                             for (int r = 0; r < 35000000; ++ r) System.currentTimeMillis ();
                                  System.out.print("..");
                             for (int r = 1000000; r < 10000000; ++ r) System.currentTimeMillis ();
                                  System.out.print("............");
                             System.out.printf("%nGoodbye!");
    break;
    case 5:
    quit = true;
    break;
    default:
    System.out.println("Invalid menu choice, please try again");
    } while(!quit);
    any insight as to what the problem is, and how to fix it?
    thanks in advance

    for now im just looking for the solution to the
    problem i stated. after i have the code working, i
    will work on tidying it up.No. You are still not understanding something very fundamental here.
    The code is bad design. It will be diificult to make work BECAUSE it is
    a bad design. A better OO based approach would result in code that is
    cleaner and easier to make work.
    Nobody in their right mind is going to "help you" (aka rewrite entirely)
    somebody else's terrible design. What is the point of that? None. The
    fastest way for you to get code that is working is to start with better
    thought out code. You can read the thread you copied this code from to
    get some ideas of why this code is bad.
    Or you can start with some tutorials.
    Nobody cares if this is for school, work, fun, whatever. You need to do
    your thinking on your own. If you are incapable of putting the effort in
    then you need to reconsider your options. Perhaps paying somebody
    to write code for you is a better solution.

  • Changing the order for printing portfolio files in adobe acrobat 9 pro

    Does anyone know how to change the order for printing pdf files that are part of a portfolio in adobe acrobat 9 pro?  The documentation seems to say that it prints files alphabetically by filename rather than by the internal sort order.  This won't work for me. Any ideas? Thanks.

    Question1: No.
    Question2: No.

  • Unable to print to file in adobe acrobat 9 pro, windows 7 OS

    ok, so i've been having this problem since 16/1/2012. I download a pdf file from online, open it and attempted to combine multiple slides into 1 slide like below:
    my printer cannot print duplex so i have to combine multiple slides to 1 in order to print that way. anyways, i always select the option of "Adobe PDF" under the "Printer" box. I don't change anything else. I am then prompted to save the file as below:
    so after that i click "Save" and they gave me this warning message.
    in case you cannot see what's written in the dialogue box, here's what it says:
    When you create a PostScript file, you must rely on system fonts and use document fonts.
    Please go to printer properties, "Adobe PDF Settings" page and turn OFF the option "Rely on system fonts only; do not use document fonts."
    I click "Ok" and another message appears:
    I click "OK" and then another message appears:
    So i clicked "OK" again and then nothing happens. After I followed the instructions to rely on system fonts, I tried doing it agian and everything seems ok. Flattening document etc like below:
    and when it has finished, nothing happens. No new pdf window pops up (like what it usually does). So I went to check the folder where I stored the file. This was what i saw:
    it turns out the file I just saved have no Adobe pdf icon appearing next to it. Instead, its document type is merely "File". When I tried opening it with Adobe reader, I got another dialogue box as below:
    The dialogue box's text is as follows:
    Acrobat could not open [file name] because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF.
    I do not know why the file is supposedly corrupted because it works well on other computers and it can be printed as well. Does anyone know how I can solve this problem? It's really urgent and I desperately need to print my PDF files for my lessons and exams (I'm a student). It was uploaded on my school's website and PDF is the only available format. This is the first time it has happened and I am getting really frustrated. And it is not only for this 1 file. Since the 16th, EVERY pdf file i've opened has encountered this problem. Which is why I need to know how to solve this. Thank you in advance.
    Would appreciate it if someone can help answer this question. Admins or otherwise.
    Additional info: Laptop is Toshiba Portege m900. Windows 7 OS.32-bit operating system. Singapore-based.

    Dear user,
    You are getting such output because you have checked ON the setting 'Print to file' in one of your previous prints. For resolving this issue, kindly uncheck option 'Print to file' present in bottom left corner of print dialog and then click on 'Print' (See attached image for reference).
    Hope this will solve your problem.
    Thanks
    sonal

  • My printer starts out printing PDF files in english and switches to random characters​.

    Hp officejet 6310 ALl in one printer.  WHen printing PDF files, the part or all of the first page prints out in english and the balance is random characters.  What is going wrong.

    The troubleshooting steps here may help resolve the issue.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Reading the Blob and writing it to an external file in an xml tree format

    Hi,
    We have a table by name clarity_response_log and content of the column(Response_file) is BLOB and we have xml file or xml content in that column. Most probably the column or table may be having more than 5 records and hence we need to read the corresponding blob content and write to an external file.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
      DATE_UPDATED   VARCHAR2(20 BYTE)              DEFAULT SYSDATE
    )The xml content in the insert statement is very small because of some reason and cannot be made public and indeed we have a very big xml file stored in the BLOB column or Response_File column
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (5, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (6, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (7, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (8, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (9, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');THe corresponding proc for reading the data and writing the data to an external file goes something like this
    SET serveroutput ON
    DECLARE
       vstart     NUMBER             := 1;
       bytelen    NUMBER             := 32000;
       len        NUMBER;
       my_vr      RAW (32000);
       x          NUMBER;
       l_output   UTL_FILE.FILE_TYPE;
    BEGIN
    -- define output directory
       l_output :=
          UTL_FILE.FOPEN ('CWFSTORE_RESPONCE_XML', 'extract500.txt', 'wb', 32760);
       vstart := 1;
       bytelen := 32000;
    ---get the Blob locator
       FOR rec IN (SELECT response_file vblob
                     FROM clarity_response_log
                    WHERE TRUNC (date_crated) = TRUNC (SYSDATE - 1))
       LOOP
    --get length of the blob
    len := DBMS_LOB.getlength (rec.vblob);
          DBMS_OUTPUT.PUT_LINE (len);
          x := len;
    ---- If small enough for a single write
    IF len < 32760
          THEN
             UTL_FILE.put_raw (l_output, rec.vblob);
             UTL_FILE.FFLUSH (l_output);
          ELSE  
    -------- write in pieces
             vstart := 1;
             WHILE vstart < len AND bytelen > 0
             LOOP
                DBMS_LOB.READ (rec.vblob, bytelen, vstart, my_vr);
                UTL_FILE.put_raw (l_output, my_vr);
                UTL_FILE.FFLUSH (l_output);
    ---------------- set the start position for the next cut
                vstart := vstart + bytelen;
    ---------- set the end position if less than 32000 bytes
                x := x - bytelen;
                IF x < 32000
                THEN
                   bytelen := x;
                END IF;
                UTL_FILE.NEW_LINE (l_output);
             END LOOP;
    ----------------- --- UTL_FILE.NEW_LINE(l_output);
          END IF;
       END LOOP;
       UTL_FILE.FCLOSE (l_output);
    END;The above code works well and all the records or xml contents are being written simultaneously adjacent to each other but we each records must be written to a new line or there must be a line gap or a blank line between any two records
    the code which I get is as follow all all xml data comes on a single line
    <?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7369</empno><ename>James</ename><job>Manager</job><salary>1000</salary></emp><?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7370</empno><ename>charles</ename><job>President</job><salary>500</salary></emp>But the code written to an external file has to be something like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
      <empno>7369</empno>
      <ename>James</ename>
      <job>Manager</job>
      <salary>1000</salary>
    </emp>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
    <empno>7370</empno>
    <ename>charles</ename>
    <job>President</job>
    <salary>500</salary>
    </emp>Please advice

    What was wrong with the previous answers given on your other thread:
    Export Blob data to text file(-29285-ORA-29285: file write error)
    If there's a continuing issue, stay with the same thread, don't just ask the same question again and again, it's really Pi**es people off and causes confusion as not everyone will be familiar with what answers you've already had. You're just wasting people's time by doing that.
    As already mentioned before, convert your BLOB to a CLOB and then to XMLTYPE where it can be treated as XML and written out to file in a variety of ways including the way I showed you on the other thread.
    You really seem to be struggling to get the worst possible way to work.

  • Print module - print to file options

    When creating JPEGs using the Export function of the Library module, Lightroom 4 offers you very detailed control over the export options, including automated rules for the folder/filename structure.
    When creating JPEGs using "print to file" in the Print module, the controls seem to be much more limited. Notably, the folder/filename has to be specified manually for each print job.
    Is there a way to keep (or append to) the original filename when exporting from the Print module, short of typing it in by hand for every single image?
    (For context: My print lab requires that submitted files exactly match the print, pixel-for-pixel, for everything to work correctly. If the file doesn't match, their print driver will scale and crop until it does. So, if I use the Library module's Export function and the aspect ratio of the file is different from that of the closest available paper, two edges may get cropped. Or, in other words, I have to pad the image with white bars to fill the paper's aspect ratio if I want it to print the way I want it to. The Print module creates files that are perfect for my purposes. But, since I can't figure out how to get it to keep the filename, the back print data on the paper copies- which I will need 8 years later to find the original when a re-print is ordered- is useless.)

    Thanks Effeegee. At your suggestion, I tried LR/Mogrify + ImageMagick and, with a bit of tweaking, it does exactly what I need (and far more efficiently than LR4 Print).
    For other users' reference, the LR/Mogrify configuration to do this is:
    In Lightroom Library -> Export, LR/Mogrify adds "Post-Process Actions". Turn on "Background Canvas" and "Compress to file size".
    Under the regular "Image Sizing" control, turn on "Resize to Fit: Dimensions" and set the paper size (long side first) and printer resolution. This resizes the image to fit within the specified paper size.
    Under "Mogrify Canvas", set the paper size again (in pixels, long side first), and turn on "Adjust for landscape/portrait". This pads the image with blank borders to exactly fill the specified paper size.
    Note that if the short side is specified first, LR/Mogrify sometimes pads on all sides....
    To minimize additional JPEG artefacts, I suspect that under Lightroom export's "File Settings" the JPEG quality should be 100 (i.e. negligible loss) and the final compression should be done only after all post-process actions, i.e. use LR/Mogrify's "Compress to given file size". (But don't quote me on that as I haven't traced the actual code path.)

Maybe you are looking for

  • Import CD question?

    Hi , One thing I can never figure out is how to import a cd to say "my cd's" folder that I made within playlists. I imported a CD and all the tracks or album is only visible under "library" music but there's a ton of stuff in there like radio station

  • Several Issues, first experience with smart phones

    O.S. 5.0.0.601 Bundle 1013 Platform 4.2.0.274 i have tried pulling and replacing the battery without any change in results. 1) When trying to update software via bb desktop manager, a 12 step process, the procedure progresses to step 6 then displays

  • Add customer field in IH08 selection-screen

    Hi guys, I need to add 1 customer field ZZ to the selection screen IH08 in order to search equipments by the ZZ field. Did anybody know if it is possible? Thanks in advance, LMS

  • InDesign may not support this file format message?

    What do I do when I get a Adobe InDesign may not support this file format, a plug-in that supports this file format may be missing message?

  • What is this crash log and how do I fix it?

    Here it is: ## Crash log <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict>      <key>AutoSubmitted</key>      <true/>      <key>S