Karen -

If these reports don't have to have Windows fonts or images, you can still
output the reports to a file and then TYPE or COPY the file to the printer
(the old DOS way).

Here is some code I have that prints a specified # of labels to a dot-matrix
printer and just does the required # of line feeds to get the label to the
appropriate place to rip off the printer - it does NOT do the standard
Windows page formfeed.  This command uses a number of WRITE statements, but
you could also print a report to a file then TYPE it to the printer.

--LblPrint.cmd  Prints Patient Labels    9/20/01  SBA
SET VAR xNumLabels INTEGER = 21
SELECT (NLAST&NLASTSUFFIX+','&NFIRST&MI),DOB,RACE,SEX,ZIPCODE,+
(IFEQ(HouseNum,NULL,Address,((CTXT(HouseNum))&Direction&Street&StType&AptNum
))) +
  INTO XNAME X1,XDOB X1,XRACE X1,XSEX X1,XZIPCODE X1,XADDR X1 +
  FROM PATIENT WHERE ID = .VID
SET V XLabelCnt INTEGER = 1

OUTPUT LPT2:
WHILE XLabelCnt < .xNumLabels THEN
  WRITE .XNAME
  WRITE .XDOB,.XRACE,.XSEX,.VID,'Site -',.gSite
  WRITE .#DATE,'     ',.Xzipcode,'   ',.vnum
  WRITE .Xaddr
  WRITE ' '
  WRITE ' '
  SET VAR XLabelCnt = (.XLabelCnt+1)
ENDWHILE
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
  WRITE ' '
OUTPUT SCREEN

CLEAR VAR X%
RETURN

Have fun!
Sami
-----------------------------------------------------------
Sami Aaron
Software Management Specialists
19312 W 63rd Terr
Shawnee KS  66218
913-915-1971
[EMAIL PROTECTED]
http://www.softwaremgmt.com

----- Original Message -----
From: "tellef" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 31, 2003 7:50 AM
Subject: [RBASE-L] - Printing on multi-part



Hallelujah, a client on 3.1 wants to upgrade to
RBWin!  It is a church, a small client, so they
are interested in doing it for as little money as
possible.

It's a simple app, but they have 4 reports that
are printed on various sizes of multi-part dot
matrix forms, one of which is a tiny index-card
sized form.  I remember several years ago totally
giving up on printing odd-size DM forms from
Windows; luckily that client had the money to
go to laser forms and their forms were all regular
size anyway.

Did I mention this is a church?  There's no way
they'll change the forms that they've been using
since, well, since 'their leader' was born!  So
I'm just looking for assurance that (in 6.5++)
that I will be able to print to the dot matrix
on these funky-sized multipart forms.


God bless!

Karen

Reply via email to