Re: [U2] RE: free info - was XML and Accuterm

2005-08-26 Thread robwills_u2list
Tony wrote on 25/08/2005 21:09:03:

 I'll also note that Rob Wills just went to the Accuterm web site and got
 info that anyone could get, and generously volunteered to come up with 
more
 info from research tomorrow.  That's very helpful and I'd usually do the
 same myself, but in this case Rob is volunteering to do research simply
 because Will doesn't feel like doing it.  That is so wrong.

Actually the only reason I got involved was because someone said it 
couldn't be done using Accuterm. I stuck my neck out to say it probably 
could and then felt that I had to justify my opinion.  I find the forum 
incredibly useful as a resource and feel it is important to correct 
anything that is mistakenly posted.

Regards,

Rob Wills
(rob dot wills at tigerinfotech dot com)
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] RE: free info - was XML and Accuterm

2005-08-26 Thread FFT2001
In a message dated 8/26/2005 1:55:04 AM Pacific Standard Time,  
[EMAIL PROTECTED] writes:

Actually  the only reason I got involved was because someone said it 
couldn't be  done using Accuterm. I stuck my neck out to say it probably 
could and then  felt that I had to justify my opinion.


I'm sure it *can* be done, and I have done similar things with  Accuterm.  
Just not quite this similar ...  I'm not comfortable or  familiar with exactly 
how you go about sending a request that includes *content*  like click here, 
enter this, click there, get a response or alternatively  here is my XML data 
to which I will wait for a response for you Mr Web service  thingie.
 
So that's why I asked for a specific example of how you do that.
 
Now if someone asks me how to calculate reorder figures on a  
seasonal-and-slightly-custom inventory item, that's more up my alley.
 
Will Johnson
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] RE: free info - was XML and Accuterm

2005-08-26 Thread Josh Volosov (3)
Hi,

I will be at a customer's office for the rest of the day of August 26th.
 I will return to the office on August 29th.  I will no have access to
e-mail or voice mail.  If a you need an immediate response to your
e-mail please e-mail [EMAIL PROTECTED] or you can call Frank at extension
467.

Thanks and have a great day!

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


Re: [U2] XML and Accuterm

2005-08-26 Thread FFT2001
In a message dated 8/26/2005 8:42:36 AM Pacific Standard Time,  
[EMAIL PROTECTED] writes:

the VB  equivalent that you would use would be something like:

Dim oXMLServer  As Object
Set oXMLServer =  CreateObject(Msxml2.ServerXMLHTTP.3.0)

The last example on the page  shows how to send and receive XML.

The syntax is visual basic so it is  identical to using the UniObject 
Libraries.


Thanks Rob for this info, I'll check it out.
Will 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] AIX and Universe and Network Printers

2005-08-26 Thread Denny Watkins
I'm running AIX 4.3.3 on an RS6000 - model F50,
and running UniVerse release 9.6.2.5.

We have a couple of printers which connect directly into
the F50 (both serial and parallel) and are easy to describe
to Universe.  We have NO AIX/Unix Print Queues for these printers.

I also have a Printronix P5220S printer which I would like to
place on the network for the RS6000.
The printer has an ethernet port and has been configured
to the proper network settings (ie it has an IP address).
Currently the printer works very well via the parallel port.

My problem is configuring the printer to work with Universe
via network setup.

I'm not sure whether to configure a Print Queue on the
AIX/Unix side or not. I've heard you have to configure a
Print Queue on the AIX/Unix side.

QUESTIONS:

Do you have to have a Print Queue configured in AIX/Unix
in order to define/configure the printer in Universe?

If a print queue has to be defined in AIX/Unix, how do you
configure the network printer to Universe?

If a print queue does NOT have to be defined in AIX/Unix,
how do you configure the network printer to Universe?

If anyone using AIX and Universe and have setup network
printer(s) like the Printronix, I would like to hear what the
proper procedure for configuring the printer(s) so Universe
knows about them, especially if you have to use a driver
or script on the Universe side.

Thanks,


Denny Watkins
Director Computer Services
Morningside College
1501 Morningside Ave
Sioux City, Ia 51106-1717

Phone:  1-712-274-5250

Email:   mailto:[EMAIL PROTECTED][EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] XML and Accuterm

2005-08-26 Thread Glen B
 OK I've tried this and got a response, so it ~will work. The problem lies in 
the DOM object. UPS isn't getting the document content
and is sending back a missing XML document error. BTW, I'm on W2K and I 
didn't have to install the XML bundle. I have all the
latest SP's though as well as the .NET development kit. I'll try to find the 
ActiveX control that contains both of these objects and
post the filenames.

 Btw, if you want to kill Accuterm 2K2 regularly, just put a msgbox(xmldoc) 
right after the xmldoc is finished setting. I need to
post this over to Pete on the Asent forum.

PS: you will need an active UPS XML developer key and account in order to 
actually use this code. If you run it as-is you will get a
response, but it won't be tracking info. g

Sub Main()

Dim oXMLServer As Object
Dim oXMLDocument As Object
Dim xmldoc As String
Dim tracknum As String

Set oXMLServer = CreateObject(Msxml2.ServerXMLHTTP.3.0)
Set oXMLDocument = CreateObject(Msxml2.DOMDocument.3.0)

oXMLDocument.async = False
userid = my-UPS-dev-userid
passwd=my-UPS-dev-password
licensenum=my-UPS-dev-license
tracknum = my-trackingnum

xmldoc=
xmldoc=xmldoc  ?xml version=  Chr(34)  1.0  Chr(34)  ?  Chr(13)  
Chr(10)
xmldoc=xmldoc  AccessRequest xml:lang=  Chr(34)  en-US  Chr(34)   
 Chr(13)  Chr(10)
xmldoc=xmldoc  AccessLicenseNumber  licensenum  /AccessLicenseNumber 
 Chr(13)  Chr(10)
xmldoc=xmldoc  UserId  userid  /UserId  Chr(13)  Chr(10)
xmldoc=xmldoc  Password  passwd  /Password  Chr(13)  Chr(10)
xmldoc=xmldoc  /AccessRequest  Chr(13)  Chr(10)
xmldoc=xmldoc  ?xml version=  Chr(34)  1.0  Chr(34)  ?  Chr(13)  
Chr(10)
xmldoc=xmldoc  TrackRequest xml:lang=  Chr(34)  en-US  Chr(34)
Chr(13)  Chr(10)
xmldoc=xmldoc  Request  Chr(13)  Chr(10)
xmldoc=xmldoc  TransactionReference  Chr(13)  Chr(10)
xmldoc=xmldoc  CustomerContextExample 1/CustomerContext  Chr(13)  
Chr(10)
xmldoc=xmldoc  XpciVersion1.0001/XpciVersion  Chr(13)  Chr(10)
xmldoc=xmldoc  /TransactionReference  Chr(13)  Chr(10)
xmldoc=xmldoc  RequestActionTrack/RequestAction  Chr(13)  Chr(10)
xmldoc=xmldoc  RequestOptionnone/RequestOption  Chr(13)  Chr(10)
xmldoc=xmldoc  /Request  Chr(13)  Chr(10)
xmldoc=xmldoc  TrackingNumber  tracknum  /TrackingNumber  Chr(13)  
Chr(10)
xmldoc=xmldoc  /TrackRequest  Chr(13)  Chr(10)

oXMLDocument.loadXML(xmldoc)
oXMLServer.open (POST,https://www.ups.com/ups.app/xml/Track,False)
oXMLServer.send (oXMLDocument)

MsgBox(oXMLServer.responseXML.xml)

End Sub

Glen

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]
 Sent: Friday, August 26, 2005 11:30 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] XML and Accuterm


 I wrote on 25/08/2005 19:42:13:

  In my original post, I admitted to not actually using Accuterm.  I was
  basically saying that if Accuterm supported VBA then it should
 definitely
  be possible to send and receive XML just as you could in VB.
 
  I've since been on the Accuterm site just to check what it can do.  It
  does seem to have the capability to use VB object libraries and here's a

  URL link to a page on their site which goes into a lot of detail:
 
  http://www.asent.com/email_white_paper.htm
 
  As for the actual code to send and receive XML, I will need to dig that
  out of an application and I'll post it tomorrow hopefully.

 I promised some pointers to sending and receiving XML using a Windows
 application such as Accuterm that supports VBA.  Here is a link to a page
 on Microsoft's site that gives some ASP examples:

 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/e5c17f89-0197-496c-9164-ce0bbbd8490f.asp

 Where the code has:

 var objSrvHTTP;
 objSrvHTTP = Server.CreateObject (Msxml2.ServerXMLHTTP.3.0);

 the VB equivalent that you would use would be something like:

 Dim oXMLServer As Object
 Set oXMLServer = CreateObject(Msxml2.ServerXMLHTTP.3.0)

 The last example on the page shows how to send and receive XML.

 The syntax is visual basic so it is identical to using the UniObject
 Libraries.

 You need to be aware that if you go down this route then every Accuterm
 client PC that requires the functionality would require the XML library
 installing locally (or the DLL registered).  This is one of the reasons
 why getting code to execute on the server is preferable.

 In order to get hold of the library, go onto Micro$oft's site and do a
 search for MSXML from the Download Centre.
 ---
 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] AIX and Universe and Network Printers

2005-08-26 Thread Mark C. Baumann-Erb
Denny,

You will need to create an AIX print queue for this printer.  When you
have done that be sure to test printing from AIX before attempting to
define the printer in Universe.  The first step after the print queue is
working is to create a driver file for the printer that Universe will
use.  I typically place these in the Universe spooler directory
(normally /usr/spool/uv) and use the same name I want to use in Universe
with a .drv at the end.  So if I plan on calling this printer LP7 in
Universe then I'll use vi to edit the file /usr/spool/uv/lp7.drv and
make it look like this:

#! /bin/sh
cat - | lp -d{print queue}

Once you save this file, be sure to open permissions on it (chmod 777)
Then in Universe go to device maintenance and add it just as you would
for a normal printer except in the Pathname field you need to enter
/dev/null and in the Driver field enter the full quoted path to your
driver file (/usr/spool/uv/lp7.drv)  Once you save and re-read the
spooler configuration file it should be ready to go.

Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Denny Watkins
Sent: Friday, August 26, 2005 12:51 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] AIX and Universe and Network Printers

I'm running AIX 4.3.3 on an RS6000 - model F50,
and running UniVerse release 9.6.2.5.

We have a couple of printers which connect directly into
the F50 (both serial and parallel) and are easy to describe
to Universe.  We have NO AIX/Unix Print Queues for these printers.

I also have a Printronix P5220S printer which I would like to
place on the network for the RS6000.
The printer has an ethernet port and has been configured
to the proper network settings (ie it has an IP address).
Currently the printer works very well via the parallel port.

My problem is configuring the printer to work with Universe
via network setup.

I'm not sure whether to configure a Print Queue on the
AIX/Unix side or not. I've heard you have to configure a
Print Queue on the AIX/Unix side.

QUESTIONS:

Do you have to have a Print Queue configured in AIX/Unix
in order to define/configure the printer in Universe?

If a print queue has to be defined in AIX/Unix, how do you
configure the network printer to Universe?

If a print queue does NOT have to be defined in AIX/Unix,
how do you configure the network printer to Universe?

If anyone using AIX and Universe and have setup network
printer(s) like the Printronix, I would like to hear what the
proper procedure for configuring the printer(s) so Universe
knows about them, especially if you have to use a driver
or script on the Universe side.

Thanks,


Denny Watkins
Director Computer Services
Morningside College
1501 Morningside Ave
Sioux City, Ia 51106-1717

Phone:  1-712-274-5250

Email:   mailto:[EMAIL PROTECTED][EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/



__
This message was scanned by ATX
1:13:14 PM ET - 8/26/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Lexmark Optra Forms

2005-08-26 Thread Larry Hiscock
What happens if you move the form name to the bottom? Ie:
 
HELLO THERE
GOODBYE
SEE YOU LATER

#!TEST2!#


How did you create the form that you loaded into the printer?  Does it have
a reset command or a formfeed embedded in it?

Larry Hiscock
Western Computer Services


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of roy
Sent: Friday, August 26, 2005 12:54 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Lexmark Optra Forms

Does anyone have experience with Optra Forms.  I can print the form and I
can print the data but not together. 
 
my form activation string is #!TEST2!#
 
I create a file in AIX containing
 
#!TEST2!#
 
HELLO THERE
GOODBYE
SEE YOU LATER
 
I pass this file to lp -dlp119 where lp119 is the print queue for the
Lexmark printer and TEST2 is the form name stored in it's memory.
 
I get in return one page with the form printed in color as desired and a 2nd
page with the text.  I need them to merge.
Any Ideas or sources for help.  The Lexmark manuals and knowledge base have
gotten me this far, but now I am stuck.
 
 
 
Roy C. Beard
Distributor Solutions Inc.
P.O. Box 110520
Palm Bay, FL 32911-0520
321-956-6500
501-642-8698 Fax
---
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] Lexmark Optra Forms

2005-08-26 Thread Marilyn Hilb
Way back when, before these new fangled laser printers and drivers that handled 
this type of printing. I had to print the form, then actually issue a command 
to tell the printer to move the 'print position' back up to the top of the 
sheet of paper, then print the data. 

 -Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of roy
Sent:   Friday, August 26, 2005 2:54 PM
To: u2-users@listserver.u2ug.org
Subject:[U2] Lexmark Optra Forms

Does anyone have experience with Optra Forms.  I can print the form and I
can print the data but not together. 
 
my form activation string is #!TEST2!#
 
I create a file in AIX containing
 
#!TEST2!#
 
HELLO THERE
GOODBYE
SEE YOU LATER
 
I pass this file to lp -dlp119 where lp119 is the print queue for the
Lexmark printer and TEST2 is the form name stored in it's memory.
 
I get in return one page with the form printed in color as desired and a 2nd
page with the text.  I need them to merge.
Any Ideas or sources for help.  The Lexmark manuals and knowledge base have
gotten me this far, but now I am stuck.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Formatting Data Update

2005-08-26 Thread Al DeWitt
Thanks to all your help I was able to finally get it working.

However, it did mean that I had to compile as a BASICTYPE U and not as a 
BASICTYPE P.  I did this by writing a little paragraph that does the 
following:

PA
BASICTYPE U
BASIC BP EPCS9010.4
CATALOG BP EPCS9010.4 DIRECT FORCE
BASICTYPE P


I have to do this in every account I move this program to because our software 
(Avanti) runs as BASICTYPE P.

My question: Is there something I can put in the source code of my program that 
tells it to compile as a BASICTYPE U so that when I do:

OS.ED BP EPCS9010.4
  FIBCDF

It compiles as BASICTYPE U?  

I'm concerned that when I need to recompile all the BP entries in mass using a 
select list this program will compile back to the default BASICTYPE P and it 
stops working.

Thanks.

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


RE: [U2] Formatting Data Update

2005-08-26 Thread Martin Canty
Hi Al,

Certainly, you can use the $BASICTYPE compiler directive to assert a
BASICTYPE U within your compilation, it's documented at
http://publibfi.boulder.ibm.com/epubs/pdf/9163.pdf...

Martin

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Al DeWitt
Sent: Friday, August 26, 2005 3:13 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Formatting Data Update

Thanks to all your help I was able to finally get it working.

However, it did mean that I had to compile as a BASICTYPE U and not as
a BASICTYPE P.  I did this by writing a little paragraph that does the
following:

PA
BASICTYPE U
BASIC BP EPCS9010.4
CATALOG BP EPCS9010.4 DIRECT FORCE
BASICTYPE P


I have to do this in every account I move this program to because our
software (Avanti) runs as BASICTYPE P.

My question: Is there something I can put in the source code of my
program that tells it to compile as a BASICTYPE U so that when I do:

OS.ED BP EPCS9010.4
  FIBCDF

It compiles as BASICTYPE U?  

I'm concerned that when I need to recompile all the BP entries in mass
using a select list this program will compile back to the default
BASICTYPE P and it stops working.

Thanks.

Al
---
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] Formatting Data Update

2005-08-26 Thread Larry Hiscock
$BASICTYPE U at the top of the program should do the trick (HELP
$BASICTYPE)

Larry Hiscock
Western Computer Services
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Al DeWitt
Sent: Friday, August 26, 2005 3:13 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Formatting Data Update

Thanks to all your help I was able to finally get it working.

However, it did mean that I had to compile as a BASICTYPE U and not as a
BASICTYPE P.  I did this by writing a little paragraph that does the
following:

PA
BASICTYPE U
BASIC BP EPCS9010.4
CATALOG BP EPCS9010.4 DIRECT FORCE
BASICTYPE P


I have to do this in every account I move this program to because our
software (Avanti) runs as BASICTYPE P.

My question: Is there something I can put in the source code of my program
that tells it to compile as a BASICTYPE U so that when I do:

OS.ED BP EPCS9010.4
  FIBCDF

It compiles as BASICTYPE U?  

I'm concerned that when I need to recompile all the BP entries in mass using
a select list this program will compile back to the default BASICTYPE P
and it stops working.

Thanks.

Al
---
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] Lexmark Optra Forms

2005-08-26 Thread roy
Tried the up-side down approach to no avail.  The form was created using
software provided by Lexmark.  The fellow who did it is no longer with the
company.

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Larry Hiscock
Sent: Friday, August 26, 2005 4:44 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Lexmark Optra Forms

What happens if you move the form name to the bottom? Ie:
 
HELLO THERE
GOODBYE
SEE YOU LATER

#!TEST2!#


How did you create the form that you loaded into the printer?  Does it have
a reset command or a formfeed embedded in it?

Larry Hiscock
Western Computer Services


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of roy
Sent: Friday, August 26, 2005 12:54 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Lexmark Optra Forms

Does anyone have experience with Optra Forms.  I can print the form and I
can print the data but not together. 
 
my form activation string is #!TEST2!#
 
I create a file in AIX containing
 
#!TEST2!#
 
HELLO THERE
GOODBYE
SEE YOU LATER
 
I pass this file to lp -dlp119 where lp119 is the print queue for the
Lexmark printer and TEST2 is the form name stored in it's memory.
 
I get in return one page with the form printed in color as desired and a 2nd
page with the text.  I need them to merge.
Any Ideas or sources for help.  The Lexmark manuals and knowledge base have
gotten me this far, but now I am stuck.
 
 
 
Roy C. Beard
Distributor Solutions Inc.
P.O. Box 110520
Palm Bay, FL 32911-0520
321-956-6500
501-642-8698 Fax
---
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/


RE: [U2] [UV] This 2 line program can crash a UV session {Unclassified}

2005-08-26 Thread HENDERSON MIKE, MR
Jacques,

Seems like something you should report to IBM as an 'opportunity for
Product Quality Improvement' 
[or bug as we tend to call it! :-) ]

I don't see the problem on UV 10.0.15 (Windows2K3), if I give it spaces
it just returns one line with the specified width of spaces, so it may
be a brand new bug or a platform-specific issue with HP-UX

Mike

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
 Sent: Saturday, 27 August 2005 14:54
 To: u2-users@listserver.u2ug.org
 Subject: [U2] [UV] This 2 line program can crash a UV session
 
 0001: A = SPACE(7)
 0002: A = LOWER(FOLD(A,1))
 
 I've been using fold to put a VM at a specific
 interval in a variable for example:
 001:  A = FOLD(AABBCCDDEEFFGG,2)
 
 Which is shorter than:
 A = AA,BB,CC,DD,EE,FF,GG
 CONVERT , TO @AM IN A
 
 But fold has this feature where it will ignore the
 length specified if it finds spaces.  (Something that
 would be nice to over-ride).  In my case instead of
 getting a @AM between each space, the program crashes
 and kicks the user out of universe.
 
 Universe 10.1.8 running on HP-UX 
 
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/