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

RE: [sqr-users] adding directory path to the source argument



I have used it in the print-image command - declare image should be the same
way.

  let $image_source = '/bzy01/app/psoft/he818/xyz/sig.hgl'

  print-image (75,80)  !row,column
    type       = hpgl-file
    source     = $image_source
    image-size = (#image_width,#image_height)  !width,height

-----Original Message-----
From: [mailto:cbatiao@yahoo.com]
Sent: Friday, October 25, 2002 12:02 AM
To: sqr-users@sqrug.org
Subject: RE: [sqr-users] adding directory path to the source argument


Would it work the same way in the DECLARE-IMAGE
declaration? 

I have the cuslogo.gif that is called in logos.inc
source file. But my cuslog.gif file is in
/caa/rel/server/config directory but my sqr prgms
(including logos.inc) are in  /caa/rel/server/reports
directory. We want to maintain the bitmaps/gifs in the
config directory that is why I need to incorporate a
directory path in the DECLARE-IMAGE function.

In my logos.inc, it is coded as:

declare-image   AtlantaLogo
    type       = gif-file
    image-size = (19,1)
    source     = cuslogo.gif
end-declare

I tried substituting:
source = '/caa/rel/server/config/cuslogo.gif'

but did not work. 

I am running this in a Unix server. The documentation
says to the full path must be given, but isn't the
above a full path already? Am I defining it
incorrectly?

Thanks.

--- David Brawner <dbrawner@att.net> wrote:
> I have never had a problem using a full path
> reference to a file.
> 
> I have even mixed mapped drive with directory path
> references as in this
> statement;
> 
> ***
> let $call = '\\irm03\apps\maximo\sqr6\sqrwt.exe
> ''''\\irm03\apps\maximo\sqr6\reports\woprint.sqt
> max411t/maximo@mxmp
> @w:\spl\prm '''''|| $p2
> call system using $call #status wait
> ***
> 
> Dave
> 
> -----Original Message-----
> From: sqr-users-admin@sqrug.org
> [mailto:sqr-users-admin@sqrug.org]On
> Behalf Of CBatiao
> Sent: Thursday, October 24, 2002 6:25 PM
> To: sqr-users@sqrug.org
> Subject: [sqr-users] adding directory path to the
> source argument
> 
> 
> Hi,
> 
> Is it possible to add a directory path in the source
> argument of DECLARE-IMAGE?
> I have to retrieve a logo from a different directory
> other than the current directory and I'm not sure if
> it can be done inthe source argument. If it is
> possible how do I code the directory path. I am
> currently running the sqr in a UNIX server and my
> sqt/inc pgms are in /caa/rel/server/sqr and my
> bitmaps
> are in /caa/rel/server/config, we want to maintain
> all
> bitmaps in different directory.
> 
> Thanks,
> Carry
> 
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
> 
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
> 
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users