Re: Seeking forms advice


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on October 08, 2009 at 13:07:57:

In Reply to: Seeking forms advice posted by Stephen Auerbach on October 07, 2009 at 10:40:12:

I think that the "build a form" in the printer's memory method is too dependent on a specifice printer's capability. It's better to go the Window's method. Build the form in PC memory, add Comet data, release form to printer. Repeat until done. This makes your program independent of the printer device (printer, fax, or PDF). Downside is that you have to reload the form for every page.

Some of my programs use FORMAT and Windows commands together. Lets me get multiple fields onto a line with one "print". Made some of the conversions from continuous forms to Windows forms a lot easier.

RC31: FORMAT_
@(5);RPAYMHD1$;_
@(56);RPAYAMT1,'#,###,###.00-'

Gosub GDI.InitLogFont
lfHeight$ = IntelD(16*20) ! 16 POINT
lfFaceName$ = "Lucida Console"+NullByte$
lfWeight$ = IntelD(FW.BOLD)
Gosub SetFont

PX1 = (2.80 * TWIP.INCH) - XOFF
Data$ = "Cash Register Receipt"
Print (1) (TR);(TextOut = PX1, PY1);Data$;NullByte$

PY1 = PY1 + (1.50 * LineHeight) ! SPACE DOWN

!-------------------------------------------------------------------------
Gosub GDI.InitLogFont
lfHeight$ = IntelD(10*20) ! 10 POINT
lfFaceName$ = "Lucida Console"+NullByte$
lfWeight$ = IntelD(FW.BOLD)
Gosub SetFont

PY1 = PY1 + LineHeight
PRINT (#,RC31)
INPUT (#) Data$
Print (1) (TR);(TextOut = PX1, PY1);Data$;NullByte$



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]