//--------------------------------------------------------------------//
        //                                                        M e t h o d //
        // g e n e r a t e P a g e S e t                                      //
        //--------------------------------------------------------------------//
        //                                                                    //
        // Write test data page(s) to output file.                            //
        //                                                                    //
        //--------------------------------------------------------------------//

        private static void generatePageSet(BinaryWriter prnWriter,
                                            Int32 indxPaperSize,
                                            Int32 indxPaperType,
                                            Int32 indxOrientation,
                                            Boolean formAsMacro,
                                            Boolean incStdPage,
                                            UInt16 paperWidth,
                                            UInt16 paperLength,
                                            UInt16 logXOffset,
                                            Int16 logLeftOffset,
                                            Int16 logTopOffset,
                                            UInt16 logPageWidth,
                                            UInt16 logPageHeight)
        {
            if (incStdPage)
            {
                generatePage(prnWriter,
                             indxPaperSize,
                             indxPaperType,
                             indxOrientation,
                             formAsMacro,
                             true,
                             paperWidth,
                             paperLength,
                             logXOffset,
                             logLeftOffset,
                             logTopOffset,
                             logPageWidth,
                             logPageHeight);
            }

            //----------------------------------------------------------------//

            PCLWriter.defLogPage(prnWriter,
                                 indxOrientation,
                                 logLeftOffset,
                                 logTopOffset,
                                 logPageWidth,
                                 logPageHeight);

            PCLWriter.marginLeft(prnWriter, 0);

            PCLWriter.marginTop(prnWriter, 0);

            //----------------------------------------------------------------//

            generatePage(prnWriter,
                         indxPaperSize,
                         indxPaperType,
                         indxOrientation,
                         formAsMacro,
                         false,
                         paperWidth,
                         paperLength,
                         logXOffset,
                         logLeftOffset,
                         logTopOffset,
                         logPageWidth,
                         logPageHeight);
        }