Source language: Translate to:

Configuring Report before print

Questions about our Advanced Database plug-in

Moderator: Neosoft Support

Configuring Report before print

Postby BRobinsonS » Mon Nov 09, 2015 7:48 pm

Is it possible to set the size of the page of report and position of objects on the page before printing report?

I have an envelope printing app that I want to allow creation of different custom envelope sizes.
The position of return and forwarding addresses would change depending on the size of envelope.
The details/settings would be kept in a table for the different custom sized envelopes.

Maybe even to create labels sizes for envelopes too big for user's printer.

Your thoughts would be appreciated.
Brian Robinson
'When all else fails, try again!'
www.ComputerSoftwareSystems.com
User avatar
BRobinsonS
 
Posts: 337
Joined: Sun Sep 25, 2005 9:00 pm
Location: Ontario, Canada

Re: Configuring Report before print

Postby Gaev » Tue Nov 10, 2015 6:55 am

Brian:

Given that there are only a few (envelope) sizes to contend with ... could you replicate the report (except for the locations of the content) for each supported size ? ... then ask user to choose from one of the sizes ... followed by an If/Then/Else code block to pick the corresponding Report at run time.
User avatar
Gaev
 
Posts: 3718
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Configuring Report before print

Postby BRobinsonS » Tue Nov 10, 2015 7:45 am

I am trying to create a NeoBook version of a Delphi version of my envelope program An EZ Envelope. http://www.AnEZEnvelope.com
Delphi is too expensive to update. I am at Delphi 2009 and only develop mostly as a hobby.
I have created a 'report' for the most popular envelope sizes and will do that with the Neobook version.

However, the Delphi version has the ability to create a custom size envelope and I was hoping to duplicate in Neobook.
I am not sure of how many of my customers use this feature but I didn't want the Neobook version to be any less featured.

Another task will be to have the return address adjust to the size of the logo/image being used.
But that would be another discussion.
Brian Robinson
'When all else fails, try again!'
www.ComputerSoftwareSystems.com
User avatar
BRobinsonS
 
Posts: 337
Joined: Sun Sep 25, 2005 9:00 pm
Location: Ontario, Canada

Re: Configuring Report before print

Postby Neosoft Support » Tue Nov 10, 2015 7:11 pm

Unfortunately, reports must be designed for a certain size paper/envelope. It doesn't have the ability to automatically adjust to any size paper.

Programs created with Delphi 2009 will still run perfectly well under Windows 10.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Configuring Report before print

Postby BRobinsonS » Wed Nov 11, 2015 6:52 pm

I have kept Delphi 2009 alive having installed it from my XP computer to my Windows 7 laptop (after some tries) now Windows 10.
Haven't done a lot with Delphi but would like to maintain the app I refer to.

However, I was not successful installing it on my newer Desktop computer running Windows 7.
So don't have a backup Delphi to my laptop.
Any suggestions?

I enjoy 'programming' with Neobook and NeobookDBPro and hope it will continue to satisfy my needs.
Thus my desire to convert other apps to Neobook.
Brian Robinson
'When all else fails, try again!'
www.ComputerSoftwareSystems.com
User avatar
BRobinsonS
 
Posts: 337
Joined: Sun Sep 25, 2005 9:00 pm
Location: Ontario, Canada

Re: Configuring Report before print

Postby Neosoft Support » Wed Nov 11, 2015 7:16 pm

However, I was not successful installing it on my newer Desktop computer running Windows 7.
So don't have a backup Delphi to my laptop.
Any suggestions?


I don't know. Maybe you can find some information on one of the Delphi forums. However, I was able to install a copy of Delphi 7 on a Windows 10 PC. The only thing I had to do differently was to install it to a folder off the C: drive (C:\Delphi 7) instead of the installer default (which Windows 10 didn't like for some reason).
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Configuring Report before print

Postby BRobinsonS » Wed Nov 11, 2015 7:39 pm

Now you mention it. I believe I read that somewhere and maybe I did install off C: on laptop.
I will have to look again.

I think I will uninstall on the Desktop and re-install in C:\Delphi2009

Thanks.
Brian Robinson
'When all else fails, try again!'
www.ComputerSoftwareSystems.com
User avatar
BRobinsonS
 
Posts: 337
Joined: Sun Sep 25, 2005 9:00 pm
Location: Ontario, Canada

Re: Configuring Report before print

Postby BRobinsonS » Thu Nov 12, 2015 6:29 pm

Uninstalled Delphi 2009 from Desktop Computer along with NexusDB and Fast Reports add-ons.

Checked Laptop and saw Delphi was installed in Programs (x86) folder but Nexus DB and Fast Reports were installed off root C:
i.e. C:\NexusDB installed and C:\Fast Reports Installed folders.
(Perhaps the cause of errors.)

So installed similar to Laptop and seems to compile the app I tested.
App 'seems' to run ok. (but early).

A couple of error messages showed from Delphi.
I maybe should have stuck with the original plan to install Delphi in C:\Delphi2009 :oops:

but we will see.

Thanks for offering 'off-topic' help.
That is one of the reason I enjoy this forum.
Brian Robinson
'When all else fails, try again!'
www.ComputerSoftwareSystems.com
User avatar
BRobinsonS
 
Posts: 337
Joined: Sun Sep 25, 2005 9:00 pm
Location: Ontario, Canada


Return to NeoBookDBPro

Who is online

Users browsing this forum: No registered users and 1 guest