KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Determining what pages the user printed
PRODUCT: 4D | VERSION: 12 | PLATFORM: Mac & Win
Published On: March 9, 2012

At times it can be useful to know if a user has printed a selection of pages or the full document. The GET PRINT OPTION has two options that will return the pages printed.

GET PRINT OPTION(6;$start)
GET PRINT OPTION(7;$end)

Using these two lines of code after a printing operation will place the starting page number and the ending page number the user chose to print in the $start and $end variables respectively.