× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Inline

At 04:40 PM 7/28/02 -0400, you wrote:
>I am preparing to create a new 400 invoice form and print program. I'll be
>using an external printer file object and printing to an HP Laser jet. These
>questions come to mind right away:
>
>1. Can you use multiple font sizes or font sets for different fields in a
>print file and, if so, what affect will that have on overflow/line counts
>(e.g. if i print 3 lines, all with different font sizes, will my internal
>line counter still be 3 and will my overflow line marker not be
>compromised?).

AFAIK, yes. From DDS Reference, "The overflow condition signals when the
overflow position (in inches) is reached." IIRC, fields with FONT() print
on the line according to LPI settings. That's why you need to leave room if
you use larger font size, sometimes.

If you use POSITION(), this does not contribute to overflow processing or
line counts.

I think!   <g>


>2. where do you indicate a portrait/landscape definition for printing?

On the CPI, LPI, PAGESIZE & PAGRTT parameters of CRTPRTF. Portrait would be
CPI(10) LPI(6) PAGESIZE(66 85) PAGRTT(0), landscape would be
CPI(10) LPI(6) PAGESIZE(51 110) PAGRTT(90).


>Thanks much everybody.
>
>Rick Rayburn



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.