Re: [U2] Opening UniBasic Source Code - Tab Key

2009-05-21 Thread Anthony W. Youngman
In message 
ae8acc132c0f1c4de288c5fa7b72a53e.squir...@webmail.ourldsfamily.com, 
Karl Pearson ka...@ourldsfamily.com writes

CHAR(8) is a tab, IIRC.


That's a backspace, actually.

Tab is char(9)


Karl


Cheers,
Wol
--
Anthony W. Youngman pi...@thewolery.demon.co.uk
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Tab Key

2009-05-21 Thread Brutzman, Bill
Char(9) works...

Thanks Wol... Thanks Karl 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Opening UniBasic Source Code

2009-05-21 Thread Brutzman, Bill
I am looking to inspect the unix file for read, write, and delete
commands.

The openpath command works well.

--Bill

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Gregor Scott
Sent: Wednesday, May 20, 2009 9:36 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Opening UniBasic Source Code - Tab Key

Bill,

What exactly are you trying to achieve with the unix file?

On UniVerse the openpath command will open a unix path as a database
file, from which you then read items as normal.
You either need to change to use the openseq command so you can
sequentially read the contents of the unix item, or openpath
'/u2/SOFTWARE/BP' to open the unix path as a file and then read the
BASELINE.R0 item.


Gregor
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Opening UniBasic Source Code

2009-05-21 Thread Dave Laansma
FYI, Unix scripts are really handy for making 'mass' changes.

David Laansma
IT Manager
Hubbard Supply Co. 
Direct: 810-342-7143
Office:810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
Delivering Products, Services, and Innovative Solutions

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill
Sent: Thursday, May 21, 2009 10:24 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Opening UniBasic Source Code

I am looking to inspect the unix file for read, write, and delete
commands.

The openpath command works well.

--Bill

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Gregor Scott
Sent: Wednesday, May 20, 2009 9:36 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Opening UniBasic Source Code - Tab Key

Bill,

What exactly are you trying to achieve with the unix file?

On UniVerse the openpath command will open a unix path as a database
file, from which you then read items as normal.
You either need to change to use the openseq command so you can
sequentially read the contents of the unix item, or openpath
'/u2/SOFTWARE/BP' to open the unix path as a file and then read the
BASELINE.R0 item.


Gregor
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL problem on U2

2009-05-21 Thread Eric Armstrong
Colin,
What's the bang sign for? We would use EXECUTE DOS /C COPY etc.

Eric Armstrong
Lobel Financial


-Original Message-
From: Colin Alfke [mailto:alfke...@hotmail.com]
Sent: Wednesday, May 20, 2009 11:29 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] PCL problem on U2


David;



It looks like you're missing the point of the macro - simply load it into
the
printer once and print multiple times. Your converter may allow you to load
it
to the printer, otherwise you actually copy it to the printer (not print
it).
Under Windows we simply:



EXECUTE !COPY /B \UD\LOGOS\LOGO.MAC \\UNCPathToPrinter



Sorry, not sure of the Linux syntax. It only needs to be done when the
printer
is powered off an loses the macro so you can do it from a screen etc.
Although
we have one very distributed site that preferred we send the macro before
the
print job to make sure it was there.



In your code you simply do a:



PRINT CHAR(27):'f':LOGONUM:'y2X'



to print the logo. This simply specifies and executes the macro.



hth

Colin Alfke

Calgary, Canada



LOBEL FINANCIAL PRIVACY NOTICE: 
This communication may contain confidential company information that is 
protected by federal law. Federal regulations prohibit the disclosure (or 
re-disclosure) of confidential information without the written consent of the 
person(s) to whom it pertains. Additionally, the views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of the company.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] PCL problem on U2

2009-05-21 Thread Bill Haskett
   I think Colin has this right.  There's no point in using a sledgehammer to
   tap in a nail to hang a picture on the wall.  Using UV to manipulate a PCL
   image is using a sledgehammer.
   You should simply be able to download a picture and assign this image an
   ID.  Then use PCL code (or HP-GL/2 code) to call the image within the print
   job.  Thus you would use the standard binary copy to upload the image to the
   printer, then the printer language to position the image on your paper
   during each print.
   We do this all the time with checks and signatures.
   Bill
   __

   From: George Gallen ggal...@wyanokegroup.com
   Sent: 5/20/2009 3:26 PM
   To: u2-users@listserver.u2ug.org u2-users@listserver.u2ug.org
   Subject: Re: [U2] PCL problem on U2

oopS. (the second file should have been /tmp/fileb.pcl not /tmp/filea.pcl)

Try this:
write the preceeding part of the UV data to /tmp/filea.pcl write the trailing p
art of the uv data to /tmp/filea.pcl

SHOULD HAVE READ

Try this:
write the preceeding part of the UV data to /tmp/filea.pcl write the trailing p
art of the uv data to /tmp/fileb.pcl

-Original Message-
From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-
us...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: Wednesday, May 20, 2009 2:13 PM
To: u2-users@listserver.u2ug.org
Cc: dhoo...@illinoislock.com
Subject: RE: [U2] PCL problem on U2

Try this:
write the preceeding part of the UV data to /tmp/filea.pcl
write the trailing part of the uv data to /tmp/filea.pcl

To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL problem on U2

2009-05-21 Thread Colin Alfke
Sorry - it's the UniData command to run the following statement at the OS
level.

Colin Alfke
Calgary, Canada

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Eric Armstrong

Colin,
What's the bang sign for? We would use EXECUTE DOS /C COPY etc.

Eric Armstrong
Lobel Financial


-Original Message-
From: Colin Alfke

David;

It looks like you're missing the point of the macro - simply load it into
the
printer once and print multiple times. Your converter may allow you to load
it
to the printer, otherwise you actually copy it to the printer (not print
it).
Under Windows we simply:

EXECUTE !COPY /B \UD\LOGOS\LOGO.MAC \\UNCPathToPrinter

Sorry, not sure of the Linux syntax. It only needs to be done when the
printer
is powered off an loses the macro so you can do it from a screen etc.
Although we have one very distributed site that preferred we send the macro
before 
the print job to make sure it was there.

In your code you simply do a:

PRINT CHAR(27):'f':LOGONUM:'y2X'

to print the logo. This simply specifies and executes the macro.

hth

Colin Alfke
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Opening UniBasic Source Code

2009-05-21 Thread Steve Romanow

Brutzman, Bill wrote:

I am looking to inspect the unix file for read, write, and delete
commands.

The openpath command works well.

  
While you are looking for those, finding DEBUG statements left in is 
handy too.

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Opening UniBasic Source Code - Tab Key

2009-05-21 Thread Jo Lester
BS!



CHAR(9) is a tab  ( Char (8) is a back space.) We're talking ascii, right?

 Date: Wed, 20 May 2009 19:02:32 -0600
 Subject: RE: [U2] Opening UniBasic Source Code - Tab Key
 From: ka...@ourldsfamily.com
 To: u2-users@listserver.u2ug.org

 CHAR(8) is a tab, IIRC.

 Karl

 On Wed, May 20, 2009 5:20 pm, Brutzman, Bill wrote:
  1. Nope... I did not copy them; I would rather not have to copy them.
 
  2. So far I have not have to do a fnuxi.
 
  3. What does a Tab key come over as? I have a little method to buzz out
  the blank spaces. I would like to use this
  method on the pesky Tabs.
 
  --Bill
 
 
 
  -Original Message-
  From: owner-u2-us...@listserver.u2ug.org
  [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Symeon Breen
  Sent: Wednesday, May 20, 2009 5:34 PM
  To: u2-users@listserver.u2ug.org
  Subject: RE: [U2] Opening UniBasic Source Code Into A UniBasic
 
  Have you copied these programs over from another host - esp another host
  with a different endian processor ? you may need to do a fnuxi or such
  thing on the code.
 
  -Original Message-
  From: owner-u2-us...@listserver.u2ug.org
  [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill
  Sent: 20 May 2009 21:35
  To: u2-users@listserver.u2ug.org
  Subject: [U2] Opening UniBasic Source Code Into A UniBasic
 
  I am writing on how to open a Unix file of UniBasic source code.
 
  When I try a
 
 
  openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then
  crt 'OK'
  end else
 
  crt 'Error'
  end
 
  *---
  ---
  The.End:
 
  crt status()
  crt
  crt ' [] ' :
 
  input Ans
 
  crt @(-1)
 
  END
 
  *---
  -
 
  02 RUN BP FILESCAN.R0
  Error
  -7
 
  []
 
  Where -7 is InValid file revision or wrong byte-ordering for the
  platform.
 
  The platform is UniVerse v10.1 on HP-Ux 11i v2.
 
  Suggestions would be appreciated.
 
  --Bill
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
 


 ---
 Karl Pearson
 ka...@ourldsfamily.com
 Owner/Administrator of the sites at
 http://ourldsfamily.com
 ---
 To mess up your Linux PC, you have to really work at it;
 to mess up a microsoft PC you just have to work on it.
 ---
 Democracy is two wolves and a lamb voting on what to have
 for lunch. Liberty is a well-armed lamb contesting the vote.
 --Benjamin Franklin
 ---
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/

_
Hotmail. has ever-growing storage! Dont worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial
_Storage1_052009
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] UniDebugger FTP mode

2009-05-21 Thread Clifton Oliver

Does anyone know a way to change the UniDebugger's FTP mode to Passive?

Thanks.

Regards,

Clif

--
W. Clifton Oliver, CCP
CLIFTON OLIVER  ASSOCIATES
Tel: +1 619 460 5678Web: www.oliver.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Opening UniBasic Source Code - Tab Key

2009-05-21 Thread Karl Pearson
Senility is so productive :-( And I was thinking, just as I hit the
'send' button, that I had sent a BEL . . .

Karl

On Thu, May 21, 2009 6:20 am, Anthony W. Youngman wrote:
 In message
 ae8acc132c0f1c4de288c5fa7b72a53e.squir...@webmail.ourldsfamily.com,
 Karl Pearson ka...@ourldsfamily.com writes
CHAR(8) is a tab, IIRC.

 That's a backspace, actually.

 Tab is char(9)

Karl

 Cheers,
 Wol
 --
 Anthony W. Youngman pi...@thewolery.demon.co.uk
 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
 thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The
 man
 lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
 Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source
 Pick
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/



---
Karl Pearson
ka...@ourldsfamily.com
Owner/Administrator of the sites at
http://ourldsfamily.com
---
To mess up your Linux PC, you have to really work at it;
 to mess up a microsoft PC you just have to work on it.
---
 Democracy is two wolves and a lamb voting on what to have
 for lunch. Liberty is a well-armed lamb contesting the vote.
 --Benjamin Franklin
---
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/