Tag Archives: PRINT
M., Ronaldo ( IMATECH )
Contributed work of M., Ronaldo ( IMATECH )
MR-Print: Harbour Print System (array, txt, prn, dbf => pdf)
SP_SL_COPIES
SL_COPIES() Short: ------ SL_COPIES() Sets the laserjet to print n copies of each page Returns: -------- cCode => control string to send to the printer Syntax: ------- SL_COPIES(nCopies) Description: ------------ Sets the laserjet to print <nCopies> copies of each page. Examples: --------- cCode := SL_COPIES(2) // prints 2 or each page ?cCode Notes: ------- Does not send anything to the printer - instead returns a control string that you send to the printer. String can be sent with ? or ?? or QOUT() or QQOUT(). For HP and compatible(PCL) Laserjet printers. Source: ------- S_HPLAS.PRG
SP_SAPPOINT
SAPPOINT() Short: ------ SAPPOINT() Appointments manager - uses popup calendar. Returns: -------- nil Syntax: ------- SAPPOINT() Description: ------------ Presents a menu driven appointment manager, including the ability to print the day's appointments. Examples: --------- SAPPOINT() Notes: ------- see SLSF_APPOINT() for setting the default APPOINTMENTS dbf to another location/name. Default is "APPOINT". Source: ------- S_APPT.PRG
SP_S1LABEL
S1LABEL() Short: ------ S1LABEL() Prints a single label Returns: -------- Nothing Syntax: ------- S1LABEL(cLblfile) Description: ------------ Prints a single label (1 or more copies) for the current record, based on the dimensions and contents definitions in .LBL file name <cLblfile>. The dimensions and contents are figured, and then presented for printing and/or editing. Examples: --------- setkey(K_F10,{||S1LABEL("MAILING.LBL")} ) // sets key F10 to call this // as a popup Source: ------- S_1LABEL.PRG
SP_QUIKREPORT
QUIKREPORT() Short: ------ QUIKREPORT() Runtime pre-defined report printing module Returns: -------- Nothing Syntax: ------- QUIKREPORT([cReportName]) Description: ------------ Presents a picklist of pre-defined reports and prints the selected one. [cReportName] name of the report to run - picklist is bypassed. For batches. Examples: --------- QUIKREPORT('Quarterly Hog Count') Warnings: ---------- Requires DBF and indexes to be open Source: ------- R_QUIKR.PRG
SP_HARDCOPY
HARDCOPY() Short: ------ HARDCOPY() Prints current record or memo fields to printer Returns: -------- Nil Syntax: ------- HARDCOPY([aFields,aFieldDesc,aFieldTypes]) Description: ------------ Prints out contents of the current record, or any memo fields in the current record, to printer or file. [aFields,aFieldDesc,aFieldTypes] are optional arrays of field names, field descriptions, and field types. Default is field names, field names, and field types in current area. Examples: --------- HARDCOPY() Source: ------- S_HARDC.PRG
SP_FILEREAD
FILEREAD() Short: ------ FILEREAD() Lists a text file of unlimited size Returns: -------- nothing Syntax: ------- FILEREAD([nTop,nLeft,nBottom,nRight],[cFileName],[cTitle],; [lSearch],[lMark]) Description: ------------ Lists text file [cFileName] of unlimited size in a programmer definable window of dimensions [nTop..nRight] Allows up down right left scrolling. Use this for reports or output sent to a disk file. If [cFileName] is not passed, a box asks for the filespec and then allows a picklist of files of that spec. If [cFileName] is passed as a wildcard (i.e. "*.DOC"). a picklist of files of that spec is presented. If [nTop..nRight] are not passed, a default window of dimensions 2,2,22,78 is used. [cTitle] is an optional title. This overrides the default which is the file name. [lSearch] is a switch to allow text searches. Default is True [lMark] is a switch to allow block marking (with Copy to File or Print) Default is True. Examples: --------- REPORT FORM summary TO summary.txt FILEREAD(2,2,22,78,"SUMMARY.TXT","Summary File") Notes: ------- Fileread() will use SET DEFAULT if no path is specified. Source: ------- S_FILER.PRG
SP_FASTFORM
FASTFORM() Short: ------ FASTFORM() Prints a selected formletter for current record Returns: -------- Nothing Syntax: ------- FASTFORM() Description: ------------ Presents a picklist of formletters to print against contents of current record. Examples: --------- If nChoice = 4 // form letter FASTFORM() endif Notes: ------- Utilizes a form created by FORMLETR() and plugs in values from the current record. Interface is a picklist of forms available. Depends on the current DBF to match the field values in the form. Source: ------- S_FFORM.PRG