[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.- Home
- Sitemap
- Product Forums
- Rocket® COBOL
- Rocket® ACUCOBOL®
- [archive] Printing with AcuCobol
[archive] Printing with AcuCobol
- September 10, 2007
- 11 replies
- 0 views
11 replies
- Author
- Rocketeer
- September 10, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.We have chosen to use the column method of WIN$PRINTER so that we can use the proportional fonts... We just "bit the bullet" and did it. Perhaps others will offer a less intrusive solution?
Rob
- Author
- Rocketeer
- September 10, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.- Author
- Rocketeer
- September 11, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.To Know the end of page on a Report with multiple fonts you have to know the HEIGHT of every font you use and add this height every time you write a line. You must know the height of the page as well. This may be different depending on the paper size you choose. Remember the unprintable zone in this case and margins as well.
WIN$PRINTER does not resolve everything nor ACUBENCH with the ugly HTML code.
We must learn other techniques or change the porgramming lenguage.
My Regards.
- Author
- Rocketeer
- September 11, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.To Know the end of page on a Report with multiple fonts you have to know the HEIGHT of every font you use and add this height every time you write a line. You must know the height of the page as well. This may be different depending on the paper size you choose. Remember the unprintable zone in this case and margins as well.
WIN$PRINTER does not resolve everything nor ACUBENCH with the ugly HTML code.
We must learn other techniques or change the porgramming lenguage.
My Regards.
- Author
- Rocketeer
- September 11, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.To Know the end of page on a Report with multiple fonts you have to know the HEIGHT of every font you use and add this height every time you write a line. You must know the height of the page as well. This may be different depending on the paper size you choose. Remember the unprintable zone in this case and margins as well.
WIN$PRINTER does not resolve everything nor ACUBENCH with the ugly HTML code.
We must learn other techniques or change the porgramming lenguage.
My Regards.
- Author
- Rocketeer
- September 11, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.- Author
- Rocketeer
- September 12, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.I can assure you most programming languages does not provide much Windows native printing facilities at all.
No programming languages provide automatic calculation of the size of the content of a page. If you know of such, please let me know.
These features you are requesting are features normally seen in designated report tools, like for instance Crystal Report, but not in a programming language.
Having said this, why is the ultimo answer to start complaining? Why not, if you feel a certain feature should be present, rather than complaining, suggest it as an enhancement. Even better, propose how you imagine such a feature should work.
I am pleased to state that most of the suggestions / enhancement requests received for Windows printing during my career at Acucorp has been implemented, and I have all intention of continue doing so, provided it is a suggestion that makes sense.
Speaking of mixed fonts... Let me tell you of one nice feature of the winprint-column:
Did you know that you can mix fonts on the same line? Each column may have its own font. You can for instance have the description column in Arial 12 and the numbers column in Courier 10. Believe me, doing such in any other language would require quite a bit of programming on your hand.
Now, if you take the challenge to try this, you will certainly be disappointed that the line is not even, the smaller font appear to have a base line higher than the bigger font. Well, there is actually an opportunity to address this as well. In version 8, due any time soon, there is an opcode WINPRINT-COLUMN-VERT-ALIGN. Call this after you have set all your columns, before you print and your line appear evened out with a common base, so that the difference of the height shows upwards, not downwards.
Oh, did I mention that this of course works transparently with Thin Client, no coding changes required. Which other language give you that?
- Author
- Rocketeer
- September 12, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.I'm sorry if I hurt your fellings. WIN$PRINTER is a Great Routine.
I beg your pardon. I will never critize AcuCorp again.
My Regards.
- Author
- Rocketeer
- September 12, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.I'm sorry if I hurt your fellings. WIN$PRINTER is a Great Routine.
I beg your pardon. I will never critize AcuCorp again.
My Regards.
- Author
- Rocketeer
- September 12, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.I'm sorry if I hurt your fellings. WIN$PRINTER is a Great Routine.
I beg your pardon. I will never critize AcuCorp again.
My Regards.
- Author
- Rocketeer
- September 12, 2007
[Migrated content. Thread originally posted on 07 September 2007]
In order to prepare reports with a look similar to other third party applications what is the suggested font type and size? In the past I have limited myself to the standard courier 10 and 12 standard fonts. There seems to be very few choices (not true type) that do not give the "wavy" effect. If I use those then I have to use the set-column commands of win$printer which means more coding changes for existing reports. Any suggestions? I would especially like to hear from those who are developing applications for resale.I suppose I can say I am a bit sensitive to the Windows printing mechanism yes :-). But that does not mean I am negative to feedback, rather the contrary. It was just the assumption of another language implicitly being better. In many cases, this can be true, but for Windows printing it is actually not so simple, regardless of language.
I have been thinking about this issue a little, and I thought, what if we had a mechanism generating a file status when a form feed is about to occur... Hm... I have to think about that.
Recent badge winners
RICHARD OLDShas earned the badge Orbit Established
RICHARD OLDShas earned the badge Consistent Trajectory
Larry Adkinshas earned the badge Consistent Trajectory
Simone Peccheninohas earned the badge Orbit Established
Simone Peccheninohas earned the badge Consistent Trajectory
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Scanning file for viruses.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
OKThis file cannot be downloaded
Sorry, our virus scanner detected that this file isn't safe to download.
OK