I find it annoying that I can not print a specific page or range of pages with the Delphi XE8 IDE. The only option is to print every page in the Delphi XE8 source code file. That option is not satisfactory so I wrote this program to print Delphi XE8 source code to my specifications.
Insert a new record into the database. Go to the Source Code tab and left click the mouse to make the popup appear. Click on the Load Memo menu item and a file open dialog box will appear. Select the desired source code file. Notice that by default this utility inserts number lines each line of source code dynamically.
Click on the Print Source main menu item and notice Fast Reports preview interface appears. From here you can print any or all pages of the source code.
The SQL to create the associated table can be reviewed below.
[codesyntax lang=”sql”]
-- phpMyAdmin SQL Dump -- version 4.3.7 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 11, 2015 at 05:03 PM -- Server version: 5.6.17 -- PHP Version: 5.5.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `bcsi` -- -- -------------------------------------------------------- -- -- Table structure for table `bdoc` -- CREATE TABLE IF NOT EXISTS `bdoc` ( `id` int(11) NOT NULL, `cat` varchar(75) NOT NULL, `note` mediumtext NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `bdoc` -- ALTER TABLE `bdoc` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `bdoc` -- ALTER TABLE `bdoc` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
[/codesyntax]
The component documentation can be viewed by clicking here.
The source code may be viewed by clicking here.
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.