Re: [U2] Barcode Software for UniVerse?

2010-02-24 Thread Lappies
When Printing to Zebra printers you can either use EPL or ZPL.
Here is a EPL sample, I do have ZPL code available aswell.


0016: **
0017: *
0018: * Barcode Format
0019: * --
0020: *
0021: * Syntax : P1 , P2 , P3 , P4 , P5 , P6 , P7 , P8, "DATA"
0022: * eg : PRINT 'B100,50,0,3,1,3,85,B,"':VALX:'"'
0023: *
0024: *  P1 = Horizontal Start
0025: *  P2 = Vertical Start
0026: *  P3 = Rotation   (O=None , 1=90  , 2=180)
0027: *  P4 = BarCode Type (3,3C,9,1,2,2C,K) eg
  * 3 = Code 39  * For 128 Use type 1 or
1E
0028: *  P5 = Narrow Bar Width
0029: *  P6 = Wide Bar Width
0030: *  P7 = Bar Code Hight in Dots
0031: *  P8 = Print Human Readable Code (B=Yes, N=No)
0032: *
0033: **
0034: *
0035: * Text Format
0036: * 
0037: *
0038: * Syntax : P1 , P2 , P3 , P4 , P5 , P6 , P7, "TEXT TO PRINT"
0039: * eg : PRINT 'A100,50,0,2,1,1,85,N,"':VARIABLE:'"'
0040: *
0041: *  P1 = Horizontal Start
0042: *  P2 = Vertical Start
0043: *  P3 = Rotation   (O=None , 1=90  , 2=180)
0044: *  P4 = Font Selection (1-5)
0045: *  P5 = Horizontal Expand (1-8)
0046: *  P6 = Vertical Expand (1-9)
0047: *  P7 = N=Normal , R=Reverse Angle
0048: *
0049: **
0050: 
0095:  PRINTER ON
0096:  PRINT "N"
0097:  PRINT "S3"   ; * Speed to print at between 1 and
8
0098:  PRINT "Q200,18"  ; * Label length plus Gap size
0099:  PRINT "q800" ; * Label width  PS! mm * 8 
0099: *
0100:  PRINT 'A40,0,0,3,1,1,N,"COMPANY NAME"'
0101:  PRINT 'B20,20,0,3,1,3,50,B,"':PART.NO:'"'
0102:  PRINT 'A20,110,0,2,1,1,N,"':RETAIL.PRICE:'"'
0103:  PRINT 'A20,130,0,2,1,1,N,"':BIN.CODE:'"'
0104:  PRINT 'A20,155,0,2,1,1,N,"':DESCRIPTION:'"'
0111: *
0112:  PRINT "P":NO.OF.LABELS
0113:  PRINTER OFF  ;  PRINTER CLOSE


Lappies Labuschagne
Tecfinity
8 Osborn Lane, Ground Floor, Bedfordview, Germiston, South Africa.


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Mark Eastwood
Sent: 24 Februarie 2010 07:31 PM
To: U2 Users List
Subject: Re: [U2] Barcode Software for UniVerse?


I won't claim it's the best, just the one we've used for years -
BarTender 
Download free eval copy here:
http://www.seagullscientific.com/aspx/btw_down.aspx


-Original Message-

Can anyone recommend software to print UCC128 labels from UniVerse?  We
are
using Sato and Zebra printers.  I am looking for software that allows us
to
easily design and print lables.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Barcode Software for UniVerse?

2010-02-24 Thread Ken Hall

I have used software such as Bar Tender from http://www.seagullscientific.com/
to create labels and printed them to a file. I edited the file with a 
good text editor to extract the codes needed to print to the 
particular printer in question. Then using MV Basic code I replaced 
the data strings in the bar code commands with variables and had 
a  program to print formated bar code labels.


A fairly simple solution to a very complex problem.

Note: this requires buying a copy of Bar Tender or another bar code 
label print program, but it is the fastest way to get the codes 
needed to print formated labels on the various label printer where 
each manufacturer has their own label formating language.


Ken

At 09:22 AM 2/24/2010, you wrote:

Can anyone recommend software to print UCC128 labels from UniVerse?  We are
using Sato and Zebra printers.  I am looking for software that allows us to
easily design and print lables.

Thanks in advance,

Bryan Evans
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



Ken Hall
www.old-scholls.com
mailto:k...@old-scholls.com
phone: 503-702-7841

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Embedded program for Windows

2010-02-24 Thread Ross Ferris
So let me get this straight . you are standing in a FIELD, in
Cootersville Alabama  you don't have cell phone coverage  but
you have run a power lead from the house to the field, so you could sit
at a desk with your desktop & monitor?!?

You probably are right, I don't understand, 'cause I'd probably whip out
my old WAP enabled phone (yeah, I know I don't have a cell tower, but I
probably still have it on me for when I'm travelling to town) which has
the order page loaded up with the products and boxes where I can put my
quantities in  then when I'm on the highway (or back inside out of
the sun  or maybe Snow with the winter you guys have had) I can just
hit the submit button.

Problem Solved.

Now, if you seriously want a solution, telling the whole story helps to
get a whole solution. If you are in a field (on a tractor?) with no cell
coverage (always satellite!)  what device ARE you using ? What
OS? (The beauty of web based is that the previous 2 questions are
irrelevant!)  alternatively, start pick'n!!

Ross Ferris
Stamina Software
Visage > Better by Design!


>-Original Message-
>From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
>boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
>Sent: Thursday, 25 February 2010 9:54 AM
>To: u2-users@listserver.u2ug.org
>Subject: Re: [U2] Embedded program for Windows
>
>
>
>
> Sorry Ross if you can't comprehend that people in the field are... in
>the field.
>Too much big city living perhaps :)
>When I say in the field, I mean actually standing in a field.
>We aren't yet to the point of having cell towers in every square mile
of
>the country no wifi yet in Cootersville, Alabama
>
>
>
>
>
>
>
>-Original Message-
>From: Ross Ferris 
>To: U2 Users List 
>Sent: Mon, Feb 22, 2010 7:29 pm
>Subject: Re: [U2] Embedded program for Windows
>
>
>So, they print this "order" (?) out and then fax it to your client ...?
>
>Tell me again why it wouldn't make more sense to simply do this over
the
>interweb? Incremental changes, new products etc would automatically be
>available to everyone IMMEDIATELY - and they would have access to the
>rest of the material on your customers website as well
>
>10-15 years ago I remember doing stand alone order processes like this,
>with product updates burnt onto a CD from data extracted from D3, but
>things have moved on a LOT since then. Seriously, your customers
clients
>don't have internet access??? The whole thing just sounds so 20th
>Century to me (sorry)
>
>
>Ross Ferris
>Stamina Software
>Visage > Better by Design!
>
>
>>-Original Message-
>>From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
>>boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
>>Sent: Monday, 22 February 2010 6:51 PM
>>To: u2-users@listserver.u2ug.org
>>Subject: Re: [U2] Embedded program for Windows
>>
>>Thinking this over some more here is the stripped down version
>minimally
>>expressed.
>>
>>A window appears with multiple line items listed.
>>User chooses one of more line items, for each one enters some quantity
>>desired.
>>Submits, or saves, or closes or whatever.
>>
>>Next window only shows those line items they've chosen, and the
>>quantity.
>>This window they can print.
>>
>>This exe is given away free to customers, or at trade shows, or
>>whatever.
>>
>>That's it.  The idea is very simple.  Maybe it would be better just to
>>try
>>to do something like this in Visual Basic without any Pick at all.
>Just
>>make all the files .txt files.
>>
>>I really would have wished that U2 would get into the .exe market.  It
>>could cause the proliferation of U2 products (at least the results) to
>>explode.
>>
>>Will
>>___
>>U2-Users mailing list
>>U2-Users@listserver.u2ug.org
>>http://listserver.u2ug.org/mailman/listinfo/u2-users
>___
>U2-Users mailing list
>U2-Users@listserver.u2ug.org
>http://listserver.u2ug.org/mailman/listinfo/u2-users
>
>
>___
>U2-Users mailing list
>U2-Users@listserver.u2ug.org
>http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Embedded program for Windows

2010-02-24 Thread Ross Ferris
OR  you could specifically target IE, which gives you access to the
file system so you can write/save/modify "stuff" (I know this breaks all
of the interweb rules, but WSH is quite a powerful tool ...

Ross Ferris
Stamina Software
Visage > Better by Design!

>-Original Message-
>From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
>boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
>Sent: Thursday, 25 February 2010 7:22 AM
>To: 'U2 Users List'
>Subject: Re: [U2] Embedded program for Windows
>
>Tonys post got me thinking and actually running an "app" in the browser
>that
>is local gives a number of problems particularly with security, by
>default
>browsers will not run scripts on local pages, cookies can be a problem
>as
>well, and although in theory you would not need cookies as only the one
>person will ever access the app, they are still integral to web
>technologies
>so there may be a number of complications, thinking about this more
what
>you
>would really need is not only an embedded database but also an embedded
>web
>server to serve the pages locally so as to get around these
>complications
>and as mentioned WAMP would be ideal here.
>
>
>
>
> -Original Message-
>From: u2-users-boun...@listserver.u2ug.org
>[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony
Gravagno
>Sent: 22 February 2010 19:20
>To: u2-users@listserver.u2ug.org
>Subject: Re: [U2] Embedded program for Windows
>
>> From: Will Johnson
>> A window appears with multiple line items listed. User
>> chooses one of more line items, for each one enters
>> some quantity desired. Submits, or saves, or closes or
>> whatever.
>>
>> Next window only shows those line items they've
>> chosen, and the quantity. This window they can print.
>>
>> This exe is given away free to customers, or at trade
>> shows, or whatever.
>>
>> That's it.
>
>This is funny - I just wrote a GUI for one of our clients that
>does exactly what's been defined here, except that we're
>scheduling people and quantities for manufacturing production
>lines.
>
>Mark, based on this limited set of requirements, you don't need
>an MV DBMS at all.  This can be done in a short period of time,
>including the installer, operating against text files or perhaps
>MS Access files.  This might just take a couple hours, and most
>of that time is time for head scratching, wondering why you
>wanted to involve MV in this at all.  ;)
>
>I'm guessing that's not really the full spec.
>
>Again, I highly recommend that you and your client consider a
>very attractive installable client interface, thick or thin, to a
>remote server which provides the functionality, data storage,
>etc.  Can you help us to understand why that may not be an
>option?  If it is an option, then your solution may only be hours
>away.
>
>Also, I'd like to point out that installable progams for PC's
>rarely use a browser interface to the localhost.  You either give
>someone a URL to a website, or you install a thick client for
>local use.  The app can be self-updating (like anti-virus
>software and most others these days) and store the data locally
>or remotely.  And of course all data management can be done on a
>remote MV server, and you can balance the logic between the
>client and MV server as well.
>
>Tony Gravagno
>Nebula Research and Development
>TG@ remove.pleaseNebula-RnD.com
>remove.pleaseNebula-RnD.com/blog
>http://Twitter.com/TonyGravagno
>
>___
>U2-Users mailing list
>U2-Users@listserver.u2ug.org
>http://listserver.u2ug.org/mailman/listinfo/u2-users
>
>___
>U2-Users mailing list
>U2-Users@listserver.u2ug.org
>http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Barcode Software for UniVerse?

2010-02-24 Thread Steven M Wagner
Bryan

Have you checked the Sato & Zebra manuals?  If the printers natively 
support printing the UCC128 bar codes you might want to look at programming the 
labels yourself.

Steve



-- Sent from my Palm Pre
Bryan Evans wrote:

Can anyone recommend software to print UCC128 labels from UniVerse?  We are

using Sato and Zebra printers.  I am looking for software that allows us to

easily design and print lables.



Thanks in advance,



Bryan Evans

___

U2-Users mailing list

U2-Users@listserver.u2ug.org

http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Embedded program for Windows

2010-02-24 Thread fft2001

 

 Sorry Ross if you can't comprehend that people in the field are... in the 
field.
Too much big city living perhaps :)
When I say in the field, I mean actually standing in a field. 
We aren't yet to the point of having cell towers in every square mile of the 
country no wifi yet in Cootersville, Alabama



 

 

-Original Message-
From: Ross Ferris 
To: U2 Users List 
Sent: Mon, Feb 22, 2010 7:29 pm
Subject: Re: [U2] Embedded program for Windows


So, they print this "order" (?) out and then fax it to your client ...?

Tell me again why it wouldn't make more sense to simply do this over the
interweb? Incremental changes, new products etc would automatically be
available to everyone IMMEDIATELY - and they would have access to the
rest of the material on your customers website as well

10-15 years ago I remember doing stand alone order processes like this,
with product updates burnt onto a CD from data extracted from D3, but
things have moved on a LOT since then. Seriously, your customers clients
don't have internet access??? The whole thing just sounds so 20th
Century to me (sorry)


Ross Ferris
Stamina Software
Visage > Better by Design!


>-Original Message-
>From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
>boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
>Sent: Monday, 22 February 2010 6:51 PM
>To: u2-users@listserver.u2ug.org
>Subject: Re: [U2] Embedded program for Windows
>
>Thinking this over some more here is the stripped down version
minimally
>expressed.
>
>A window appears with multiple line items listed.
>User chooses one of more line items, for each one enters some quantity
>desired.
>Submits, or saves, or closes or whatever.
>
>Next window only shows those line items they've chosen, and the
>quantity.
>This window they can print.
>
>This exe is given away free to customers, or at trade shows, or
>whatever.
>
>That's it.  The idea is very simple.  Maybe it would be better just to
>try
>to do something like this in Visual Basic without any Pick at all.
Just
>make all the files .txt files.
>
>I really would have wished that U2 would get into the .exe market.  It
>could cause the proliferation of U2 products (at least the results) to
>explode.
>
>Will
>___
>U2-Users mailing list
>U2-Users@listserver.u2ug.org
>http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Keep a running total in a listing

2010-02-24 Thread Bill Haskett

In UniData v7.2.3 the "...;@" is required.

Bill


George Gallen said the following on 2/24/2010 10:50 AM:

Both EVAL "@1+item" and EVAL "@1+item;@" gave the same result.
Is the ;@ required?

How does this work? I used to using @1 in I descriptors to reference the first 
value, but how does this reference the previous value?

Thanks

  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
boun...@listserver.u2ug.org] On Behalf Of Henry Unger
Sent: Wednesday, February 24, 2010 1:47 PM
To: 'U2 Users List'
Subject: Re: [U2] Keep a running total in a listing

Brian,

Wow. It does work! Sorry. I should have tried it.


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
  

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] NLS and chinese printing question

2010-02-24 Thread Brenda Price
We have yet to test this.  We have to schedule a time to test with Hong
Kong.

I do not have any of the DIMM information.  Sequence is
&t38P(18N(s1p10v0s0b17006T.  The &t38P turns on the double byte.

Brenda L Price
UniVerse Programmer
Rapid Response Team
Market America, Inc.
Greensboro, NC


> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Bob Rasmussen
> Sent: Wednesday, February 24, 2010 3:48 PM
> To: U2 Users List
> Subject: Re: [U2] NLS and chinese printing question
> 
> So do you have it working now? With what sequence?
> 
> What part number or model number is the HP DIMM?
> 
> On Wed, 24 Feb 2010, Brenda Price wrote:
> 
> > The vendor is HP and it is an HP DIMM.  The rep sent us some more
PCL
> > codes to use.  They said we were missing the escape codes to turn on
> > double byte printing. Would have been nice if they had given us
those
> > codes when they gave us the font codes.  Sigh!
> >
> > Brenda L Price
> > UniVerse Programmer
> > Rapid Response Team
> > Market America, Inc.
> > Greensboro, NC
> >
> >
> > > -Original Message-
> > > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> > > boun...@listserver.u2ug.org] On Behalf Of Bob Rasmussen
> > > Sent: Wednesday, February 24, 2010 3:31 PM
> > > To: U2 Users List
> > > Subject: Re: [U2] NLS and chinese printing question
> > >
> > > The first step is to separate the printer from the BASIC (part of
a
> > > general strategy to divide the problem into smaller pieces). So
> change
> > > your code below to output to a text file. Then look at it to see
if
> > > you're
> > > getting into it what you think should be there. A hex editor is
> good
> > > for
> > > this.
> > >
> > > Then try sending that file directly to the printer, not using
> > UniVerse.
> > > Then focus on where the problem seems to be. Of course if the only
> > test
> > > printer is half a world away, that can be tough.
> > >
> > > We have considerable experience in working with international
> > > characters
> > > in a variety of environments. Our Print Wizard product can read
and
> > > translate PCL-5 code, including emulating some of HP's Chinese
> > > cartridges.
> > > However, I don't recognize either the symbol set (18N) or the
> typeface
> > > (17006). What company supplied the DIMM? Is there documentation
> online
> > > for
> > > it? What kind of printer?
> > >
> > > Another solution may be to use Print Wizard and standard Chinese
> > > Windows
> > > fonts. We can help with that. Contact me off-list if you'd like.
> > >
> > > On Tue, 23 Feb 2010, Brenda Price wrote:
> > >
> > > > We are trying to get a printer over in Hong Kong that has
> recently
> > > had a
> > > > DIMM chip installed with Andale Traditional Chinese font on it
to
> > > print
> > > > in Chinese.  We cannot get the printer to recognize the font
> change.
> > > > Anyone deal with double byte languages?
> > > >
> > > > Here is what we last tried.  Only thing happened is the existing
> > font
> > > > changed size.  Just doing some simple tests.
> > > >
> > > >
> > > >   EQU ESC TO CHAR(27)
> > > >   EXECUTE 'SETPTR 0,132,59,0,0,1,AT
> HONGKONGWH2,RAW,FORMAT.MAP
> > > > BIG5+MARKS,COPIES 1,BRIEF'
> > > >  CHI.SEQ = ESC:"(18N":ESC:"(s1p12.0h8.5v0s0b17006T"
> > > >  PRINT ESC:'E'
> > > >  PRINT CHI.SEQ:MSG<2>
> > > >
> > > > Brenda L Price
> > > > UniVerse Programmer
> > > > Rapid Response Team
> > > > Market America, Inc.
> > > > Greensboro, NC
> > > >
> > > > ___
> > > > U2-Users mailing list
> > > > U2-Users@listserver.u2ug.org
> > > > http://listserver.u2ug.org/mailman/listinfo/u2-users
> > > >
> > > >
> > >
> > > Regards,
> > > Bob Rasmussen,   President,   Rasmussen Software, Inc.
> > >
> > > personal e-mail: r...@anzio.com
> > >  company e-mail: r...@anzio.com
> > >   voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> > > fax: (US) 503-624-0760
> > > web: http://www.anzio.com
> > >  street address: Rasmussen Software, Inc.
> > >  10240 SW Nimbus, Suite L9
> > >  Portland, OR  97223  USA
> > > ___
> > > U2-Users mailing list
> > > U2-Users@listserver.u2ug.org
> > > http://listserver.u2ug.org/mailman/listinfo/u2-users
> > ___
> > U2-Users mailing list
> > U2-Users@listserver.u2ug.org
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> >
> >
> 
> Regards,
> Bob Rasmussen,   President,   Rasmussen Software, Inc.
> 
> personal e-mail: r...@anzio.com
>  company e-mail: r...@anzio.com
>   voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> fax: (US) 503-624-0760
> web: http://www.anzio.com
>  street address: Rasmussen Software, Inc.
>  10240 SW Nimbus, Suite L9
>  Portland, OR  97223  USA
> ___

Re: [U2] Keep a running total in a listing

2010-02-24 Thread Henry Unger
Interestingly enough, it is for PI/open but not for UniVerse.
 
The reason why this works is because in both PI/open and UniVerse the @n 
variables persist between successive evaluations of I-types. In PI/open, they 
are in a common block. I haven't studied the mechanism in UniVerse.

Henry

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: Wednesday, February 24, 2010 10:51 AM
To: U2 Users List
Subject: Re: [U2] Keep a running total in a listing

Both EVAL "@1+item" and EVAL "@1+item;@" gave the same result.
Is the ;@ required?

How does this work? I used to using @1 in I descriptors to reference the first 
value, but how does this reference the previous value?

Thanks

> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Henry Unger
> Sent: Wednesday, February 24, 2010 1:47 PM
> To: 'U2 Users List'
> Subject: Re: [U2] Keep a running total in a listing
> 
> Brian,
> 
> Wow. It does work! Sorry. I should have tried it.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] NLS and chinese printing question

2010-02-24 Thread Bob Rasmussen
So do you have it working now? With what sequence?

What part number or model number is the HP DIMM?

On Wed, 24 Feb 2010, Brenda Price wrote:

> The vendor is HP and it is an HP DIMM.  The rep sent us some more PCL
> codes to use.  They said we were missing the escape codes to turn on
> double byte printing. Would have been nice if they had given us those
> codes when they gave us the font codes.  Sigh!  
> 
> Brenda L Price
> UniVerse Programmer
> Rapid Response Team
> Market America, Inc.
> Greensboro, NC
> 
> 
> > -Original Message-
> > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> > boun...@listserver.u2ug.org] On Behalf Of Bob Rasmussen
> > Sent: Wednesday, February 24, 2010 3:31 PM
> > To: U2 Users List
> > Subject: Re: [U2] NLS and chinese printing question
> > 
> > The first step is to separate the printer from the BASIC (part of a
> > general strategy to divide the problem into smaller pieces). So change
> > your code below to output to a text file. Then look at it to see if
> > you're
> > getting into it what you think should be there. A hex editor is good
> > for
> > this.
> > 
> > Then try sending that file directly to the printer, not using
> UniVerse.
> > Then focus on where the problem seems to be. Of course if the only
> test
> > printer is half a world away, that can be tough.
> > 
> > We have considerable experience in working with international
> > characters
> > in a variety of environments. Our Print Wizard product can read and
> > translate PCL-5 code, including emulating some of HP's Chinese
> > cartridges.
> > However, I don't recognize either the symbol set (18N) or the typeface
> > (17006). What company supplied the DIMM? Is there documentation online
> > for
> > it? What kind of printer?
> > 
> > Another solution may be to use Print Wizard and standard Chinese
> > Windows
> > fonts. We can help with that. Contact me off-list if you'd like.
> > 
> > On Tue, 23 Feb 2010, Brenda Price wrote:
> > 
> > > We are trying to get a printer over in Hong Kong that has recently
> > had a
> > > DIMM chip installed with Andale Traditional Chinese font on it to
> > print
> > > in Chinese.  We cannot get the printer to recognize the font change.
> > > Anyone deal with double byte languages?
> > >
> > > Here is what we last tried.  Only thing happened is the existing
> font
> > > changed size.  Just doing some simple tests.
> > >
> > >
> > >   EQU ESC TO CHAR(27)
> > >   EXECUTE 'SETPTR 0,132,59,0,0,1,AT HONGKONGWH2,RAW,FORMAT.MAP
> > > BIG5+MARKS,COPIES 1,BRIEF'
> > >  CHI.SEQ = ESC:"(18N":ESC:"(s1p12.0h8.5v0s0b17006T"
> > >  PRINT ESC:'E'
> > >  PRINT CHI.SEQ:MSG<2>
> > >
> > > Brenda L Price
> > > UniVerse Programmer
> > > Rapid Response Team
> > > Market America, Inc.
> > > Greensboro, NC
> > >
> > > ___
> > > U2-Users mailing list
> > > U2-Users@listserver.u2ug.org
> > > http://listserver.u2ug.org/mailman/listinfo/u2-users
> > >
> > >
> > 
> > Regards,
> > Bob Rasmussen,   President,   Rasmussen Software, Inc.
> > 
> > personal e-mail: r...@anzio.com
> >  company e-mail: r...@anzio.com
> >   voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> > fax: (US) 503-624-0760
> > web: http://www.anzio.com
> >  street address: Rasmussen Software, Inc.
> >  10240 SW Nimbus, Suite L9
> >  Portland, OR  97223  USA
> > ___
> > U2-Users mailing list
> > U2-Users@listserver.u2ug.org
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> 

Regards,
Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: r...@anzio.com
 company e-mail: r...@anzio.com
  voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
 street address: Rasmussen Software, Inc.
 10240 SW Nimbus, Suite L9
 Portland, OR  97223  USA
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] 32 vs 64 bit

2010-02-24 Thread Wally Terhune
The default $UDTHOME/work/base.mk shows you the compiler and options UniData 
was built with.
For instance, from 7.2.5

#  
#   The Porting Date: Dec. 03, 09  
#   The System to Be Ported : RHLINUX9I
#  
   
SRCPROJ= 72
CC = cc -m32   
CCLD   = g++ -m32  
CFLAGS =  -D_LARGEFILE64_SOURCE
LDFLAGS= -z muldefs
OPTFLAGS = -O2 
DBFLAGS=   
libpath= -L/disk1/ud72/lib 
addlib = -lm -lncurses -lcrypt -lgdbm -ldl -lpam   
addlibpath =   
odslib = -lodsdummy
udlib  =   
licnlib= -llicn
dclcnlib   =   
nfalib = -lnfaclnt 
dfslib =   
ODBC_LIBS  = -L/.udlibs$(SRCPROJ) -lodbc   
SSL_LIBS   = -lssldl   
   
OBJS = funchead.o interfunc.o callcf.o efs_init.o  
   
   
libs_clt = -lshare -ludsql -ludmach -lbasic -lret1 -lperf -lides -lpipe \  
   -lfunc -lndx $(dfslib) -lrep -lshm -lmglm -lglm -lulc -ltpmem2 \
   -lcmn -llicn -ludus -lunix -lbci -lunirpc -lxmldl -leda $(SSL_LIBS) 
   $(ODBC_LIBS) $(nfalib) $(odslib)
   
libs_svr = -lnfasvr -lshare -ludsql -ludmach -lbasic -lret1 -lperf -lides \
   -lpipe -lfunc -lndx $(dfslib) -lrep -lshm -lmglm -lglm -lulc -ltpmem
 \ 
   -lcmn -llicn -ludus -lunix -lbci -lunirpc -lxmldl -leda $(SSL_LIBS) 
   $(ODBC_LIBS) $(odslib)  
   
libs_srv = -lushare -lusql -lumach -lbasic -lret1 -lperf -lides -lpipe \   
   -lushare -lumach -lret1 -lperf -lpipe -lfunc -lndx -lrep -lshm \
   -lmglm -lglm -lulc -ltpmem2 -lcmn -llicn -ludus -lunix -lbci \  
   -lxmldl -leda $(SSL_LIBS) \ 
   $(ODBC_LIBS) -lunirpc $(nfalib) $(odslib)   
   
   
udt: $(OBJS)   
$(CCLD) $(LDFLAGS) $(OBJS) $(NEWOBJS) $(NEWLIBS) \ 
$(libpath) -lapidummy $(libs_clt) \
$(addlibpath) $(addlib) \  
-o $@  
   
udtsvr: $(OBJS)
$(CCLD) $(LDFLAGS) $(OBJS) $(NEWOBJS) $(NEWLIBS) \ 
$(libpath) -lapidummy $(libs_svr) \
$(addlibpath) $(addlib) \  
-o $@  
   
uniapisvr: $(OBJS) 
$(CCLD) $(LDFLAGS) $(OBJS) $(NEWOBJS) $(NEWLIBS) \ 
$(libpath) -lapisvr $(libs_clt) -lmsg \
$(udlib) $(addlibpath) $(addlib) \ 

Re: [U2] NLS and chinese printing question

2010-02-24 Thread Brenda Price
The vendor is HP and it is an HP DIMM.  The rep sent us some more PCL
codes to use.  They said we were missing the escape codes to turn on
double byte printing. Would have been nice if they had given us those
codes when they gave us the font codes.  Sigh!  

Brenda L Price
UniVerse Programmer
Rapid Response Team
Market America, Inc.
Greensboro, NC


> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Bob Rasmussen
> Sent: Wednesday, February 24, 2010 3:31 PM
> To: U2 Users List
> Subject: Re: [U2] NLS and chinese printing question
> 
> The first step is to separate the printer from the BASIC (part of a
> general strategy to divide the problem into smaller pieces). So change
> your code below to output to a text file. Then look at it to see if
> you're
> getting into it what you think should be there. A hex editor is good
> for
> this.
> 
> Then try sending that file directly to the printer, not using
UniVerse.
> Then focus on where the problem seems to be. Of course if the only
test
> printer is half a world away, that can be tough.
> 
> We have considerable experience in working with international
> characters
> in a variety of environments. Our Print Wizard product can read and
> translate PCL-5 code, including emulating some of HP's Chinese
> cartridges.
> However, I don't recognize either the symbol set (18N) or the typeface
> (17006). What company supplied the DIMM? Is there documentation online
> for
> it? What kind of printer?
> 
> Another solution may be to use Print Wizard and standard Chinese
> Windows
> fonts. We can help with that. Contact me off-list if you'd like.
> 
> On Tue, 23 Feb 2010, Brenda Price wrote:
> 
> > We are trying to get a printer over in Hong Kong that has recently
> had a
> > DIMM chip installed with Andale Traditional Chinese font on it to
> print
> > in Chinese.  We cannot get the printer to recognize the font change.
> > Anyone deal with double byte languages?
> >
> > Here is what we last tried.  Only thing happened is the existing
font
> > changed size.  Just doing some simple tests.
> >
> >
> >   EQU ESC TO CHAR(27)
> >   EXECUTE 'SETPTR 0,132,59,0,0,1,AT HONGKONGWH2,RAW,FORMAT.MAP
> > BIG5+MARKS,COPIES 1,BRIEF'
> >  CHI.SEQ = ESC:"(18N":ESC:"(s1p12.0h8.5v0s0b17006T"
> >  PRINT ESC:'E'
> >  PRINT CHI.SEQ:MSG<2>
> >
> > Brenda L Price
> > UniVerse Programmer
> > Rapid Response Team
> > Market America, Inc.
> > Greensboro, NC
> >
> > ___
> > U2-Users mailing list
> > U2-Users@listserver.u2ug.org
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> >
> >
> 
> Regards,
> Bob Rasmussen,   President,   Rasmussen Software, Inc.
> 
> personal e-mail: r...@anzio.com
>  company e-mail: r...@anzio.com
>   voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> fax: (US) 503-624-0760
> web: http://www.anzio.com
>  street address: Rasmussen Software, Inc.
>  10240 SW Nimbus, Suite L9
>  Portland, OR  97223  USA
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] 32 vs 64 bit

2010-02-24 Thread Symeon Breen
Sounds like you will need to compile using the 32bit libraries  (either in
/lib or /lib32 ) and maybe with the -m32 option as well ?




-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wally Terhune
Sent: 24 February 2010 20:25
To: U2 Users List
Subject: Re: [U2] 32 vs 64 bit

UniData on Linux is a 32-bit build

Wally Terhune
U2 Support Architect
Rocket Software
4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: Wednesday, February 24, 2010 1:24 PM
To: 'Jeff Butera'; 'U2 Users List'
Subject: Re: [U2] 32 vs 64 bit

Redhat quite often comes with both the 32bit and 64bit libraries and you
need to ensure your compiler is pointing to the correct one.  I am not sure
if the 64bit udt install uses 32 or 64 bit libraries.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Butera
Sent: 23 February 2010 20:46
To: U2 Users List
Subject: [U2] 32 vs 64 bit

So we've got a new RedHat 64bit machine running unidata 7.2.2 which is 
super fast as compared to our old Solaris (unidata 7.1.8) box.  That said, 
when trying to compile a C program using Intercall library (libuvic.a) I 
get this on the new server:

/usr/bin/ld: skipping incompatible /usr/ud72/lib/libuvic.a when searching 
for -luvic

I'm assuming this is a 32 vs 64 bit mismatch.

I assumed that the libraries for unidata would be 64 bit, but perhaps my 
assumption was bad.  Am I thinking correctly?

And can I assume I'll have to force 32 bit mode to get this to compile?

Jeff Butera, Ph.D.
Manager of ERP Systems
Hampshire College
jbut...@hampshire.edu
413-559-5556

"What's life for anyway? It's for having fun. Not
  for going out with your parents and doing dumb stuff..."
  Catherine Butera

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] NLS and chinese printing question

2010-02-24 Thread Bob Rasmussen
The first step is to separate the printer from the BASIC (part of a 
general strategy to divide the problem into smaller pieces). So change 
your code below to output to a text file. Then look at it to see if you're 
getting into it what you think should be there. A hex editor is good for 
this.

Then try sending that file directly to the printer, not using UniVerse. 
Then focus on where the problem seems to be. Of course if the only test 
printer is half a world away, that can be tough.

We have considerable experience in working with international characters 
in a variety of environments. Our Print Wizard product can read and 
translate PCL-5 code, including emulating some of HP's Chinese cartridges. 
However, I don't recognize either the symbol set (18N) or the typeface 
(17006). What company supplied the DIMM? Is there documentation online for 
it? What kind of printer?

Another solution may be to use Print Wizard and standard Chinese Windows 
fonts. We can help with that. Contact me off-list if you'd like.

On Tue, 23 Feb 2010, Brenda Price wrote:

> We are trying to get a printer over in Hong Kong that has recently had a
> DIMM chip installed with Andale Traditional Chinese font on it to print
> in Chinese.  We cannot get the printer to recognize the font change.
> Anyone deal with double byte languages?
>  
> Here is what we last tried.  Only thing happened is the existing font
> changed size.  Just doing some simple tests.  
>  
>  
>   EQU ESC TO CHAR(27)
>   EXECUTE 'SETPTR 0,132,59,0,0,1,AT HONGKONGWH2,RAW,FORMAT.MAP
> BIG5+MARKS,COPIES 1,BRIEF'
>  CHI.SEQ = ESC:"(18N":ESC:"(s1p12.0h8.5v0s0b17006T"
>  PRINT ESC:'E'
>  PRINT CHI.SEQ:MSG<2>
>  
> Brenda L Price
> UniVerse Programmer
> Rapid Response Team
> Market America, Inc.
> Greensboro, NC
>  
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> 

Regards,
Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: r...@anzio.com
 company e-mail: r...@anzio.com
  voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
 street address: Rasmussen Software, Inc.
 10240 SW Nimbus, Suite L9
 Portland, OR  97223  USA
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] 32 vs 64 bit

2010-02-24 Thread Jeff Butera
On Wed, 2010-02-24 at 20:25 +, Wally Terhune wrote:
> UniData on Linux is a 32-bit build

Thanks Wally - that's what I thought...


-- 
Jeff Butera, Ph.D.
Manager of ERP Systems
Information Technology
Hampshire College
jbut...@hampshire.edu
413-559-5556

"Love is never having to read 
  your spouse miranda rights."
   NCIS

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

2010-02-24 Thread Perry Taylor
Wow! Excellent idea!  Thanks for that.. I'l give it a try.

Perry

- Original Message -
From: u2-users-boun...@listserver.u2ug.org 

To: 'U2 Users List' 
Sent: Wed Feb 24 15:26:52 2010
Subject: Re: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

If you run curl with the -v flag to set it verbose you can see what headers
are being sent and make sure you create the correct one in your code.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Perry Taylor
Sent: 22 February 2010 20:40
To: U2 Users List
Subject: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

I am unable to get the authentication credentials to be recognized by a
web server.  I am issuing the following...

createRequest(URL, 'GET', HDL)

setHTTPDefault('AUTHENTICATE', 'my_userid:my_password')

submitRequest(HDL, NUL, NUL, RESP.HDRS, RESP.DATA, HTTP.STATUS)

... and I always get back a 401 (Unauthorized) http status.

I can use curl, supplying the same credentials and I get a good return.

Any ideas?

Thanks.

Perry Taylor
ZirMed
626 West Main St , 6th Floor
Louisville, KY 40202
www.zirmed.com




CONFIDENTIALITY NOTICE: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is 
prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health 
Information, any communications containing such material will 
be returned to the originating party with such advisement 
noted. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the 
original message.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

2010-02-24 Thread Symeon Breen
If you run curl with the -v flag to set it verbose you can see what headers
are being sent and make sure you create the correct one in your code.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Perry Taylor
Sent: 22 February 2010 20:40
To: U2 Users List
Subject: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

I am unable to get the authentication credentials to be recognized by a
web server.  I am issuing the following...

createRequest(URL, 'GET', HDL)

setHTTPDefault('AUTHENTICATE', 'my_userid:my_password')

submitRequest(HDL, NUL, NUL, RESP.HDRS, RESP.DATA, HTTP.STATUS)

... and I always get back a 401 (Unauthorized) http status.

I can use curl, supplying the same credentials and I get a good return.

Any ideas?

Thanks.

Perry Taylor
ZirMed
626 West Main St , 6th Floor
Louisville, KY 40202
www.zirmed.com




CONFIDENTIALITY NOTICE: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is 
prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health 
Information, any communications containing such material will 
be returned to the originating party with such advisement 
noted. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the 
original message.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] 32 vs 64 bit

2010-02-24 Thread Wally Terhune
UniData on Linux is a 32-bit build

Wally Terhune
U2 Support Architect
Rocket Software
4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: Wednesday, February 24, 2010 1:24 PM
To: 'Jeff Butera'; 'U2 Users List'
Subject: Re: [U2] 32 vs 64 bit

Redhat quite often comes with both the 32bit and 64bit libraries and you
need to ensure your compiler is pointing to the correct one.  I am not sure
if the 64bit udt install uses 32 or 64 bit libraries.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Butera
Sent: 23 February 2010 20:46
To: U2 Users List
Subject: [U2] 32 vs 64 bit

So we've got a new RedHat 64bit machine running unidata 7.2.2 which is 
super fast as compared to our old Solaris (unidata 7.1.8) box.  That said, 
when trying to compile a C program using Intercall library (libuvic.a) I 
get this on the new server:

/usr/bin/ld: skipping incompatible /usr/ud72/lib/libuvic.a when searching 
for -luvic

I'm assuming this is a 32 vs 64 bit mismatch.

I assumed that the libraries for unidata would be 64 bit, but perhaps my 
assumption was bad.  Am I thinking correctly?

And can I assume I'll have to force 32 bit mode to get this to compile?

Jeff Butera, Ph.D.
Manager of ERP Systems
Hampshire College
jbut...@hampshire.edu
413-559-5556

"What's life for anyway? It's for having fun. Not
  for going out with your parents and doing dumb stuff..."
  Catherine Butera

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] 32 vs 64 bit

2010-02-24 Thread Symeon Breen
Redhat quite often comes with both the 32bit and 64bit libraries and you
need to ensure your compiler is pointing to the correct one.  I am not sure
if the 64bit udt install uses 32 or 64 bit libraries.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Butera
Sent: 23 February 2010 20:46
To: U2 Users List
Subject: [U2] 32 vs 64 bit

So we've got a new RedHat 64bit machine running unidata 7.2.2 which is 
super fast as compared to our old Solaris (unidata 7.1.8) box.  That said, 
when trying to compile a C program using Intercall library (libuvic.a) I 
get this on the new server:

/usr/bin/ld: skipping incompatible /usr/ud72/lib/libuvic.a when searching 
for -luvic

I'm assuming this is a 32 vs 64 bit mismatch.

I assumed that the libraries for unidata would be 64 bit, but perhaps my 
assumption was bad.  Am I thinking correctly?

And can I assume I'll have to force 32 bit mode to get this to compile?

Jeff Butera, Ph.D.
Manager of ERP Systems
Hampshire College
jbut...@hampshire.edu
413-559-5556

"What's life for anyway? It's for having fun. Not
  for going out with your parents and doing dumb stuff..."
  Catherine Butera

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Embedded program for Windows

2010-02-24 Thread Symeon Breen
Tonys post got me thinking and actually running an "app" in the browser that
is local gives a number of problems particularly with security, by default
browsers will not run scripts on local pages, cookies can be a problem as
well, and although in theory you would not need cookies as only the one
person will ever access the app, they are still integral to web technologies
so there may be a number of complications, thinking about this more what you
would really need is not only an embedded database but also an embedded web
server to serve the pages locally so as to get around these complications
and as mentioned WAMP would be ideal here.




 -Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno
Sent: 22 February 2010 19:20
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Embedded program for Windows

> From: Will Johnson
> A window appears with multiple line items listed. User 
> chooses one of more line items, for each one enters 
> some quantity desired. Submits, or saves, or closes or 
> whatever.
> 
> Next window only shows those line items they've 
> chosen, and the quantity. This window they can print.
> 
> This exe is given away free to customers, or at trade 
> shows, or whatever.
> 
> That's it.

This is funny - I just wrote a GUI for one of our clients that
does exactly what's been defined here, except that we're
scheduling people and quantities for manufacturing production
lines.

Mark, based on this limited set of requirements, you don't need
an MV DBMS at all.  This can be done in a short period of time,
including the installer, operating against text files or perhaps
MS Access files.  This might just take a couple hours, and most
of that time is time for head scratching, wondering why you
wanted to involve MV in this at all.  ;)

I'm guessing that's not really the full spec.

Again, I highly recommend that you and your client consider a
very attractive installable client interface, thick or thin, to a
remote server which provides the functionality, data storage,
etc.  Can you help us to understand why that may not be an
option?  If it is an option, then your solution may only be hours
away.

Also, I'd like to point out that installable progams for PC's
rarely use a browser interface to the localhost.  You either give
someone a URL to a website, or you install a thick client for
local use.  The app can be self-updating (like anti-virus
software and most others these days) and store the data locally
or remotely.  And of course all data management can be done on a
remote MV server, and you can balance the logic between the
client and MV server as well.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
remove.pleaseNebula-RnD.com/blog
http://Twitter.com/TonyGravagno

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Barcode Software for UniVerse?

2010-02-24 Thread Tony Gravagno
> From:Bryan Evans
> Can anyone recommend software to print UCC128 labels 
> from UniVerse?

Sure, check out PrintWizard.
See a BASIC demo I put on our website:
remove.nospamNebula-RnD.com/products/PW/demo2.htm
You can easily get 128A,B,C, dunno about GS1-128.

Here's the code to embed a barcode in your report:
  PRINT \\
How tough is that?

(Nebula R&D does not sell PrintWizard but it's highly
recommended.)

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
remove.pleaseNebula-RnD.com/blog
Visit PickWiki.com! Contribute!
http://Twitter.com/TonyGravagno


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Keep a running total in a listing

2010-02-24 Thread George Gallen
Both EVAL "@1+item" and EVAL "@1+item;@" gave the same result.
Is the ;@ required?

How does this work? I used to using @1 in I descriptors to reference the first 
value, but how does this reference the previous value?

Thanks

> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Henry Unger
> Sent: Wednesday, February 24, 2010 1:47 PM
> To: 'U2 Users List'
> Subject: Re: [U2] Keep a running total in a listing
> 
> Brian,
> 
> Wow. It does work! Sorry. I should have tried it.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Keep a running total in a listing

2010-02-24 Thread Henry Unger
Brian,

Wow. It does work! Sorry. I should have tried it. 

Now I remember what it was that I was thinking of that doesn't work, but I 
won't bore you with the details.

a) There are lots of things in UniVerse that are not documented, or documented 
in non-obvious places.

b) It's kind of like a magic trick. Once you know the "secret", it's like 
"Duh!".

c) I really doubt it's going to change. There are way too many things that are 
dependent on that behavior.

Best regards,

Henry

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach
Sent: Wednesday, February 24, 2010 10:15 AM
To: 'U2 Users List'
Subject: Re: [U2] Keep a running total in a listing

Hi Henry

Yes Universe supports the @1 approach but it's a) undocumented, b)
non-obvious and c) could always change some day - okay not likely but it's
not an 'official' feature or that's what I was told..

Brian

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Henry Unger
Sent: 24 February 2010 6:09 PM
To: 'U2 Users List'
Subject: Re: [U2] Keep a running total in a listing

Such things were so simple in PI/open:

SORT VOC @ID FMT "32L" SIZE EVAL "@1+SIZE;@" COL.HDG "Running" COL.SPCS
ID.SUP

 Length
@ID. (in Bytes) Running...

# 3  3
$INCLUDE  5  8
% 4 12
& 4 16
&ACCOUNTS&   45 61
&BASIC.HELP& 49110
&CREATE.WIDGET.FILE   1,184  1,294
&DELETE.WIDGETS 755  2,049
&DEVICES&43  2,092
&DEVLIST&43  2,135
&EDFS.HELP&  47  2,182
&EDITOPTIONS&47  2,229
&ENTER.WIDGETS  616  2,845
&GUI.HELP&   45  2,890
&LIST.WIDGETS 1,070  3,960
&MAP&35  3,995
&MODIFY.WIDGETS 578  4,573
&PARTFILES&  47  4,620

Perhaps someone knows of a similar trick for UniVerse.

Best regards,

Henry

Henry P. Unger
Hitech Systems, Inc.
http://www.hitech.com


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach
Sent: Wednesday, February 24, 2010 9:50 AM
To: 'U2 Users List'
Subject: Re: [U2] Keep a running total in a listing

George

>ED DICT BOOK_TITLES RUNNING_TOTAL
This is a Type "I" Descriptor last compiled on 23/07/09 at 16:35.
20 lines long.

: p
0001: I
0002: SUBR('RT','RUNNING_TOTAL',UNITS)
0003: MD0
0004: Run
0005: 10R
0006: S

>ED BLP RT
19 lines long.

: p
0001:   SUBROUTINE RT(ANS, WHICH, VALUE)
0002:   COMMON /RT/ RT.NAMES,RT.VALUES
0003:
0004:   IF @NI = 1 THEN
0005:  RT.NAMES = ''
0006:  RT.VALUES = ''
0007:   END
0008:   LOCATE WHICH IN RT.NAMES SETTING POS THEN
0009:  TOTAL = RT.VALUES
0010:   END ELSE
0011:  TOTAL = 0
0012:  RT.NAMES<-1> = WHICH
0013:  POS = DCOUNT(RT.NAMES,@FM)
0014:   END
0015:
0016:   TOTAL += VALUE
0017:   RT.VALUES = TOTAL
0018:   ANS = TOTAL
0019:   RETURN

LIST BOOK_TITLES RUNNING_TOTAL UNITS 04:37:46pm  23 Jul 2009  PAGE1
Key.. Run... Units

   10 2222
   11 23 1
   12 30 7
   13 35 5
   14 41 6
   15 46 5
   16 47 1
   17 49 2
   18 52 3

Brian  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: 23 February 2010 3:07 PM
To: U2 Users List
Subject: [U2] Keep a running total in a listing

How would you produce a running total column on a report? I've done this
once before, and can not remember how I set it up.
This is running UV 10

Ex.

LIST SOMEFILE F1

@IDF1
1  2
2  5
3  8
4 11

What I want to do is:

LIST SOMEFILE F1 TOTAL(F1)

@IDF1  TOTAL
1  2 2
2  5 7
3  815
4 11  26

Thanks

George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
No virus found in this incoming message.
Checked by AVG - w

Re: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

2010-02-24 Thread Mike Dallaire
Perry,
You might try
setHTTPDefault('Authorization', 'my_userid:my_password')

Mike

Michael Dallaire
Senior Applications Developer
IBM Certified Solutions Expert
Mortgage Builder Software, Inc.
mi...@mortgagebuilder.com
Main:  800.850.8060 ext. 103
Fax:248.304.0601
www.mortgagebuilder.com
 Help Desk198
Confidentiality Notice
This transmission may contain confidential information which is intended for
the exclusive use of the intended recipient. Any disclosure, copying,
distribution or use of the contents by anyone other than the intended
recipient is strictly prohibited. If received in error, please reply to the
sender immediately

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Perry Taylor
Sent: Monday, February 22, 2010 3:40 PM
To: U2 Users List
Subject: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

I am unable to get the authentication credentials to be recognized by a
web server.  I am issuing the following...

createRequest(URL, 'GET', HDL)

setHTTPDefault('AUTHENTICATE', 'my_userid:my_password')

submitRequest(HDL, NUL, NUL, RESP.HDRS, RESP.DATA, HTTP.STATUS)

... and I always get back a 401 (Unauthorized) http status.

I can use curl, supplying the same credentials and I get a good return.

Any ideas?

Thanks.

Perry Taylor
ZirMed
626 West Main St , 6th Floor
Louisville, KY 40202
www.zirmed.com




CONFIDENTIALITY NOTICE: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is 
prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health 
Information, any communications containing such material will 
be returned to the originating party with such advisement 
noted. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the 
original message.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

2010-02-24 Thread Perry Taylor
Doesn't look like you're using authentication but thanks for the examples 
anyway!

Perry

- Original Message -
From: u2-users-boun...@listserver.u2ug.org 

To: U2 Users List 
Sent: Wed Feb 24 13:18:29 2010
Subject: Re: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

Here is a live example of how we use it.

MY.PROXYSTATUS = setHTTPDefault("PROXY_NAME",PROXY.NAME) ;* set proxy name
MY.PROXYSTATUS2 = setHTTPDefault("PROXY_PORT",PROXY.PORT);* set proxy port

MY.PAGE = createRequest(MY.URL,"GET",MY.HANDLE) ;* create a page request
MY.PAGE2 = setRequestHeader(MY.HANDLE,MY.HEADER,MY.VALUE) ;* send the request
MY.PAGE3 = 
submitRequest(MY.HANDLE,MY.TIMEOUT,MY.POST.DATA,MY.RESPONSE,RAW.WEB.DATA,MY.HTTP_STATUS)
;*get the data


The above is not my code, but it works well. Hope that helps.

Norm


On Mon, Feb 22, 2010 at 3:40 PM, Perry Taylor  wrote:
> I am unable to get the authentication credentials to be recognized by a
> web server.  I am issuing the following...
>
> createRequest(URL, 'GET', HDL)
>
> setHTTPDefault('AUTHENTICATE', 'my_userid:my_password')
>
> submitRequest(HDL, NUL, NUL, RESP.HDRS, RESP.DATA, HTTP.STATUS)
>
> ... and I always get back a 401 (Unauthorized) http status.
>
> I can use curl, supplying the same credentials and I get a good return.
>
> Any ideas?
>
> Thanks.
>
> Perry Taylor
> ZirMed
> 626 West Main St , 6th Floor
> Louisville, KY 40202
> www.zirmed.com
>
>
>
>
> CONFIDENTIALITY NOTICE: This e-mail message, including any
> attachments, is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information.  Any
> unauthorized review, use, disclosure or distribution is
> prohibited. ZirMed, Inc. has strict policies regarding the
> content of e-mail communications, specifically Protected Health
> Information, any communications containing such material will
> be returned to the originating party with such advisement
> noted. If you are not the intended recipient, please contact
> the sender by reply e-mail and destroy all copies of the
> original message.
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

2010-02-24 Thread Norman Bauer
Here is a live example of how we use it.

MY.PROXYSTATUS = setHTTPDefault("PROXY_NAME",PROXY.NAME) ;* set proxy name
MY.PROXYSTATUS2 = setHTTPDefault("PROXY_PORT",PROXY.PORT);* set proxy port

MY.PAGE = createRequest(MY.URL,"GET",MY.HANDLE) ;* create a page request
MY.PAGE2 = setRequestHeader(MY.HANDLE,MY.HEADER,MY.VALUE) ;* send the request
MY.PAGE3 = 
submitRequest(MY.HANDLE,MY.TIMEOUT,MY.POST.DATA,MY.RESPONSE,RAW.WEB.DATA,MY.HTTP_STATUS)
;*get the data


The above is not my code, but it works well. Hope that helps.

Norm


On Mon, Feb 22, 2010 at 3:40 PM, Perry Taylor  wrote:
> I am unable to get the authentication credentials to be recognized by a
> web server.  I am issuing the following...
>
> createRequest(URL, 'GET', HDL)
>
> setHTTPDefault('AUTHENTICATE', 'my_userid:my_password')
>
> submitRequest(HDL, NUL, NUL, RESP.HDRS, RESP.DATA, HTTP.STATUS)
>
> ... and I always get back a 401 (Unauthorized) http status.
>
> I can use curl, supplying the same credentials and I get a good return.
>
> Any ideas?
>
> Thanks.
>
> Perry Taylor
> ZirMed
> 626 West Main St , 6th Floor
> Louisville, KY 40202
> www.zirmed.com
>
>
>
>
> CONFIDENTIALITY NOTICE: This e-mail message, including any
> attachments, is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information.  Any
> unauthorized review, use, disclosure or distribution is
> prohibited. ZirMed, Inc. has strict policies regarding the
> content of e-mail communications, specifically Protected Health
> Information, any communications containing such material will
> be returned to the originating party with such advisement
> noted. If you are not the intended recipient, please contact
> the sender by reply e-mail and destroy all copies of the
> original message.
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Keep a running total in a listing

2010-02-24 Thread Brian Leach
Hi Henry

Yes Universe supports the @1 approach but it's a) undocumented, b)
non-obvious and c) could always change some day - okay not likely but it's
not an 'official' feature or that's what I was told..

Brian

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Henry Unger
Sent: 24 February 2010 6:09 PM
To: 'U2 Users List'
Subject: Re: [U2] Keep a running total in a listing

Such things were so simple in PI/open:

SORT VOC @ID FMT "32L" SIZE EVAL "@1+SIZE;@" COL.HDG "Running" COL.SPCS
ID.SUP

 Length
@ID. (in Bytes) Running...

# 3  3
$INCLUDE  5  8
% 4 12
& 4 16
&ACCOUNTS&   45 61
&BASIC.HELP& 49110
&CREATE.WIDGET.FILE   1,184  1,294
&DELETE.WIDGETS 755  2,049
&DEVICES&43  2,092
&DEVLIST&43  2,135
&EDFS.HELP&  47  2,182
&EDITOPTIONS&47  2,229
&ENTER.WIDGETS  616  2,845
&GUI.HELP&   45  2,890
&LIST.WIDGETS 1,070  3,960
&MAP&35  3,995
&MODIFY.WIDGETS 578  4,573
&PARTFILES&  47  4,620

Perhaps someone knows of a similar trick for UniVerse.

Best regards,

Henry

Henry P. Unger
Hitech Systems, Inc.
http://www.hitech.com


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach
Sent: Wednesday, February 24, 2010 9:50 AM
To: 'U2 Users List'
Subject: Re: [U2] Keep a running total in a listing

George

>ED DICT BOOK_TITLES RUNNING_TOTAL
This is a Type "I" Descriptor last compiled on 23/07/09 at 16:35.
20 lines long.

: p
0001: I
0002: SUBR('RT','RUNNING_TOTAL',UNITS)
0003: MD0
0004: Run
0005: 10R
0006: S

>ED BLP RT
19 lines long.

: p
0001:   SUBROUTINE RT(ANS, WHICH, VALUE)
0002:   COMMON /RT/ RT.NAMES,RT.VALUES
0003:
0004:   IF @NI = 1 THEN
0005:  RT.NAMES = ''
0006:  RT.VALUES = ''
0007:   END
0008:   LOCATE WHICH IN RT.NAMES SETTING POS THEN
0009:  TOTAL = RT.VALUES
0010:   END ELSE
0011:  TOTAL = 0
0012:  RT.NAMES<-1> = WHICH
0013:  POS = DCOUNT(RT.NAMES,@FM)
0014:   END
0015:
0016:   TOTAL += VALUE
0017:   RT.VALUES = TOTAL
0018:   ANS = TOTAL
0019:   RETURN

LIST BOOK_TITLES RUNNING_TOTAL UNITS 04:37:46pm  23 Jul 2009  PAGE1
Key.. Run... Units

   10 2222
   11 23 1
   12 30 7
   13 35 5
   14 41 6
   15 46 5
   16 47 1
   17 49 2
   18 52 3

Brian  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: 23 February 2010 3:07 PM
To: U2 Users List
Subject: [U2] Keep a running total in a listing

How would you produce a running total column on a report? I've done this
once before, and can not remember how I set it up.
This is running UV 10

Ex.

LIST SOMEFILE F1

@IDF1
1  2
2  5
3  8
4 11

What I want to do is:

LIST SOMEFILE F1 TOTAL(F1)

@IDF1  TOTAL
1  2 2
2  5 7
3  815
4 11  26

Thanks

George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2705 - Release Date: 02/23/10
19:34:00

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2705 - Release Date: 02/24/10
07:34:00

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Keep a running total in a listing

2010-02-24 Thread Henry Unger
Such things were so simple in PI/open:

SORT VOC @ID FMT "32L" SIZE EVAL "@1+SIZE;@" COL.HDG "Running" COL.SPCS ID.SUP

 Length
@ID. (in Bytes) Running...

# 3  3
$INCLUDE  5  8
% 4 12
& 4 16
&ACCOUNTS&   45 61
&BASIC.HELP& 49110
&CREATE.WIDGET.FILE   1,184  1,294
&DELETE.WIDGETS 755  2,049
&DEVICES&43  2,092
&DEVLIST&43  2,135
&EDFS.HELP&  47  2,182
&EDITOPTIONS&47  2,229
&ENTER.WIDGETS  616  2,845
&GUI.HELP&   45  2,890
&LIST.WIDGETS 1,070  3,960
&MAP&35  3,995
&MODIFY.WIDGETS 578  4,573
&PARTFILES&  47  4,620

Perhaps someone knows of a similar trick for UniVerse.

Best regards,

Henry

Henry P. Unger
Hitech Systems, Inc.
http://www.hitech.com


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach
Sent: Wednesday, February 24, 2010 9:50 AM
To: 'U2 Users List'
Subject: Re: [U2] Keep a running total in a listing

George

>ED DICT BOOK_TITLES RUNNING_TOTAL
This is a Type "I" Descriptor last compiled on 23/07/09 at 16:35.
20 lines long.

: p
0001: I
0002: SUBR('RT','RUNNING_TOTAL',UNITS)
0003: MD0
0004: Run
0005: 10R
0006: S

>ED BLP RT
19 lines long.

: p
0001:   SUBROUTINE RT(ANS, WHICH, VALUE)
0002:   COMMON /RT/ RT.NAMES,RT.VALUES
0003:
0004:   IF @NI = 1 THEN
0005:  RT.NAMES = ''
0006:  RT.VALUES = ''
0007:   END
0008:   LOCATE WHICH IN RT.NAMES SETTING POS THEN
0009:  TOTAL = RT.VALUES
0010:   END ELSE
0011:  TOTAL = 0
0012:  RT.NAMES<-1> = WHICH
0013:  POS = DCOUNT(RT.NAMES,@FM)
0014:   END
0015:
0016:   TOTAL += VALUE
0017:   RT.VALUES = TOTAL
0018:   ANS = TOTAL
0019:   RETURN

LIST BOOK_TITLES RUNNING_TOTAL UNITS 04:37:46pm  23 Jul 2009  PAGE1
Key.. Run... Units

   10 2222
   11 23 1
   12 30 7
   13 35 5
   14 41 6
   15 46 5
   16 47 1
   17 49 2
   18 52 3

Brian  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: 23 February 2010 3:07 PM
To: U2 Users List
Subject: [U2] Keep a running total in a listing

How would you produce a running total column on a report? I've done this
once before, and can not remember how I set it up.
This is running UV 10

Ex.

LIST SOMEFILE F1

@IDF1
1  2
2  5
3  8
4 11

What I want to do is:

LIST SOMEFILE F1 TOTAL(F1)

@IDF1  TOTAL
1  2 2
2  5 7
3  815
4 11  26

Thanks

George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2705 - Release Date: 02/23/10
19:34:00

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Keep a running total in a listing

2010-02-24 Thread Brian Leach
George

>ED DICT BOOK_TITLES RUNNING_TOTAL
This is a Type "I" Descriptor last compiled on 23/07/09 at 16:35.
20 lines long.

: p
0001: I
0002: SUBR('RT','RUNNING_TOTAL',UNITS)
0003: MD0
0004: Run
0005: 10R
0006: S

>ED BLP RT
19 lines long.

: p
0001:   SUBROUTINE RT(ANS, WHICH, VALUE)
0002:   COMMON /RT/ RT.NAMES,RT.VALUES
0003:
0004:   IF @NI = 1 THEN
0005:  RT.NAMES = ''
0006:  RT.VALUES = ''
0007:   END
0008:   LOCATE WHICH IN RT.NAMES SETTING POS THEN
0009:  TOTAL = RT.VALUES
0010:   END ELSE
0011:  TOTAL = 0
0012:  RT.NAMES<-1> = WHICH
0013:  POS = DCOUNT(RT.NAMES,@FM)
0014:   END
0015:
0016:   TOTAL += VALUE
0017:   RT.VALUES = TOTAL
0018:   ANS = TOTAL
0019:   RETURN

LIST BOOK_TITLES RUNNING_TOTAL UNITS 04:37:46pm  23 Jul 2009  PAGE1
Key.. Run... Units

   10 2222
   11 23 1
   12 30 7
   13 35 5
   14 41 6
   15 46 5
   16 47 1
   17 49 2
   18 52 3

Brian  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: 23 February 2010 3:07 PM
To: U2 Users List
Subject: [U2] Keep a running total in a listing

How would you produce a running total column on a report? I've done this
once before, and can not remember how I set it up.
This is running UV 10

Ex.

LIST SOMEFILE F1

@IDF1
1  2
2  5
3  8
4 11

What I want to do is:

LIST SOMEFILE F1 TOTAL(F1)

@IDF1  TOTAL
1  2 2
2  5 7
3  815
4 11  26

Thanks






George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2705 - Release Date: 02/23/10
19:34:00

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] RBO Definitions

2010-02-24 Thread Doug
Hi Kevin: 

The file name is based on the RBO name.  So if you name your module TM your
file name would be TMCLASSES.  The file format is quite interesting.  We
have a program that can read it and convert to another formats.  You should
talk to me offline about your options.

Regards,
Doug
www.u2logic.com
"Native PHP support for U2"

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Tuesday, February 23, 2010 10:57 AM
To: U2 Users List
Subject: [U2] RBO Definitions

I am inheriting some code that connects to Unidata via Redback.  Where on
the server can one find the details stored by the Redback Designer?

--
-Kevin
http://www.PrecisOnline.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Barcode Software for UniVerse?

2010-02-24 Thread Mark Eastwood

I won't claim it's the best, just the one we've used for years -
BarTender 
Download free eval copy here:
http://www.seagullscientific.com/aspx/btw_down.aspx


-Original Message-

Can anyone recommend software to print UCC128 labels from UniVerse?  We
are
using Sato and Zebra printers.  I am looking for software that allows us
to
easily design and print lables.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Embedded program for Windows

2010-02-24 Thread Tony Gravagno
> From: Will Johnson
> A window appears with multiple line items listed. User 
> chooses one of more line items, for each one enters 
> some quantity desired. Submits, or saves, or closes or 
> whatever.
> 
> Next window only shows those line items they've 
> chosen, and the quantity. This window they can print.
> 
> This exe is given away free to customers, or at trade 
> shows, or whatever.
> 
> That's it.

This is funny - I just wrote a GUI for one of our clients that
does exactly what's been defined here, except that we're
scheduling people and quantities for manufacturing production
lines.

Mark, based on this limited set of requirements, you don't need
an MV DBMS at all.  This can be done in a short period of time,
including the installer, operating against text files or perhaps
MS Access files.  This might just take a couple hours, and most
of that time is time for head scratching, wondering why you
wanted to involve MV in this at all.  ;)

I'm guessing that's not really the full spec.

Again, I highly recommend that you and your client consider a
very attractive installable client interface, thick or thin, to a
remote server which provides the functionality, data storage,
etc.  Can you help us to understand why that may not be an
option?  If it is an option, then your solution may only be hours
away.

Also, I'd like to point out that installable progams for PC's
rarely use a browser interface to the localhost.  You either give
someone a URL to a website, or you install a thick client for
local use.  The app can be self-updating (like anti-virus
software and most others these days) and store the data locally
or remotely.  And of course all data management can be done on a
remote MV server, and you can balance the logic between the
client and MV server as well.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
remove.pleaseNebula-RnD.com/blog
http://Twitter.com/TonyGravagno

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Embedded program for Windows

2010-02-24 Thread George Gallen
You might be better off using WAMP, a combination of Apache for the webserver, 
MySQL for the database
   and PHP for the basic query of the database. WAMP is free. Throw in perl for 
any non-web programming
   of the database you might need (which you can also compile to .exe's).

If the application is simple enoughbut if they need more than that, they 
are most likely going to
have to pony up for at least 1 or 2 licenses.

George

> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
> Sent: Monday, February 22, 2010 2:51 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] Embedded program for Windows
>
> Thinking this over some more here is the stripped down version
> minimally
> expressed.
>
> A window appears with multiple line items listed.
> User chooses one of more line items, for each one enters some quantity
> desired.
> Submits, or saves, or closes or whatever.
>
> Next window only shows those line items they've chosen, and the
> quantity.
> This window they can print.
>
> This exe is given away free to customers, or at trade shows, or
> whatever.
>
> That's it.  The idea is very simple.  Maybe it would be better just to
> try
> to do something like this in Visual Basic without any Pick at all.
> Just
> make all the files .txt files.
>
> I really would have wished that U2 would get into the .exe market.  It
> could cause the proliferation of U2 products (at least the results) to
> explode.
>
> Will
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Barcode Software for UniVerse?

2010-02-24 Thread Bryan Evans
Can anyone recommend software to print UCC128 labels from UniVerse?  We are
using Sato and Zebra printers.  I am looking for software that allows us to
easily design and print lables.

Thanks in advance,

Bryan Evans
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Test

2010-02-24 Thread Brian Leach
Is the list active?
 
Suspiciously quiet..
 
Brian
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] RBO Definitions

2010-02-24 Thread Kevin King
I am inheriting some code that connects to Unidata via Redback.  Where on
the server can one find the details stored by the Redback Designer?

-- 
-Kevin
http://www.PrecisOnline.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] NLS and chinese printing question

2010-02-24 Thread Brenda Price
We are trying to get a printer over in Hong Kong that has recently had a
DIMM chip installed with Andale Traditional Chinese font on it to print
in Chinese.  We cannot get the printer to recognize the font change.
Anyone deal with double byte languages?
 
Here is what we last tried.  Only thing happened is the existing font
changed size.  Just doing some simple tests.  
 
 
  EQU ESC TO CHAR(27)
  EXECUTE 'SETPTR 0,132,59,0,0,1,AT HONGKONGWH2,RAW,FORMAT.MAP
BIG5+MARKS,COPIES 1,BRIEF'
 CHI.SEQ = ESC:"(18N":ESC:"(s1p12.0h8.5v0s0b17006T"
 PRINT ESC:'E'
 PRINT CHI.SEQ:MSG<2>
 
Brenda L Price
UniVerse Programmer
Rapid Response Team
Market America, Inc.
Greensboro, NC
 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] 32 vs 64 bit

2010-02-24 Thread Jeff Butera
So we've got a new RedHat 64bit machine running unidata 7.2.2 which is 
super fast as compared to our old Solaris (unidata 7.1.8) box.  That said, 
when trying to compile a C program using Intercall library (libuvic.a) I 
get this on the new server:


/usr/bin/ld: skipping incompatible /usr/ud72/lib/libuvic.a when searching 
for -luvic


I'm assuming this is a 32 vs 64 bit mismatch.

I assumed that the libraries for unidata would be 64 bit, but perhaps my 
assumption was bad.  Am I thinking correctly?


And can I assume I'll have to force 32 bit mode to get this to compile?

Jeff Butera, Ph.D.
Manager of ERP Systems
Hampshire College
jbut...@hampshire.edu
413-559-5556

"What's life for anyway? It's for having fun. Not
 for going out with your parents and doing dumb stuff..."
 Catherine Butera

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Universe Programmer wanted

2010-02-24 Thread Marezelle Willemse
Hi .

We're looking for a Universe programmer in South Africa. Anyone interested can 
email their CV to marezel...@gwk.co.za.

Regards.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Keep a running total in a listing

2010-02-24 Thread George Gallen
How would you produce a running total column on a report? I've done this once 
before, and can not remember how I set it up.
This is running UV 10

Ex.

LIST SOMEFILE F1

@IDF1
1  2
2  5
3  8
4 11

What I want to do is:

LIST SOMEFILE F1 TOTAL(F1)

@IDF1  TOTAL
1  2 2
2  5 7
3  815
4 11  26

Thanks






George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Embedded program for Windows

2010-02-24 Thread Ross Ferris
So, they print this "order" (?) out and then fax it to your client ...?

Tell me again why it wouldn't make more sense to simply do this over the
interweb? Incremental changes, new products etc would automatically be
available to everyone IMMEDIATELY - and they would have access to the
rest of the material on your customers website as well

10-15 years ago I remember doing stand alone order processes like this,
with product updates burnt onto a CD from data extracted from D3, but
things have moved on a LOT since then. Seriously, your customers clients
don't have internet access??? The whole thing just sounds so 20th
Century to me (sorry)


Ross Ferris
Stamina Software
Visage > Better by Design!


>-Original Message-
>From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
>boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
>Sent: Monday, 22 February 2010 6:51 PM
>To: u2-users@listserver.u2ug.org
>Subject: Re: [U2] Embedded program for Windows
>
>Thinking this over some more here is the stripped down version
minimally
>expressed.
>
>A window appears with multiple line items listed.
>User chooses one of more line items, for each one enters some quantity
>desired.
>Submits, or saves, or closes or whatever.
>
>Next window only shows those line items they've chosen, and the
>quantity.
>This window they can print.
>
>This exe is given away free to customers, or at trade shows, or
>whatever.
>
>That's it.  The idea is very simple.  Maybe it would be better just to
>try
>to do something like this in Visual Basic without any Pick at all.
Just
>make all the files .txt files.
>
>I really would have wished that U2 would get into the .exe market.  It
>could cause the proliferation of U2 products (at least the results) to
>explode.
>
>Will
>___
>U2-Users mailing list
>U2-Users@listserver.u2ug.org
>http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Uniobject.Net Plus ASP.Net web service performance (was Re: Error connecting to Universe using Web Service Developer Tool)

2010-02-24 Thread Jason Lin
Quoting djordan :

> I had a problem like this due to the Uniobject.Net client was an old
> version, I updated it to the latest version and this improved the process.
>
> David Jordan

Hi David,

Thanks for the tip on new vs old versions of Uniobject.Net.
After some testing, I found an workaround by installing an older version of 
Uniobjec.net.

I have tried the following versions of UODNET.DLL (from different version of 
Client software).

2.2.2.7348 OpenSession command needs 5 seconds to complete on all Windows 
2003 Servers but fast on Windows XP.
2.2.1.7327 OpenSession command needs 5 seconds to complete on all Windows 
2003 Servers but fast on Windows XP.
2.1.2.7251 OpenSession command runs fast on both Windows 2003 Server and 
Windows XP.
2.1.1.7196 OpenSession command runs fast on both Windows 2003 Server and 
Windows XP.

I suspect that the newer versions of UODOTNET have not been properly tested 
with old versions of Universe.
We are running Universe 10.1.2 (on HP-UX 11.00) which is pretty old.

For now I will have to use version 2.1.2.7251 of UODOENET.DLL.

Jason
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] [UV] - setHTTPDefault(AUTHENTICATE, value)

2010-02-24 Thread Perry Taylor
I am unable to get the authentication credentials to be recognized by a
web server.  I am issuing the following...

createRequest(URL, 'GET', HDL)

setHTTPDefault('AUTHENTICATE', 'my_userid:my_password')

submitRequest(HDL, NUL, NUL, RESP.HDRS, RESP.DATA, HTTP.STATUS)

... and I always get back a 401 (Unauthorized) http status.

I can use curl, supplying the same credentials and I get a good return.

Any ideas?

Thanks.

Perry Taylor
ZirMed
626 West Main St , 6th Floor
Louisville, KY 40202
www.zirmed.com




CONFIDENTIALITY NOTICE: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is 
prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health 
Information, any communications containing such material will 
be returned to the originating party with such advisement 
noted. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the 
original message.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users