Here's a suggestion:

Start by getting an idea of just how many different vertical adjustments you might need, and how many horizontal adjustments you might need (hopefully this is a small number). Then, for the vertical adjustments, put a region at the very top of the page header band, set to stretch, no lines for the border. In the region place a variable image. Then create a series of .bmps that are really just white space, of varying heights dependent on the different vertical adjustments you need. The idea is that each location using the app would experiment with the various blank image sizes to get the vertical adjustment they require (you, of course, write code for this) and then you store a value in your database indicating which of the images worked. In the code that prints the report you set the variable to that image and let it print. This will give you the same vertical offset every time.

For the horizontal offset it is messier. Here you need to create as many versions of the report as you need horizontal offsets, varying the left margin slightly in each. Again the location experiments with code you write to assist, then you store the report name of the best fit. And since each of these horizontal variants has the same vertical variant approach, you don't need to multiply the number of horizontal and vertical possibilities - you just have a number of report formats that represent the vertical variants. It's easy to develop - there's really just one report layout and you vary the left margin in the variants.


It seems this is a problem for all
software companies that print
insurance claim forms.  Companies
like MediSoft. Lytec .... all have
features that allow the doctors office
to adjust the margins to account for
the differences in printers.

marc





----- Original Message -----
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Thursday, March 17, 2005 8:16 AM
Subject: [RBG7-L] - Re: Reports adjust top margin


> At 09:01 AM 3/17/2005, Marc Shluter wrote: > > >But will the print still get moved up and down depending > >on the size of the top margin on each printer. I will > >not be able to test it and I would hate to send out a but > >update and have egg on my face. Of course that would not > >be the first time. > > > Marc, > > Yes, the print will get moved up or down depending on > RBG7.x Report Settings. > > You should always test everything yourself first! > > Very Best R:egards, > > Razzak. > >

Emmitt Dove Manager, DairyPak Business Systems Blue Ridge Paper Products, Inc. 40 Lindeman Drive Trumbull, CT 06611 (203) 673-2231 [EMAIL PROTECTED] [EMAIL PROTECTED]



Reply via email to