bb.donnay-software.com

Donnay Software Web Forums
It is currently Tue Jul 14, 2020 11:00 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Jun 01, 2020 8:09 am 
Offline

Joined: Fri Apr 16, 2010 8:55 am
Posts: 5
Hello,

we are happy to announce the new version 6.0 of the XbpPDF and GraPDF classes. Some new features have been added to both classes, as well as a rewrite of some of the existing methods, to make the classes more reliable and efficient.

The new version is 100% compatible with Express++, once you create your Express++ report, you can save it as a PDF with one click.

The new files and the upgrade option are available in our site, http://www.borger.com.br/softsupply

__________________________________________________________________________
Changes for XbpPDF Version 6.0

New Rendering options, see the NEW() method.

New SetPDFAMode, to create PDF/A type files

New EmbedFile and EmbedRelationFile to embed files into the PDF, accept XML files according to the German ZUGFeRD specification

New Encoding support for UNICODE characters, text can now be in ANSI, OEM or UNICODE (UTF-16LE).

New Compress method, to compress PDF files, reducing the size of the created or an existing PDF file.

Font now accepts non whole numbers (ex. oPdf:Font( '8.5 Verdana') )

Two new printing methods PrintA and PrintO, with different rendering options, fell free to try and compare the results a choose whichever gives you a better result.

Several minor fixes to the library

__________________________________________________________________________

Please feel free to contact us at any time at softsupply@terra.com.br

Best regards,
Edgar



Top
 Profile  
 
PostPosted: Tue Jun 02, 2020 12:38 am 
Offline

Joined: Thu Jan 28, 2010 1:22 am
Posts: 864
Location: Sijsele, Belgium
Hi,

Quote:
The new version is 100% compatible with Express++, once you create your Express++ report, you can save it as a PDF with one click.


Do you have a sample of this? I didn't find this in the docs on your site.

_________________
Best regards,

Chris.
www.aboservice.be


Top
 Profile  
 
PostPosted: Tue Jun 02, 2020 4:44 am 
Offline

Joined: Mon Feb 01, 2010 8:45 am
Posts: 123
Chris,

here the way we do it. Edgar has a express.prg included.
But note: As we know, this is only possible in preview mode.

Code:
IF empty( fo->pdfname )
   aadd(aAddButtons,{60,20,"PDF",{||CreatePDF(,fo->pdfshow, fo->pdfemail, NIL, NIL,cOwnerPW, cUserPW)} })
ELSE
   aadd(aAddButtons,{60,20,"PDF",{||CreatePDF(GenOutDir(m_az,Nil,.t.)+rtrim( fo->pdfname)+"_"+dtos(date())+".pdf",fo->pdfshow, fo->pdfemail, NIL, NIL,cOwnerPW, cUserPW)} })
ENDIF

  case drpreview     
        DCPRINT on to oPrinter OPTIONS aOptions PREVIEW HIDE FINDBUTTON ADDBUTTONS aAddButtons;
        ZOOMFACTOR drzoomfakt ;
        PPOSITION aPos[1], aPos[2] PSIZE nMaxCol, nMaxRow

_________________
Klaus


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group