from the code below:
Code: Select all | Expand
#include "fivewin.ch"
function Main()
TPreview():bSaveAsPDF := { | oPreview, cPDF | cPDF := FWSavePreviewToPDF( oPreview ), ;
If( Empty( cPDF ), , ShellExecute( oPreview:oWnd:hWnd, "open", cPDF ) ) }
XBrowse( "CUSTOMER.DBF" )
return nil
the created preview looks like this:

and:
It creates PDF file normaly but the content of the file is like this:

Strange...