Hi, I�m new here in the board, i�m working with Axapta for about one
year and start to develop some customization for localize Axapta for
Brazil since september 2003 (not Microsoft official yet).
I made 2 classes that holds with dot matrix print, the 1st one just
deals with layouts (put the information on columns and lines, adjust
margins), adjust the pitch.

And another class (that uses a COM that i wrote with Centura) to deal
with print commands (ESC/P).

When i�m in development, Axapta showed unable to deal with the 0
char, and acts a null one i think ( command Esc C chr$(0) #, that set
the page lenght in inches) so i build the COM.
If someone have the same problems, I think that we could help each
other to solve this problems and grow the 1st class (change the font
size, adjust better the margins).

I have another issues with invoicing process, if someone could help,
will be great!

Bye,
Rodrigo Matiazo ,
S�o Paulo, Brazil

--- In [EMAIL PROTECTED], "Pieter Wijnen"
<[EMAIL PROTECTED]> wrote:
>
> Wouldn't it be nice to finally get rid of the dot-matrix reporting
> thinking (where you had a fixed character width & height) & issue a
> simple page-feed at the right moment - not forgetting page & section
> headers/footers mind you....
>

>
> Pieter
>

>

>
> -----Opprinnelig melding-----
> Fra: Chwaszczewski, Jim [mailto:[EMAIL PROTECTED]
> Sendt: 5. oktober 2004 16:12
> Til: Axapta Dev (Yahoo)
> Emne: [development-axapta] Filling Out a Report Page
>

>
>
> When printing a report, rather than counting lines to fill out a
page,
> I've dynamically changed the height of a programmable section to
fill
> out a page before printing totals located at the bottom of the
page.  It
> works well when you have lines on either side.  I've used mm to
specify
> heights on the report objects.  Depending on you printer, the lines
are
> straighter.  Also, you only print one line to fill out the page. 
Here's
> a snippet of code from the report's fetch method...
>
>             // print detail lines
>             ...
>             // when done with detail...
>
>             // not enough room for totals on this page
>             if (element.mm100Left() <
> ProgrammableTotalsLine.heightmm100())
>             {
>                 BlankDetail.height(element.mm100Left
()/100,Units::mm);
> // size is rest of page
>                 element.execute(2);  // print BlankDetail line
>                 element.newPage();
>             }
>             // print blank section before totals - size is rest of
page
> minus the height of the totals
>
> BlankDetail.height((element.mm100Left()-PageFooter.heightmm100()-
Program
> mableTotalsLine.heightmm100())/100,Units::mm);
>             element.execute(2);
>
>             // print Totals
>             element.execute(1);  // this is the
ProgrammableTotalsLine
>
> Jim Chwaszczewski
> Wipfli, LLP
> Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>  
> --------------------------------------------------------
>
> The content of this E-mail and any attached files is confidential,
and
> may be subject 
> to certain privilege.  This email is intended for the designated
> recipient(s) only.  
> If you have received this E-mail in error, please immediately
contact
> the sender.
>  
> WIPFLI LLP
> Business experts.  Right from the start.
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
> click here
>
<http://us.ard.yahoo.com/SIG=12924lqvm/M=295196.4901138.6071305.300117
6/
>
D=groups/S=1705006764:HM/EXP=1097090081/A=2128215/R=0/SIG=10se96mf6/*h
tt
> p:/companion.yahoo.com>
>

> <http://us.adserver.yahoo.com/l?
M=295196.4901138.6071305.3001176/D=group
> s/S=:HM/A=2128215/rand=890405390>
>

>
>   _____ 
>
> Yahoo! Groups Links
>
> *         To visit your group on the web, go to:
> http://groups.yahoo.com/group/development-axapta/
>  
>
> *         To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscri
> be>
>  
>
> *         Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> Service <http://docs.yahoo.com/info/terms/> .
>
>
>
> [Non-text portions of this message have been removed]







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to