Comments on: Generating a PDF-document with some plsql: as_pdf_mini => as_pdf3 http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/ Friends of Oracle and Java Wed, 17 Dec 2014 14:54:39 +0000 hourly 1 http://wordpress.org/?v=4.0.1 By: Anton Scheffer http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7992 Fri, 05 Dec 2014 08:43:58 +0000 http://technology.amis.nl/?p=17718#comment-7992 @Hojjat
as_pdf3 can be used with windows-1256 character set, but I don’t know if that character set supports Arabic characters.
But you have to use a font which supports that character set.
But it doesn’t support right to left direction.

]]>
By: Hojjat http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7991 Fri, 05 Dec 2014 03:34:50 +0000 http://technology.amis.nl/?p=17718#comment-7991 Tanks for your script;
can i used for Arabic language with windows-1256 charset?

]]>
By: Anton Scheffer http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7977 Sat, 22 Nov 2014 15:34:11 +0000 http://technology.amis.nl/?p=17718#comment-7977 @Roel
No, it’s not possible to mix landscape and portrait pages in one document.

]]>
By: roel http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7973 Thu, 20 Nov 2014 13:19:47 +0000 http://technology.amis.nl/?p=17718#comment-7973 Hi Anton, is it possible to mix landscape and portrait pages in one document?

]]>
By: Anton Scheffer http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7945 Mon, 03 Nov 2014 13:11:16 +0000 http://technology.amis.nl/?p=17718#comment-7945 That’s not how PDF works. You can’t do that with as_pdf3

]]>
By: milk http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7944 Mon, 03 Nov 2014 07:53:56 +0000 http://technology.amis.nl/?p=17718#comment-7944 Hi Anton!
my last post disappeared so I repeat the question.
How to print a report to a printer with roll.
Something like accounts in store, the report is always one page.
The page size depends on the number of rows in the report.

Thank you.

]]>
By: milk http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7943 Mon, 03 Nov 2014 00:07:34 +0000 http://technology.amis.nl/?p=17718#comment-7943 Hi Anton,
how to write endless reports?
I want to print a receipt at the cash register on roll paper.

thank you

]]>
By: arkad http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7938 Thu, 30 Oct 2014 05:50:12 +0000 http://technology.amis.nl/?p=17718#comment-7938 Hi Anton!
Many thanks for the script.
There is a small error in line 585
if utl_raw.length (t_raw)> 32778
when using the downloaded PDF Fonts and sufficiently large PDF generated file an exception occurs.
if utl_raw.length (t_raw)> 32698 solves the problem
with best regards Arkady

]]>
By: souluran http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7918 Thu, 02 Oct 2014 12:08:50 +0000 http://technology.amis.nl/?p=17718#comment-7918 Thank you, Anton, you helped me. It’s really works!

]]>
By: Anton Scheffer http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7917 Thu, 02 Oct 2014 11:09:10 +0000 http://technology.amis.nl/?p=17718#comment-7917 The default PDF fonts don’t contain the Russian characters. So you have to load a font containing those characters with as_pdf3.load_ttf_font( … )

]]>
By: souluran http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7916 Thu, 02 Oct 2014 10:50:41 +0000 http://technology.amis.nl/?p=17718#comment-7916 Hi, Anton.
My Oracle database has characterset = AMERICAN_AMERICA.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 ))

]]>
By: souluran http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7915 Thu, 02 Oct 2014 10:10:03 +0000 http://technology.amis.nl/?p=17718#comment-7915 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 :)

]]>
By: Richard http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7901 Wed, 17 Sep 2014 17:44:36 +0000 http://technology.amis.nl/?p=17718#comment-7901 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: mrbrightwork http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7841 Wed, 13 Aug 2014 18:16:44 +0000 http://technology.amis.nl/?p=17718#comment-7841 Hi Anton,

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

Thanks.
Ted

]]>
By: Monali http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7795 Mon, 21 Jul 2014 11:21:35 +0000 http://technology.amis.nl/?p=17718#comment-7795 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

]]>