Christian,
 
Are you running the latest version of 7.6 ? 
 
Make sure you check the syntax help on Printing PDF in RBase Help, lots of
options there.
 
If you have images in your pdf, make sure you use this syntax:
PRINT fakturaunderlag WHERE kund < 9999 +
OPTION PDF +
|FILENAME &vfakt_underlag +
|IMAGE_FORMAT JPG +
|INCLUDE_IMAGES ON +
|USE_COMPRESSION ON


Hope this helps.

Bill Eyring

 

 

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of Harry Two
Fingers
Sent: Friday, April 30, 2010 6:23 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Printing to PDF


I have a problem with this piece of code. It works fine in Rbase 7.6.



SET VAR vfakt_underlag TEXT = ('Fakturaunderlag'+'1012'+'.pdf')

PRINT fakturaunderlag WHERE kund < 9999 OPTION PDF|FILENAME .vfakt_underlag

RETURN



It doesn't complete the pdf file. If I try to open the pdf file, Acrobat
says

the file is broken or used by another program.

The latter is true because the rbase eep file hangs.



If print OPTION is Screen, Printer, BMP, TXT,RTF and XLS the code works.



With TIFF and PDF the code "hangs".



I am running RBase 9 on a Windows(XP) Bootcamp partition, on a Mac Pro.

The report I use (fakturaunderlag) has two breaks in it, (customer and

transaction).



So for the time being the workaroundcode I use is: PRINT fakturaunderlag

WHERE kund < 9999.



But I sure would like to have it the more automated way above.



Regards

Christian




Reply via email to