Quantcast
Channel: Comments on: Generating a PDF-document with some plsql: as_pdf_mini => as_pdf3
Viewing all 84 articles
Browse latest View live

By: Anton Scheffer

$
0
0

@Ola. It looks like a Windows 8 problem.
Are you saying that you can read a pdf generated by as_pdf_mini, but not a pdf generated by as_pdf3?
And if you try to read it with acrobat reader.


By: Ola

$
0
0

Hi Anton,

Yes, that’s what I’m saying. I’m using the standard windows 8 Reader.

By: Ola

$
0
0

Hello everyone,

I’m having a problem viewing pdf files generated by as_pdf 3. I don’t have this problem when I generate a file using as_pdf_mini.

I thought this was a Windows 8.1 problem, however, I can’t view the files on Windows 7 or Windows XP either. Has anyone come across this problem? I’d really appreciate any help.

I’m using Oracle 11g Release 11.2.0.4.0 – 64bit.

The error I’m getting is as follows:

“There was an error opening this document. The file is damaged and could not be repaired”. This is the code I’m running:

begin
as_pdf3.init;
as_pdf3.write( ‘Minimal usage’ );
as_pdf3.save_pdf;
end;

Thanks,

Ola.

By: Ola

$
0
0

Hello there,

I’ve just done some more testing as follows:

1. Ran the above code from SQL Plus on Linux
2. Copied it across to my PC using WinSCP.
3. Copied it from my PC to my tablet

The result is the same, I’m unable to open the file using my Nexus 7 tablet.

I repeated the whole process using as_pdf_mini and I was able to view the file.

HELP!!!!!!!!!!!!!!

Ola.

By: Ola

$
0
0

Hello everyone,

I’ve got it to work!! I just downloaded the package again from your website, compiled and it now works.

Ola

By: Sietze

$
0
0

@Anton
It is possible, I have seen it done in oracle reports (srw.set_hyperlink). I don’t know how you can do it with the as_pdf3 package.

By: Anton Scheffer

By: sunny

$
0
0

So what would be the method to control line wrap ?, is there anything we can do ?

query2table fits are requirements almost perfectly except that it pushes long text into the next column. Any clues/help would be appreciated.


By: Anton Scheffer

$
0
0

@sunny. You have to write your own line wrapping :(

By: sunny

$
0
0

Any idea’s where I would begin doing this ?, would it mean editing as_pdf3 ?

By: Anton Scheffer

By: sunny

$
0
0

I’ve downloaded the 2 packages from APEX site, I dont suppose you could point me to the line/procedure where the line-wrap is occurring ?
Apologies for the naive questions but I am new to this.

By: Valerio

By: Anton Scheffer

By: vadim boyarkin

$
0
0

Hello! Thank you for your work, Anton. I really like it :)
Unfortunately I cant’t neither open (via Acrobat reader XI) nor delete the file I get after executing your example. It seems that Oracle does not close some process used during generation of the file. Did I miss a call to some function that kills the process?

When I kill the file handle manually I can read the file. So your package really works!


By: Mathew

$
0
0

Hi, I have a question. Is there a way to set orientation of just one page to ladscape. I tride with set_page_orientation (‘LANDSCAPE’) but that set orientation of all pages not just the one i need.

By: Monali

$
0
0

HI,
I AM USING AS_PDF_MINI AND I WANT TO GENERATE A PDF IN WHICH COLLECTION AND COLLECTION’S VALUE MUST BE INSERTED ON IT AND SHOW THE RESULT IN PDF …PLZZZ HELP ME OUT ON THIS ….THE PAGE HAVING 3 CLASSIC REPORT REGION

By: mrbrightwork

$
0
0

Hi Anton,

This code is amazing and easy to use. Has anyone played around with adding bookmarks?

Thanks.
Ted

By: Richard

$
0
0

Hi Anton…. Just found this package which looks ideal for my needs. And a great piece of work by you.. However as per a couple of other posts, where do I start? i.e. how/where should I I run the code, and most basic, where does the PDF go / turn up?

Ideally I want to create a PDF document from data in a table, and have the PDF emailed directly from the database? and possibly also stored in the database. How would I invoke the PL/SQL to achieve this?

Rgds
Richard

By: souluran

$
0
0

My Oracle database has NLS_CHARACTERSET = RUSSIAN_RUSSIA.CL8MSWIN1251. I do upload the query result that contains Russian text in pdf using your package as_pdf3.

begin
as_pdf3.init;
as_pdf3.query2table( ‘select * from HWI_ZAV’, p_headers => as_pdf3.tp_headers( ‘LOC_NAME’, ‘PODR_NAME’));
as_pdf3.save_pdf;
end;

PDF file is created successfully, but Russian characters in it are displayed as “????????.”
How do I get Russian characters in the proper encoding, so that they are displayed properly?
P.S.: Sorry for my English :)

Viewing all 84 articles
Browse latest View live