Re: printing variable problems
- From: JG <jg@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Apr 2006 10:28:44 +0100
Marco van de Voort <marcov@xxxxxxxx>said
On 2006-04-12, Klaus Jorgensen <kj@xxxxxxx> wrote:
I'm no expert in proportional fonts, but are you telling me that
printing a string that is prefixed with a given number of space
characters, does not always start at the same position?
Will the printer print the xxx's on a different position if printed as
follows:
writeln(space(30),'xxx iiiiiiii');
writeln(space(30),'xxx mmmmmmmm');
No, but the "iiii" and "mmm" section have different lengths, and
writeln('i',space(30),'xxx iiiiiiii');
writeln('w',space(30),'xxx mmmmmmmm');
typically goes wrong.
More importantly, the OP wants (needs) a multi column facility, even if
not for two different descriptions on one line (cannot see why that is
necessary) but certainly for a Quantity, Description, Price, (VAT), Line
total . . . so a minimum of 4 and probably more 'Tabs' that align
correctly - and with money the decimal point needs to be aligned (for a
professional appearance).
To achieve this I spent many hours writing routines to
Align_Right(x.x,x.x), H_Pos(x.x), Print_Money(xx.x,x.x), Set_Face('T'),
set_Point(x), Print_Date(date_variable), etc.
The Esc P2 codes are readily available for Epson Printers, many of which
are common to the full range. Some of course are specific to the
features/capabilities of particular models.
JG
.
- Follow-Ups:
- Re: printing variable problems
- From: Klaus Jorgensen
- Re: printing variable problems
- References:
- printing variable problems
- From: jaf . 2k
- Re: printing variable problems
- From: Klaus Jorgensen
- Re: printing variable problems
- From: Marco van de Voort
- Re: printing variable problems
- From: Klaus Jorgensen
- Re: printing variable problems
- From: Marco van de Voort
- printing variable problems
- Prev by Date: Re: printing variable problems
- Next by Date: Re: USB Support in BP7
- Previous by thread: Re: printing variable problems
- Next by thread: Re: printing variable problems
- Index(es):
Relevant Pages
|