How to generate a csv report to determine paper size in a pdf or pdf/a file ?

how to generate a csv report to determine paper size in a pdf or pdf/a file ?

Use the cfpdf tag as follows:
<cfpdf
    action = "getinfo"
    name = "pdf_info"
    source = "C:\temp\testFile.pdf">
My Operating System is Windows. This tag gets information about testFile.pdf, and stores it in a structure. I have given this structure the name pdf_info. This structure has the key you are interested in, namely, pageSizes.
Pdf_info.pageSizes is an array whose indices correspond to the respective page number in the PDF. You can use this to generate Comma-Separated Values (CSV) for each page.
<!--- Initialize CSV list --->
<cfset csv = "">
<!--- Add headers or first row, followed by carriage-return --->
<cfset csv = "Page,Height,Width" & chr(13)>
<cfloop from="1" to="#arrayLen(pdf_info.pageSizes)#" index="i">
<cfset row_info = i & "," & pdf_info.pageSizes[i]["height"] & "," & pdf_info.pageSizes[i]["width"] & chr(13)>
<cfset csv = csv & row_info>
</cfloop>
<!--- Output CSV --->
<cfoutput>#csv#</cfoutput>
<!--- Write CSV to file --->
<!--- <cffile action="write" file="C:\temp\output.csv" output="#csv#"> --->
Done!

Similar Messages

  • How To Generate And Print Reports In PDF Format From EBS With The UTF8 Char

    Hi,
    I want to know How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set in R12.0.4.
    Regards

    Refer to Note: 239196.1 - PASTA 3.0 Release Information
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=239196.1
    Or, you can use XML Publisher.
    Note: 551591.1 - Need Latest XML Publisher / BI Publisher Patches For R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=551591.1

  • How to generate a project report for a BPM project in Oracle Jdeveloper 11g

    Hi,
    Till Oracle 10g we can generate a project report by right clicking on project name in BPM studio project navigator.
    Is this facility available with Jdeveloper 11g for BPM project as I am not able to generate the report.
    If this is possible than please let me know how can i generate.
    Thanks
    GG

    Hi there,
    I would also like to know when the Project Report functionality will be available for 11g.
    My client have several BA's who are crying out for documentation and exported diagrams, which are exactly what the Project Report features provided.
    Any ideas if it will come back?
    Cheers,
    Chris

  • How to generate Top sales report from SAP data ?

    Hello experts,
    I am completely a newbie to SAP BO , can any one guide me how to generate TOP sales of the year report from SAP data ?

    Hi David,
    First Let me know the Source & Tools to involve.
    Let me go with the generic approach:
    If the source is BW, then you can create the logic in query designer designer and then you can incorporate the data into the dashboard or webi or crystal report whatever its.
    If the source is sql or anyother DB then it can also be achievable in crystal or webi to write the logic in top 10 values by ranking then you can incorporate the data into the dashboard, but here you can limit the top or bottom values.
    Hope this helps, please revert for more clarifications on this.
    --SumanT

  • How to generate web traffic report on SharePoint 2013?

    Hello All,
    I am working on Intranet in SharePoint 2013 On Premise.
    There are functionalities like Poll, Survey, Event, Announcements etc.
    Now there is a requirement to create web traffic report for all these functionality. How should I generate web traffic report for all these?
    Thanks in Advance.

    Hi Darsh,
    Here is the out of box analytic reports you can view.  Please refer to the following article.
    SharePoint 2013 Analytics A Big Step Backward
    New Analytics in SharePoint 2013
    Please mark it answered, if your problem resolved or helpful. 

  • How to generate "Early watch report uisng sdccn"

    Hi Guys,
    Can any body please provide me brief knowledge on " how to generate an Early Watch Report using SDCCN"
    infact i have searched in the forums but not very much clear.
    Thanks,
    LAX

    Hi,
    can you look at this
    [EWA|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fnetweaver%2fs-u%2fsolutionManager4.0-HowtogenerateEWA%E2%80%99sFromSatelliteSystems.pdf]
    [http://sapnetweavernotes.blogspot.com/2008/04/sap-earlywatch-alert.html]
    [https://service.sap.com/earlywatch]
    For taking EWA report through solution manager, you have to perform satelite system configuration. Please check the below link which have tutor files, related step by step documents for EWA.
      [http://www.service.sap.com/rkt-solman]--> select ur component version --> <Technology Cons. & System Admin.> select EWA
    763561 -- More information about SDCCN can be obtained here.
    91488 --- SAP Support Services- Central preparatory note.
    Regards,
    Muralidhar

  • How To Generate Early watch report Using SDCCN

    Hi Guys,
    Can any body please provide me brief  knowledge on " how to generate an Early Watch Report using SDCCN"
    infact i have searched in the forums but not very much clear.
    Thanks,
    LAX

    This may not be the appropriate forum for this question. You may want to consider posting your question on the SAP NetWeaver Administration forum instead.
    Having said that, the following may help:
    OSS Note 763561 - Service Data Control Center (SDCCN) - FAQ

  • How to generate XML Publisher report from PLSQL Stored Procedure in APPS

    Hi,
    I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
    Please help me out .
    Thanks in advance.
    Kaveri

    Hi Kaveri
    Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
    You have some options, best option first:
    1. Move the sql to a data template - check the user guide and blog for help or
    2. Use SQL XML or XMLGEN (not great for large datasets) or
    3. Use dbms_output.put_line and write the XML file manually - not performant at all
    Regards, Tim

  • How to generate a MSDS report from status GP (Generation possible) to RE

    Hi EHS Goeroes,
    I'm struggling with the Generation of the MSDS. I have done the following procedure and settings:
    a) Create MSDS report (CG42)
    b) Edit Generation Variant (CG2B)
    Settings:
    (I have assigned my template to the Generation Variant)
    Generate manual request automatically: marked
    Change Marks: 0
    Initial release status: RE (released)
    Version requirement: unmarked
    Set historical automatically: unmarked
    c) EHS > Specification Workbench > Report from Template (to test the design - display is correct and all phrases can be found)
    d) EHS > Specification Workbench > Create new report
    (report has been created succesfully and appears in Report Management).
    e) EHS > Specification Workbench > Report Management:
    MSDS_29 Material Safety Data Sheet for China World
    Chinese Not Relevant Generation Poss. => generation possible.
    Feedback affter clicking on Accept: You tried to carry out action 'Accept' on a report with status GP. However, this action is not allowed for reports with this status.
    Feedback after clicking on Generate: You tried to carry out action 'Generate' on a report with status GP. However, this action is not allowed for reports with this status.
    d) SE38 I have no jobs scheduled yet, so I run the following two programs to start the worklist manually, RC1AVGE1 and RC1AVGE2.
    RC1AVGE1 - gave allot of feedback information regarding to changes and so on (first time I run it).
    RC1AVGE2 - feedback: EHS: 'Worklist Generation for Reports - Selection for Check. - 0 reports to be checked were found'
    From my understanding program RC1AVGE2 - should generate the MSDS.
    e) WWI - monitor display (CG5Z):
    100 @03\QNo background processes in client@ 5 SBR WWI-00000000000000000002 FREE RMDERKS
    110 @03\QNo background processes in client@ 5 SBR WWI-00000000000000000063 FREE A132645
    xxx SV001 @5B\QWWI server is active@ @02\QNo background processes on WWI server@
    xxx SV003 @5C\QWWI server is inactive@ @02\QNo background processes on WWI server@
    I checked if I had any jobs running in the background or has been finished, but it seems like it goes wrong here, the system does not generate a job for the generation of the MSDS_29. To be able to get the status of MSDS_29 to RE (Released).
    Does anybody has an idea what I do wrong, or which settings might be incorrect? Futhermore, what are the further steps to issue the report in the SD module - report shipping?
    Help is much appreciated!
    Roy Derks

    Hi Roy,
    Check and activate the QWWI server for the second job wwi - 110. Try once to generate the MSDS.
    I will revert back if i get information.
    regards,
    mahesh.

  • How to generate a single report  using multiple Databases

    Hi All
    Is it possible to create a single report using multiple databases
    I am working on Database A to generate reports usually,, but now i have a second database for which the data is coming from flat files now i have to use few tables from
    Database B to generate a single report,,,,, can any one help with the process

    Hi,
    i didn't see this properly in your post:
    but now i have a second database for which the data is coming from flat files if you have ETL then make flat files as source then create target tables in db:B itself.. .Now, import them in the rpd..
    If not, import both those tables into rpd with different connections..
    Create physical joins by selecting those tables and perform joins operations over db's in physical layer..

  • How to generate profile like report in APEX

    Hi,
    I am trying to create a report similar to Image: !http://www.nomagic.ie/sample_report.jpg! . I thought this will be easy if I create a form and fetch rows for reach section seperately during page rendering. Each each is coming from different table . I am okay with this approach, However there are couple sections that have multiple rows . I am wondering, If there is any better way in APEX to generate profile like report.
    Thanks
    Aali

    Hi Aali
    You could do this using reports rather than forms and you'd just need to have two columns returned by each query and change the alignment to mimic that look.
    Then just create a custom report template that looks the same as that (removing all borders etc).
    >
    I am okay with this approach, However there are couple sections that have multiple rows
    >
    I don't understand what you mean by this?
    Cheers
    Ben

  • How go generate Popularity Trends report for a custom list in SharePoint 2013

    Hi, 
    I want to generate  Popularity Trends report for a custom list in SharePoint 2013, is it possible?
    Thanks
    khadar pasha

    According to
    this link you should be able to access this option from the Items tab. for this to work, the Analytics Processing Component needs to be running.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Crystal Report XI Print report on different paper size (A4/Letter)

    Hi,
    I have designed report in Crystal XI using paper sieze Letter. Multipler sites are using this application. User in USA are using Letter size paper and User in Euorpe are using A4 size paper. All reports work fine for USA users.
    When Eurpoe users print the report on A4 size paper which set in Letter size, the report is truncated from Header or footer. They are printing report from Application and application is set on Citix server.
    If Anybody have any idea how to setup Crystal report so it can print on any paper size?
    Thanks
    Bhagvat

    Hi Don,
    Please find the below description.
    Background: Crystal Report XI is utilized to develop and view reports with data source from Oracle based LIMS application (Vendor: LabWare). The reports are printed using network printer on US Letter paper for users located in North America and on A4 paper for users located in Europe. The report format is US Letter and designed to print on both paper formats i.e. Letter and A4.
    Issue: When reports are printed by users in Europe using A4 format paper the printer defaults to US Letter paper (in printer preferences) resulting to data cut off from top and bottom on the printout.
    1)      When report layout is select to A4 during developing reports using CR, the printing preferences changes to A4 when printed and vice versa for Letter format. How can we avoid CR to enforce from changing printing preferences?
    2)     According to Citrix engineers in the company, the printer drivers installed on Citrix servers have nothing to do with printing preferences and CR defaults to paper size based on report design. What do we tell them about doing different to resolve this issue?
    3)    Even though a printer preference of default printer on local desktop is changed to A4, the report gets printed to Letter format result in data cutoff.  We have tried this option with several HP printers from few different company locations.
    Thanks
    Bhagvat

  • Crystal Report Print report on different paper size (A4/Letter)

    I develop the crystal report 2008 with VS.net 2008. The report runs on web.
    when I preview or debug with VS on my local computer, the crystal report using A4 (8.3 * 11.7 in), Which is correct.
    However, after I deploy the program to the server, and try view and print report through IE, the print out is actually using Letter size (8.5 * 11 in).
    Both on my local computer and the server, the default printer is set to A4 size. And on the crystal report, in the printer setup, the paper size is A4 as well.
    I try on firefox, and safari. No luck. Same as IE.
    The crystal report need to print barcode, and the paper size must be A4, cuz the barcode page is designed and printed on A4 Avery Laser Barcode sheet.
    I tried on my PC by using remote server data souce, the printing works perfectly in A4 size (8.3"*11.7").
    And I don't know why same program after deploy to the server, then it using Letter size (8.5" * 11"), which the size I never set to.
    So strange.
    Thanks

    A few ideas \ suggestions:
    1) Make sure you are using FP 3.3 runtime:
    https://smpdl.sap-ag.de/~sapidp/012002523100016807202010E/cr2008fp33_redist.zip
    2) Try a simple win app - use saved data report (crystalreportviewer1.reportsource = <path to saved data report>). Does this print correctly?
    3) What print mode are you using; PDF or ActiveX?
    4) Try export to RPT and PDF from your web app. Does it export correctly?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • I have a MacBook Air and for what ever reason, the print settings have gone out of whack. I am not sure how to set to print a normal A4 paper size or a standard envelope. These settings were working O.K., but not now

    I have a MacBook Air and for what ever reason the print settings for envelopes and normal A4 paper size changed from printing correctly each time I wished to print. Now, each time I wish to print either, I have to rest paper size and or Envelope vertical or horizontal. Can anyone assist with how to reset in order to print correctly without the need to rest each time please?

    Log in to the Developer forum. You will find instructions on how to install the lastest beta. Your problem is the beta you have installed has expired. All of them did on October 5; you will find hundreds of threads discussing this. If you have a beta it is assumed that you will continue as a beta tester, so a simple update using iTunes will not work.
    If you no longer want to be a beta tester install the GM 7.0.2 by restoring from iTunes using DFU mode.

Maybe you are looking for

  • Hard Drive Backup Utility - Question

    I have a P67A-GD55 and everything is working wonderfully. I would like more information concerning the Hard Disk Drive Backup Utility in the BIOS.  The BIOS Version is 1.9 and that came on the board from the time of purchase. I can get to the HARD DR

  • How can i release text from a text box?

    How can I release text from a text box? I want the shape of the text box without the text in it.

  • 9iAS: JSP: contentType BUG

    this is a very simple JSP page, it cant run correctly on 9iAS 1.0.2.1 running on Windows NT or 2000. If you try to pass any parameter with caracterset except the default you will get rubbish. I tried to upgrade OracleJSP to the latest version from OT

  • Crystal Report Supporting Dot Matrix Printer

    hi all. Please tell me the crystal report's support for dot matrix printer , crystal reports are very slow on dot matrix. Regards

  • How the upgrade to Creative Cloud happens when you are already a signed member of Typekit?

    Hello everybody. I have a signature for Typekit. When I purchase a Creative Cloud the price I had payed is discounted? How the upgrade to Creative Cloud happens when you are already a signed member of Typekit? Thanks