home *** CD-ROM | disk | FTP | other *** search
- *:*********************************************************************
- *:
- *: Program: TXINSURE.PRG
- *:
- *: System: Texas Associated Software Laser Library
- *: Author: Jose E. Lopez, Jr.
- *: Copyright (c) 1991, Texas Associated Software - Red Oak, TX
- *:
- *:*********************************************************************
-
- txinit()
-
- txhcfa15(1) && CREATE HCFA1500 FORM TO MACRO #1
- && WE CREATE A MACRO TO SAVE DOWNLOADING
- && TIME BY ONLY DOWNLOADING IT ONCE THEN
- && USING THE TXOVERLAY() FUNCTION TO PRINT IT
-
- txgraphic(01, 02, "texlogo.pcl", 2) && CREATE LOGO MACRO #2
- txgraphic(55, 03, "signture.pcl", 3) && CREATE SIGNATURE MACRO #3
-
- FOR I = 1 TO 3
- txcour12r() && SET FONT TO COURIER 12 POINT
-
- txcolprint(09, 02, .F., "Patient's Name "+STR(I))
- txcolprint(09, 35, .F., "06/30/28")
- txcolprint(09, 52, .F., "Insured's Name "+STR(I))
- txcolprint(11, 02, .F., "Patient's Street Address")
- txcolprint(11, 37, .F., "X")
- txcolprint(12, 02, .F., "Patient's City/State/Zip Code")
- txcolprint(15, 32, .F., "X")
- txcolprint(18, 41, .F., "X")
- txcolprint(24, 52, .F., "SIGNATURE ON FILE")
- txcolprint(25, 07, .F., "SIGNATURE ON FILE")
- txcolprint(25, 40, .F., DTOC(DATE()))
- txcolprint(28, 35, .F., DTOC(DATE()))
- txcolprint(31, 35, .F., "LIC#-G045623")
- txcolprint(32, 07, .F., "PHYSICIAN'S NAME")
- txcolprint(36, 03, .F., "162.9 MALIGNANT NEOPLASM - LUNG/BRONCHUS")
- txcolprint(37, 03, .F., "197.7 MALIGNANT NEOPLASM - LIVER")
- txcolprint(38, 03, .F., "558.10 ENTERITIS/COLITIS FROM RADIATION")
- txcolprint(43, 14, .F., "4")
- txcolprint(43, 18, .F., "9VBATT")
- txcolprint(43, 27, .F., "9 VOLT BATTERY")
- txcolprint(43, 48, .F., "1,2,3")
- txcolprint(43, 55, .F., "0000000")
- txcolprint(43, 64, .F., "2")
- txcolprint(55, 55, .F., "9999999")
- txcolprint(56, 37, .F., "X")
- txcolprint(58, 05, .F., DTOC(DATE()))
- txcolprint(60, 05, .F., "91-2010-PCA-4")
-
- txlnprt85() && SET FONT TO LINE PRINTER 8.5 POINT
- * Remember the Columns change to the columns per inch of the font
- * In the case of LP85 the columns per inch is 16.67
-
- txcolprint(43, 02, .F., DTOC(DATE() - 14) + " " + DTOC(DATE()))
- txcolprint(57, 85, .F., "Childrens Hospital and HomeCare")
- txcolprint(58, 85, .F., "9823 Pacific Heights Blvd., Ste. N")
- txcolprint(59, 85, .F., "San Diego, CA 92121")
-
- txoverlay(1) && PRINT HCFA1500 FROM MACRO #1
- && SEE DOCUMENTATION FOR DIFFERENCE BETWEEN
- && MACRO OVERLAY AND EXECUTE
-
- txmacexec(2) && PRINT LOGO FROM MACRO #2
- txmacexec(3) && PRINT SIGNATURE FROM MACRO #3
-
- txpsource(0) && PRINT CURRENT PAGE AND EJECT
- NEXT
-
- txclear()
- *: EOF: TXINSURE.PRG