|
You're welcome, it's just a piece of info and we'll see how valuable it becomes (0.02 Euro :-)... Sorry, i mixed something up, you seem to define everything straight in the DDS, no escape sequences or other ascii rubbish in your data stream. Maybe you can, but also with quite an effort, use some of the "compilers" (whatever) habits to your advantage. I assume that you have the fields to be printed in a single record, like A RECORD A FIELD1 A FIELD2 and so on. And when you print this, all in Arial, Field2 starts drifting around. This is possibly due to relative positioning to Field2. Maybe it's better when you separate it to more records, all printed in the same line. A RECORD1 A FIELD1 A RECORD2 A FIELD2 (no line feed after record1, of course) This might force an absolute positioning, and this might be OK, when the blanks are printed in a fixed space font. Where did you set Arial? With DDS keyword or "outside", in the printer file attributes? If it's the DDS keyword, and the outside is still 11=Courier, this might work. (I know this from doing some studies on SCS data stream in order to write a converter to AFPDS.) Maybe this helps, or was at least of some interest, best regards Anton Gombkötö ----- Original Message ----- From: <Phil.Conibere@tgb.toyota.co.uk> To: <RPG400-L@midrange.com> Sent: Thursday, April 13, 2000 5:12 PM Subject: Re: Fonts & RPG > > > Yes, you are absolutely correct Anton - I hadn't noticed that at all, wood for > the trees and all that. Thanks! > > However... can't quite see how I'm going to change the font in the middle of a > field in the DDS.. the plot thickens..... > > Cheers, Phil. > > > > > Anton Gombk ---------------------------------------------------------------------------- ---- ötö <Gombkoetoe@ASsoft.com> on 13/04/2000 13:19:16 Please respond to RPG400-L@midrange.com To: RPG400-L@midrange.com cc: (bcc: Phil Conibere/ISD/ToyotaGB) bcc: Phil Conibere/ISD/ToyotaGB Subject: Re: Fonts & RPG ---------------------------------------------------------------------------- ---- > > Are you sure that the "1" and the "8" are different wide? When i select > Arial and write 1111111111 in one row and in the one underneath 8888888888, > they have the same length. (Digits have the same width, normally. There are > exceptions from the rule, of course.) > > I think that the blanks are your problem. "bbbbb1" and "888888" will lead to > a 1 standing much too far left. If this is the case, try to insert the font > changing sequence just before the first digit and leave the blanks in a > fixed space font. > > If you have now just inserted the font change at the beginning of the data > stream, this is much work. > Then follow the advice and use a fixed space font. > > 0.02 Euro > -- > Anton Gombk ---------------------------------------------------------------------------- ---- ötö -----Urspr ---------------------------------------------------------------------------- ---- ¨¹ngliche Nachricht----- Von: <Phil.Conibere@tgb.toyota.co.uk> An: <RPG400-L@midrange.com> Gesendet: Mittwoch, 12. April 2000 17:02 Betreff: Fonts & RPG > > > Here's a little brain teaser. I have an RPG (and an EXTERNAL(!) PRTF) that > prints customer statements. A requirement has been for the font to be made Arial > - which I have done (thanks to the help from this group), however, Arial is a > proportional font so a column of debits on the page all look out of alignment > (because a '1' is smaller than an '8' say), other than using a different font > for the debit values, does anybody know a way around this? > > Has anyone used ICS's Formsprint? Would this be an easier solution to re-format > the output? > > Ta, > Phil. > > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.