OS X pdf creation error

I choose "Save as PDF" from print dialog, open the resulting file in Acrobat (v7.0.8) or in Reader (v7.0.9), and print. Output is incorrect: the margins are 25% larger (1 inch going to 1.25 inch all around) and the text and images are smaller, such that everything is in the correct place, only shrunk in size. Open the same pdf in Preview and the printed output is perfect, exactly as non-pdf version of the file.
This behavior is independent of word processor (tried Word X, Word 2004, Bean, even BBEdit), independent of printer (tried a laser printer and an inkjet), and independent of computer (tried a PowerBook and an iBook). Remarkably, when I use the MS Word PDFMaker plug-in provided by Adobe to convert a Word document to pdf, the same aberrant behavior occurs. Furthermore (and this is the real headache), when I send the pdf to a PC user, it continues to print incorrectly. I've seen this behavior in earlier versions of OX 10.4 as well as in 10.3. One might say it’s not an OS X issue but an Acrobat issue, since there is perfect concordance between the pdf file created by OS X and Preview. But that doesn’t do me any good when I send my documents to PC users.
I can't imagine this hasn't been reported but I was unable to find anything in the archives after about a half-hour of searching. Or am I missing something? The documents do not have margin comments (indeed, "Include comments" is unchecked in the Word preferences).
Thanks for any input.

Welcome to Apple Support Communities
Try downloading OS X Mountain Lion in safe mode. To start up in safe mode, hold the Shift key while your Mac is starting. Then, open the Mac App Store, log in with your Apple ID, go to Purchases and download OS X Mountain Lion. When the download finishes, install it

Similar Messages

  • FM 9 .pdf creation errors using polish fonts.

    I have a problem with FM9 which cannot create a
    correct .pdf when a polish font is used. When a book is created and has to be saved as a .pdf it is missing some text in the .pdf that is in the book. Furthermore some of the font are not displayed correctly in the .pdf file bookmarks (It shows some of the letters corretly and the put a ' ³ ' next to some letters and in the middle of a word).
    I have already tried to use the 'print as .pdf' function and Distiller and PDFCreator both generates the same wrong result.
    Any suggestions are most welcome...
    /morten

    Hi,
    I believe its becaouse of teh font you have used originally in those specific module that are having error:
    you can try updating to a add-on for PDF output generation that would be available in the Disk of Framemaker you would have If its a Part of suite it would be in
    C:\Documents and Settings\ankupand\Desktop\setup\TCS2\Release\Disk1\Adobe FrameMaker\Adobe FrameMaker Dependency\payloads\AdobePDFL9-mul
    to path would be a little modified for you depeding on the location and the Product being a Point Product or Suite.....
    Hopefully it would help.
    Thanks,
    Anjaneai

  • Adobe PDF Creation Add-On 9 install error

    I have just upgraded to Windows 7 32-bit and was able to install Robohelp HTML without any problems. However, when I try to install the Adobe PDF Creation Add-On I get the following message: "This installation package could not be opened.  Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package."
    Since I rely on the PDF Creation Add-On to create PDF files I need to find a resolution to this problem.  Is there a Window 7 version of the Robohelp installer that I can use?

    I have just upgraded to Windows 7 32-bit and was able to install Robohelp HTML without any problems. However, when I try to install the Adobe PDF Creation Add-On I get the following message: "This installation package could not be opened.  Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package."
    Since I rely on the PDF Creation Add-On to create PDF files I need to find a resolution to this problem.  Is there a Window 7 version of the Robohelp installer that I can use?

  • Error instling Acrobat - a higher version Adobe PDF creation Add-On is already

    When I try to install Acrobat XI Pro the setup complains "Setup has detected that your already have a higher version product - Adobe PDF Creation Add-On 11.0.01 installed. Setup will now terminate." How can I complete the Acrobat install?

    The correct answer is
    Uninstall the Adobe PDF Add-on via Add/Remove Control Panel and then install Adobe Acrobat XI.
    as described in
    https://forums.adobe.com/message/6182026#6182026
    I wish Adobe had real support.

  • Word crashes mid PDF creation - Word 2003 Acrobat 9.3.0

    I have a new PC and a fresh clean install of CS5 Design Permuim, including Arobat 9. The organisation is still using Office 2003 and no upgrade path in sight for that. Myself and several colleagues with the same software profile are now experiencing frequent problems with Word crashing mid PDF creation.
    This has always been an issue with the ocassional Word file in Acrobat 8, but Distiller always worked as an alternative - NOT this time!
    PDF Maker gives no error message, just that Word has encounted a problem and needs to close.
    Distiller produces the following log message, then freezes completely. I then have to force quit Word to exit!
    %%[ ProductName: Distiller ]%%
    %%[ Error: syntaxerror; OffendingCommand: --nostringval-- ]%%
    Stack:
    /mF_OTF_V
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    Not all documents are affected, but I can remove almost all of the content from the affected document and it still causes the error.
    I have tried repairing Acrobat - no change.
    One other odd symptom - after each crash, the default printer on the machine has changed to Adobe PDF.
    I can successfulkly make the PDF on another machine which has not been upgraded to Acrobat 9. The rest of the settings are identical on the two machines, they are both running a standard organisation environment, with the same verion of word etc.
    Can anyone suggest how to fix or at least isolate the cause of the problem?

    Please update to latest Acrobat 9 release which is 9.4.2.
    Also do let us know
    a) office 2003 flavour: Standard or professional?
    b) OS flavour? Also whether it is 32bit or 64bit?
    Also as you mentioned that "Not all documents are affected", so we would require any of your affected file to analyze the issue. Can you please share the file? You can use acrobat.com to share the file.
    Thanks,
    Vishal

  • PDF creation from ID - not outlining fonts correctly

    Hi all. I have a query regarding PDF creation from InDesign (so this could have been in the Acrobat section instead but went for this one).
    I work for a publisher using CS2+3 on PCs. We don't have one out of house printer as a rule but several. All have different requirements.
    Essentially we are converting fonts to curves from within InDesign when creating the PDFs. Therefore we have multiple files (curved and text) which is adding lots of time onto projects and adding a further margin for error with missing or out of date files. It seems this process is necessary as whenever I select the option to outline the fonts when creating the PDFs, the printers usually get in touch asking for the font, even though it has been outlined.
    I am hoping to find any simple solution, hopefully avoiding purchasing extra software, that avoids creating duplicate 'curved' files. I realise it's a big topic and not restricted to InDesign but this is the main software we are using so figured this was the place for it. Many thanks.

    I'll let others question the necessity of outlining text. It has been discussed many, many times before, and the only valid reasons I found so far are producing files for hopelessly outdated printers (the usual recommendation is "find another one, fast!") and for legacy custom hardware such as cutters and engravers.
    But this is really a mystery to me:
    It seems this process is necessary as whenever I select the option to outline the fonts when creating the PDFs, the printers usually get in touch asking for the font, even though it has been outlined.
    Tr this: outline all text in your ID document. Export as PDF. Check under Document Properties, Fonts. How many fonts do you see? If everything is outlined, there shouldn't be any.
    How does the printer know what fonts to ask for, and what is he ever gonna do with these fonts?

  • White Noise showing up in images after PDF Creation

    I am currently running into an issue making PDFs from InDesign CS4. Lately, our company has been getting some rather large jobs in to print and that's when this all started.
    The current job is 190 pages plus cover that will be perfect bound. The client, nor I can make one large PDF from this job so we have to break it up into sections. Usually each of the PDF sections has around 20-50 pages per.
    Now the issue we're running into is that on some of the pages, an image will end up with a bar or lines in it that looks like white noise. Like the image information was lost for a short period of time during the PDF creation from InDesign.
    Here are two pictures of pages from separate jobs and a close up on what's going on. **Second image was from a 32 page plus cover document we have already printed.
    Now in order for me to fix this issue is to just make a single page PDF of the effected pages in the document. I just wish I knew what was causing this issue so I know how to avoid it in the future. So far four jobs have been affected like this; two 32 page + cover jobs, a 64 page + cover job, and is job.
    We use a Rampage Workflow system here. My PDF settings in InDesign CS4 has all compression turned off, no profiles or color conversion turned on. I keep compression turned off because it seems sometimes, vector art done in Illustrator does not seem to come out looking well when RIP'd in Rampage.
    My main computer is a 2.8 GHz Intel Core 2 Duo iMac with 4 BG of memory running Mac OS X 10.5.8.
    My current version of InDesign CS4 is 6.0.3.  If anyone has run into this problem or if anyone has any helpful hints for me, I could really use them please. If you need more information from me, I'll be happy to answer any questions.
    Thanks for all the help!
    Roc

    That one has come up every now and then and has always been hardware as far as I know....  bad ram, bad cable, bad drive, bad network maybe even bad video card (?). 
    I see that the lines in the rotated pic are parallel with that pic, so maybe look at the machine where that pic was made and placed first, this is not definite, but you can get corruption in tiffs on machines with hardware errors and they may not be visible every time you open the file.
    Although probably a bigger clue is the fact that doing singles is working better, that would make me change the ram completely, suspecting a bad module.  Also, unplug peripheral devices and see if that has any bearing.

  • CUSTOM VIP CREATION ERROR

    Hi all, i have tried to define a new VIP on my ORACLE 11gR2 RAC cluster, in order to manage third-party component by using ORACLE Clusterware.
    I have used the info written on the ORACLE manual "Oracle Clusterware Administration and Deployment Guide E10717-04" at page 5-15.
    I have executed the command "/u01/app/grid/bin/appvipcfg create -network=1 -ip=xx.xxx.xxx.140 -vipname=appsVIP -user=root", as the manual says, from root user.
    My environment is AIX 6.1.
    Unfortunately, i get an error (reported following) but i am not able to solve it.
    Please, may you help me?
    Thanks
    Marco
    CUSTOM VIP CREATION ERROR
    [nodo01][]>/u01/app/grid/bin/appvipcfg create -network=1 -ip=xx.xxx.xxx.140 -vipname=appsVIP -user=root
    Production Copyright 2007, 2008, Oracle.All rights reserved
    2010-05-31 18:39:54: Creating Resource Type
    2010-05-31 18:39:54: Executing cmd: /u01/app/grid/bin/crsctl add type app.appvip.type -basetype cluster_resource -file
    /u01/app/grid/crs/template/appvip.type
    2010-05-31 18:39:55: Create the Resource
    2010-05-31 18:39:55: Executing cmd: /u01/app/grid/bin/crsctl add resource appsVIP -type app.appvip.type -attr
    USR_ORA_VIP=xx.xxx.xxx.,START_DEPENDENCIES=hard(ora.net1.network)
    pullup(ora.net1.network),STOP_DEPENDENCIES=hard(ora.net1.network),ACL='owner:root:rwx,pgrp:root:r-x,other::r--,user:root:r-x'
    CRS-0247: User name or group name is invalid
    CRS-4000: Command Add failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/grid/bin/crsctl add resource appsVIP -type app.appvip.type -attr
    USR_ORA_VIP=xx.xxx.xxx.,START_DEPENDENCIES=hard(ora.net1.network)
    pullup(ora.net1.network),STOP_DEPENDENCIES=hard(ora.net1.network),ACL='owner:root:rwx,pgrp:root:r-x,other::r--,user:root:r-x'
    2010-05-31 18:39:56: ###### Begin Error Stack Trace ######
    2010-05-31 18:39:56: Package File Line Calling
    2010-05-31 18:39:56: --------------- -------------------- ---- ----------
    2010-05-31 18:39:56: 1: crsconfig_lib crsconfig_lib.pm 7474 crsconfig_lib::error
    2010-05-31 18:39:56: 2: main appvipcfg.pl 241 crsconfig_lib::system_cmd
    2010-05-31 18:39:56: 3: main appvipcfg.pl 93 main::config
    2010-05-31 18:39:56: 4: main appvipcfg.pl 74 main::process_arguments
    2010-05-31 18:39:56: ####### End Error Stack Trace #####
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Hi,
    On Solaris 10 and Oracle Grid Infrastructure 11.2.0.2 did the following. Posting this as it might be useful to someone else. Installed Grid Infrastructure as oracle.
    As root:
    # ${GRID_HOME}/bin/appvipcfg create -network=1 -ip=<vip_address> -vipname=<vip_name> -user=root
    In the above command, if you are wondering what -network=1 is, got useful info from "Oracle GoldenGate high availability using Oracle Clusterware" white paper at http://www.oracle.com/technetwork/middleware/goldengate/overview/ha-goldengate-whitepaper-128197.pdf
    As per the white paper, if you do
    crsctl status resource -p | egrep -i 'network|subnet' | egrep -i 'name|subnet'
    output will look something like this:
    NAME=ora.net1.network
    USR_ORA_SUBNET=10.2.0.0
    net1 in NAME indicates this is network 1, and second line indicates the subnet on which the vip will be created.
    # ${GRID_HOME}/bin/crsctl setperm resource <vip_name> -u user:oracle:r-x
    I did the following as oracle:
    Oracle_Prompt> ${GRID_HOME}/bin/crsctl start resource <vip_name>
    If you want to relocate this vip to other node in the cluster:
    Oracle_Prompt> ${GRID_HOME}/bin/crsctl relocate resource <vip_name> -s <source_node> -n <target_node>
    Hope this helps.
    Thanks,
    Moorthy.
    帖子经 Moorthy Rekapalli编辑过

  • Right Click - Adobe PDF Creation Add-on

    I uninstalled Adobe CS3 and now anytime I right click on a file I get the message "please wait while windows configures Adobe PDF Creation Add-on" This is very annoying, how do I stop this.
    Tom

    The exact version of the Adobe Application you are running.
    I had CS3 Intalled
    Your Operating System details.
    Windows XP
    Amount of installed RAM.
    2048 Megabytes Installed Memory
    Amount of free disk space.
    c: (NTFS on drive 0)  110.10 GB  79.00 GB free
    d: (NTFS on drive 0)  209.96 GB  4.37 GB free
    The EXACT text of any Error Messages you saw.
    Image attached above
    Precise symptoms of your problem
    Any time I right click on a file or folder I get this annoying message. And it tries to install, I can cancel, or allow it to try to install until I get an "install failed" message.
    /post!input.jspa?container=3340&containerType=14

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

  • Processing this item failed because of a PDF parser error. Input string was not in a correct format.

    Good Morning,
    We're having issues parsing several hundred PDF files located in two separate Record Center sites. All other PDF documents in the environment are being crawled and parsed without issue. I've verified the permissions for the Search service account, but that
    doesn't seem to be the issue. Searching for this particular error hasn't returned much, but I have ensured that the Search service account has been added to the necessary Local Security Policy objects and cleared the configuration cache. Any help would be
    greatly appreciated.
    Processing this item failed because of a PDF parser error. ( Error parsing document 'https://asdf.com/sites/HRRecords/asdf.pdf'. Input string was not in a correct format.; ; SearchID = 6642FEEF-6921-434E-B084-02809173D8A7 )

    This issue came back up for me as my results aren't displaying since this data is not part of the search index.
    Curious if anyone knows of a way to increase the parser server memory in SharePoint 2013 search?
    http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip'. Document failed to be processed. It probably crashed the
    server.; ; SearchID = 097AE4B0-9EB0-4AEC-AECE-AEFA631D4AA6 )
    http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The
    function encountered an unknown error.; ; SearchID = 4A0C99B1-CF44-4C8B-A6FF-E42309F97B72 )

  • 'failed to open the PDF file' error - Indesign CS3 on Mac

    Hi,
    Whenever I place PDFs that were created by any other app besides indesign or Illustrator I get a 'failed to open the PDF file' error, previously these PDFs were fine to place but all of a sudden they're not... Help?
    I'm not too keen on opening in Illustrator and resaving for the rest of the foreseeable future either...
    Jared

    Thanks for the reminder, Scott.
    http://indesignsecrets.com/failed-to-open-pdf-error-show-options-to-fix-it.php
    Bob

  • Service Contracts Billing Schedule Creation Error

    Hi,
    I have a requirement of creating service contracts from back-end for which I am using the oks_contracts_pub.create_contract_header, create_service_line, and create_bill_schedule. I am creating my contracts with active status and renewal type of EVN (Header level), FUL(Line Level). My contract is of type subscription. The contract header and line are creating fine but the Bill schedule API is throwing an UNEXPECTED ERROR. The billing schedules need to be created based on accounting rule which can be quarterly or monthly. I have included the bill schedule code (hard coded values) for review. Any help is greatly appreciated.
    Also the version I am working on is R12
    ________________________________________________CODE___________________________________________________________________
    CREATE OR REPLACE PROCEDURE BILLING_SCHEDULE AS
    l_strm_level_tbl OKS_BILL_SCH.STREAMLVL_TBL;
    v_bill_qtrs NUMBER := 0;
    v_bill_mths NUMBER := 0;
    v_bill_days NUMBER := 0;
    v_net_amount NUMBER := 468;
    v_acct_rule_name VARCHAR2(50) := 'QUARTERLY';
    v_amt_per_day NUMBER;
    x_error_locator VARCHAR2(2000);
    v_start_date DATE := '04-MAY-2010';
    v_end_date DATE := '25-MAY-2010';
    x_return_status VARCHAr2(3);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    v_billing_sequence NUMBER;
    x_chr_id NUMBER := 17000;
    x_line_id NUMBER := 223248604345353294444923586786456728480;
    g_day_uom VARCHAR2(10) := 'DAY';
    g_month_uom VARCHAR2(10) := 'MTH';
    g_quarter_uom VARCHAR2(10) := 'QTR';
    v_amt NUMBER;
    v_invoicing_rule_id NUMBER := -2;
    BEGIN
    --Create Billing Schedule based on accounting rule
    okc_context.set_okc_org_context;
    MO_GLOBAL.INIT('OKS');
    MO_GLOBAL.SET_POLICY_CONTEXT('S', 83);
    v_bill_qtrs := 0;
    v_bill_days := 0;
    v_bill_mths := 0;
    SELECT NVL(v_net_amount, 0)/(v_end_date - v_start_date)
    INTO v_amt_per_day
    FROM dual;
    dbms_output.put_line('Calculated amt per day ' || v_amt_per_day);
    IF v_acct_rule_name LIKE '%QUARTERLY%' THEN
    --Quarterly billing schedule
    SELECT FLOOR(MONTHS_BETWEEN( v_end_date,
    v_start_date)/3),
    v_end_date - ADD_MONTHS(v_start_date, (FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)/3)*3))
    INTO v_bill_qtrs,
    v_bill_days
    FROM dual;
    dbms_output.put_line('Calculated the qtrs and days');
    IF v_bill_qtrs > 0 THEN
    SELECT (ADD_MONTHS(v_start_date, (FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)/3)*3)) - v_start_date)*v_amt_per_day
    INTO v_amt
    FROM dual;
    dbms_output.put_line('Calculated qtr amt');
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    -- l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_quarter_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := 1;
    l_strm_level_tbl(v_billing_sequence).level_periods := v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt/v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt/v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for QTR');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for QTR');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Quarterly schedule creation error ' || x_msg_data);
    ---DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    -- RETURN;
    END IF;
    END IF;
    IF v_bill_days > 0 THEN
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    dbms_output.put_line('sequence '||v_billing_sequence);
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_day_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_periods := 1;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_net_amount;--v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_net_amount;--v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for QTR days');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for QTR days ' || v_bill_days || ' ' || x_return_status);
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Day schedule, for quarterly accounting rule, creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    ELSE
    --Monthly billing schedule
    SELECT FLOOR(MONTHS_BETWEEN( v_end_date,
    v_start_date)),
    v_end_date - ADD_MONTHS(v_start_date, FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)))
    INTO v_bill_mths,
    v_bill_days
    FROM dual;
    dbms_output.put_line('Calculated the mths and days');
    IF v_bill_mths > 0 THEN
    SELECT (ADD_MONTHS(v_start_date,FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date))) - v_start_date)*v_amt_per_day
    INTO v_amt
    FROM dual;
    dbms_output.put_line('Calculated the mths amt');
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_month_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := 1;
    l_strm_level_tbl(v_billing_sequence).level_periods := v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt/v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt/v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for MTHS');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for MTHS');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Monthly schedule creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    IF v_bill_days > 0 THEN
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_day_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_periods := 1;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for MTH days');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for MTH days');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Day schedule, for monthly accounting rule, creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    END IF;
    COMMIT;
    EXCEPTION
    when others then
    dbms_output.put_line('Error ' || sqlerrm);
    END;
    Thanks,
    Yash.

    Hi There,
    I have a similar requirement to create rental service contracts and create billing schedules.
    Can you please pass on your functional docs so that i can refer to them.
    Thanks,
    Raidu

  • PDF Creation with data from SAP system

    Hi All,
    I need to generate a PDF file using Adobe Document Service. The content of the PDF can be from any datasource (Oracle/ BW/ R3 ),  So I require Webdynpro code for pdf creation with data from any of the system

    Hi Deepak,
                     Before starting the code just like that,make sure u have configured all services in Visual Administrator.
    U can refer this:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/95/5a08cd0e274a0bae559622d6670722/frameset.htm">Configuration Guide</a>
    regards
    Sumit

  • Multiple Page PDF Creation

    I would like to be able to scan in individual pages and then combine them as multiple page PDFs using Leopard.
    Can this be done? I don't have any PDF creation software.

    I have answered this myself.
    Leopard's Preview can combine individual PDFs by drag-and-drop. Nice.

Maybe you are looking for