At 12:12 PM 7/26/2004 -0700, Larry Wilson wrote:

Razzak:

Now that is very cool.

Could you explain what the following lines does ?

|ENABLE_PRINTING ON +
|ENABLE_COPYING OFF +
|ENABLE_MODIFYING OFF

Does that mean we can prevent a user from copying,
printing or modifying the file ?


That's very correct, Larry!

ENABLE_PRINTING
Default: ON
If ENABLE_PRINTING is OFF then printing is not enabled.
Values:
  ON
  OFF

ENABLE_COPYING
Default: ON
If ENABLE_COPYING is OFF then page contents cannot be
selected and copied.
Values:
  ON
  OFF

ENABLE_MODIFYING
Default: ON
If ENABLE_MODIFYING is OFF then the PDF document cannot
be modified.
Values:
  ON
  OFF

Very Best R:egards,

Razzak.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak
Memon
Sent: Monday, July 26, 2004 11:52 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Secured PDF Reports in R:BASE 7.5 for Windows


Folks,

Here's an example of R:BASE 7.5 for Windows report, generated
as Secured PDF report:

http://www.rbase.com/rbg75/samples/SalesSumAndSubTotals.pdf
User Password: ConComp    (case sensitive)
Encryption: ON
Encryption Level: 128BIT
Table of Contents (Bookmarks): ON

Example:

-- RBG75_Report_PDF_Options.RMD
-- R:BASE 7.5 for Windows
CONNECT RRBYW10
PRINT SalesSumAndSubTot +
OPTION PDF +
|AUTHOR Accounting Team of ConComp +
|BACKGROUND_COLOR +
|BACKGROUND_FILE NONE +
|BACKGROUND_TYPE CENTER +
|COMPRESSION_METHOD MAXCOMPRESS +
|IMAGE_FORMAT BMP +
|DURATION 0 +
|EMBED_USED_FONTS ON +
|ENCRYPT_FILE ON +
|ENCRYPTION_LEVEL 128BIT +
|FILENAME SalesSumAndSubTotals.PDF +
|FONT_ENCODING WIN_ANSI +
|GENERATE_TOC ON +
|IMAGE_DPI -1 +
|IMAGE_FORMAT BMP +
|INCLUDE_HYPERLINKS ON +
|INCLUDE_IMAGES ON +
|INCLUDE_LINES ON +
|INCLUDE_RICHTEXT ON +
|INCLUDE_SHAPES ON +
|JPEG_QUALITY 100 +
|KEYWORDS SubTotals Totals Sales Summary +
|OPEN ON +
|OWNER_PASSWORD ConCompOwner +
|ENABLE_PRINTING ON +
|ENABLE_COPYING OFF +
|ENABLE_MODIFYING OFF +
|PIXELFORMAT 32 +
|PRESENTATION_MODE NONE +
|RICHTEXT_ENCODING_TYPE PLAINTEXT +
|SHOW_CANCEL_DIALOG ON +
|SUBJECT Sales Summary Report +
|TITLE Customer Sales Sub-Totals and Totals +
|USE_COMPRESSION ON +
|USER_PASSWORD ConComp +
|PAGE_LAYOUT SINGLE_PAGE +
|PAGE_MODE NONE +
|HIDE_TOOLBAR OFF +
|HIDE_MENUBAR OFF +
|HIDE_WINDOW_UI OFF +
|FIT_WINDOW OFF +
|CENTER_WINDOW OFF +
|NON_FULL_SCREEN_PAGE_MODE NONE
RETURN

Imagine the possibilities!

Very Best R:egards,

Razzak.



Reply via email to