Documentation

Home < Vision Point < LASERTOOLS

LASERTOOLS

General Info:

LASERTOOLS are set up to work on the ACCPAC Invoices, Statements, Sales Orders and Purchase orders. It will also print a packing list with the invoices. If using an HP Laserjet III or compatible, the programs will use the internal fonts and will not require any downloading of fonts. Other fonts may be configured in LPFNTSET.prg

LASERTOOLS has been configured to take advantage of the printer setups in ACCPAC for Vision Point. Each copy of each form can be configured differently and sent to different printers. The printer to use is determined by the form setup covered below.

Installation:

To use this enhancement run the installation program (TOINST) as described in the installation guide. The programs and databases will be configured automatically. The programs print the form itself, the header information, and the basic information on the form. Each program will print the logo if it exists and has been properly named. Each company can have a unique logo if desired. The logos need to be in printer form. Many conversion programs are available that will output to laser format. Once the logo is created, give it an name of "LASPRT", the company number ie 99) and an extension of PRT. For example the file: LASPRT99.PRT would be used when printing forms for company 99.

Setup:

To change the form design, select Form Maintenance from the Extension Menu in accounts receivable, purchase orders or sales orders. When selected the choice will be provide on which type of form to edit, as shown in figure(1).

Setup Screen

Select one of the types. Once selected, enter the copy number or blank to list all. The current form information will be displayed as depicted in figure(2).

Setup Screen

Enter Choice (Edit/Del/Fwd/Back/Quit)

Press:

E - Edit the information about this copy of the form.

D - Delete the information for this copy.

F - Forward to the next copy.

B - Back to the last copy.

Q - Quit

Select "E" to edit and the form can be changed as follows:

Form: Cannot edit this block. Information only. Determines which form to modify.

INVOICE - Invoices

SORDER - Sales Orders

PORDER - Purchase Orders

PAKLIST - Packing Lists

Copy Number: Determines which copy number of the form is being changed. Cannot alter it from this display.

Form Name to Print: Name of the form to print in the upper right corner, such as: Purchase Order, Sales Order, Invoice,etc.

Copy to Information at the bottom of the form: Whatever is put here will print on the bottom of the form.

Examples:

For Invoices: "Remittance Copy, Please Include with Payment"

For PO's: "Vendor Original Signature Required________________________" or "Receiving Copy Received by _______________________"

Show Payments: (Invoice Only) If payments should be printed on the invoice and deducted from the total due.

HPIII Compatible: Provides capability to print on some printers that are not HPIII compatible.

Show Logo: Print logo on this copy if available.

Show Price/Cost: Depending on the form. This will suppress the information for printing.

Show Contact: Prints the contact at the top right of the form if selected.

Show Phone: Prints phone number at the top right of the form if selected.

Show Fax Number: Prints fax number at the top right of the form if selected.

Show Message: Prints the message in the middle of the header for revised invoices and other exceptions to the normal printing.

Copy to Position: (Center/Left)

Press:

C - to center the copy to information at the bottom of the form.

L - to left justify the copy to information.

ACCPAC Printer: Enter the printer, or enter partial and select as depicted in figure(3). Each copy can go to a different printer if desired. When editing the printer information, it will be validated against the currently installed printers. If part of the printer name is entered, or if the name is entered incorrectly, the selection window in figure(3) will be displayed. To select a printer, use the arrows or press to quit without selecting.

Setup Screen

Operation: Once installed, all operation is as it was except the question will be asked if printing on a laser.

Programming: Each of the boxes and lines are described in the code to make it apparent how they are printed.

  • Two functions in the program TOLASR.PRG are used for most of the printed lines:

    PROCEDURE LPSAY

    line = lpsay(text,fontname,line,column,scale,orientation)

    TEXT - What to print

    FONTNAME - font name to use (set up in lpfntset)

    LINE - line to print it on

    COLUMN - column to start the print

    SCALE - inches or rows

    ORIENTATION - portrait or other structure

    PROCEDURE LPBOX

    DO LPBOX WITH TOPLINE, LEFTCOL, BOTTOMLINE, RIGHTCOL, SHADING, LINETHICK, TYPE, SHADOW, TYPEP, LNCOLOR, BOXPAT

    TOPLINE - The top line of the box (row)

    LEFTCOL - Left column of box

    BOTTOMLINE - bottom line or row

    RIGHTCOL - Right column

    SHADING - shading on the inside

    LINETHICK - thickness of the line

    DBL - not used

    SHADOW - shadow around box

    TYPEP - rows or inches

    LNCOLOR - line color

    BOXPAT - pattern to make the box from

    Other Programs:

    PROCEDURE P0cpname

    Includes the copy names to print on the bottom of the forms. Names can be changed as desired in this program. To provide additional copy names, just add more lines.

    PROCEDURE lpfntset

    Provides the font setups. The fonts can be changed in many different ways, from altering which font is used, to the way it shows on the forms.

    (toolbox:ltdocs:8-26-94) 6

Laser Tools

Description:

If the programs are previously unmodified and the same versions, these new programs may just be copied over. As with all modifications, it is recommended that the ACCPAC versions be checked to assure they are the same. Programs that have been modified are distributed in the same manner as described in the ACCPAC Installation Guide. Programs beginning with "TO", "T0", and "P0" should be treated the same as "SYS" files in ACCPAC, and should be located in the same directory as "SYSDATA.DBF". If there are any databases on the distribution disk that begin with "TO" they should also be located in the system directory. Please refer to the installation instructions. The TOINST program will normally rename and locate programs as required, but some files may need to be moved depending on the individual system configuration.

       
Program and Form Changes:

The following programs and forms have either been changed or added:

TYPE FILE NAME DESCRIPTION
MENUS
ARMAIN.MPR AR Menu Display
POMAIN.MPR PO Menu Display
SOMAIN.MPR SO Menu Display
PROGRAMS
ARCREA.PRG Set up variables, delete files, create files
ARMENU.PRG AR Menu Program
ARPAKH.PRG Print the header information of the packing lists
ARPAKS.PRG Print Packing slip
ARPSTM.PRG Print Invoice & Credit Memo
ARPSTMD.PRG Print the detail of the invoice
ARPSTMH.PRG Print the form and header of the invoices on laser
ARPSTMM.PRG Print the body of the invoice
ARSTAT.PRG Print Customer Statements
ARSTATL.PRG Print Statement on Laser
LTUPDATE.PRG Laser Forms Update Program
POCREA.PRG Set up variables, delete files, create files
POMENU.PRG PO Menu program
POPSTM.PRG Print Purchase Orders
POPSTMD.PRG Print Detail of the Purchase order
POPSTMH.PRG Print Form and header of the purchase orders
POPSTMM.PRG Print the body of the Purchase Order
SOCREA.PRG Set up variables, delete files, create files
SOMENU.PRG SO Menu program
SOPAKS.PRG Print Sales Order Packing Lists
SOPSTM.PRG Print Sales Orders
SOPSTMD.PRG Print Detail of Sales Orders
SOPSTMH.PRG Print the form and header on the laser
SOPSTMM.PRG Set up Sales Order for Printing
TOCREA.PRG Set up variables, delete files, create files
TOINST.PRG Installation Program
TOLASR.PRG Set up LASER for printing
TOLIST.PRG List Choices and provide selection
TOLTSET.PRG Set up laser forms
TOPRTPK.PRG Select Printers
BAUPDATE.PRG Update program for BA
SMCREA.PRG Create/Delete and Setup Datafiles
SMDTBL.PRG Table Maintenance
TOBOX.PRG Draw a box with optional shading
TOCRE1.PRG Create Databases for a module
TODBCK.PRG Build/Update Fields for Database Files
TOFLOC.PRG Locate Directory Placement of Files
TOMNB9.PRG Custom Bar Menu
TOMNU9.PRG Custom Menu selections
TOTGPK.PRG Browse Assistance Setup

Database Changes

SYLTFMnn.DBF

Lasertools Form Setup

Tags:

FORMCODE Key: formcode+STR(100+copyno,3,0)

FORMNO Key: formno

Name TYPE WID DEC DESCRIPTION
COPYNO N 3 0 Copy number of the form
DEPOSITS C 1 0 Show Deposit amounts on the invoices (Y/N)
FOOTLOC C 1 0 Footer Location (Left/Center)
FORMCODE C 8 0 Form Name (INVOICE/SORDER/PORDER/PAKSLIP/STATMNT)
FORMNAME C 20 0 Form Name to print in top right corner
FORMNO C 12 0 Form Number (Included form type & copy number)
INFOLN C 70 0 Information Line at bottom of form
LSRCOMP C 1 0 Laser compatible with HPIII or better (Y/N)
MODULE C 2 0 Key program id for the form
PNAME C 10 0 Printer Name for this copy. Leave blank to use pre-selected default.
SHOWCONT C 1 0 Show Contact Name in Header (Y/N)
SHOWFAX C 1 0 Show Fax Number on Header
SHOWLNS C 1 0 Print lines between detailed lines on Pack lists
SHOWLOGO C 1 0 Show Logo on copy (Y/N)
SHOWMSG C 1 0 Show Message line in the header
SHOWPHN C 1 0 Show Phone Number on Form
SHOWPRC C 1 0 Show Prices and costs (Y/N)
SIGNATURE N 2 0

SYSPIKnn.DBF

Browse Assistance Database

Tags:

SEQNO Key: tablid + tagnm + STR(seqno)

TABLID Key: tablid + tagnm + fieldname

Name TYPE WID DEC DESCRIPTION
FHEADING C 20 0 Browse field heading
FIELDNAME C 10 0 Field name to display
PICCLS C 30 0 Picture Clause for the numeric fields
SEQNO N 3 0 Sequence number to display browse
TABLID C 8 0 Database name for the browser
TAGNM C 8 0 Tag name for the order the file is displayed in
WFONT C 10 0 Windows Font
WIDTH N 3 0 Width of field display for Character Fields
WSTYLE C 10 0 Windows Style for the list

SYSTOMnn.DBF

Extension Menu Selections for Vision Point

Tags:

MODULE Key: module + prgid

SEQ Key: module + STR(seq,3,0) + prgid

Name TYPE WID DEC DESCRIPTION
COND L 1 0
MENUID C 1 0
MODULE C 2 0
PRGAR C 40 0
PRGID C 8 0
REPBOTT N 5 0
REPDISP C 1 0
SEQ N 3 0
TITLE C 30 0

 




Integrated Business Solutions
P:619-462-7797
F:619-462-7698
4177 Yale Avenue - La Mesa, CA 91941-7717
www.ibsweb.com