[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Printing a .bmp image thru SQR



Hi Kathy,

I routinely print our company log on reports using a bitmap file.  Below is
the setup procedure code and the code I use to print the logo.  I hope it
helps your situation.

Chuck L. King
Information Systems Support

!----------------------------------------------------------------------------
BEGIN-SETUP
   DECLARE-PRINTER default-hp
      POINT-SIZE = 12
      FONT-TYPE  = fixed
      SYMBOL-SET = 10U
      PITCH      = 10
      FONT       = 3
   END-DECLARE

   DECLARE-LAYOUT ART
      PAPER-SIZE  = (8.5,11)
      FORMFEED    = yes
      ORIENTATION = portrait
      LEFT-MARGIN = 0.5
      TOP-MARGIN  = 0.25
      MAX-COLUMNS = 80
      MAX-LINES   = 60
      LINE-HEIGHT = 12
   END-DECLARE

     DECLARE-REPORT WORKORDER
          LAYOUT=ART
          PRINTER-TYPE=HP
     END-DECLARE

END-SETUP

!----------------------------------------------------------------------------

BEGIN-PROGRAM
   USE-PRINTER-TYPE hp
   INPUT $where
   DO main
END-PROGRAM

!----------------------------------------------------------------------------

BEGIN-HEADING 5

 Print-Image (1,1)
     type=bmp-file
     source='M:\MAXIMO\CRLOGOBW.BMP'
     image-size=(11,2)

!----------------------------------------------------------------------------






"Hutchens, Kathy" <KHutchens@SENCO.COM>@list.iex.net> on 05/11/2000
07:30:44 AM

Please respond to sqr-users@list.iex.net

Sent by:  "Discussion of SQR, Brio Technology's database reporting
      language" <SQR-USERS@list.iex.net>


To:   SQR-USERS@list.iex.net
cc:

Subject:  Printing a .bmp image thru SQR




I am trying to print a .bmp image (company Logo) on a .lis file through an
SQR. I have used the declare-image, Print-Image command and I am just
receiving a gray box when it prints.

Is anyone successfully printing a .bmp image and if so how?

Thanks,
Kathy Hutchens