[U2] Soap error question

2010-04-30 Thread Lunt, Bruce
Hi All,

 

We have a strange result happening with a simple soap service call and I was
hoping someone has seen this problem or something like it before.

 

We have 3 different soap calls: SSN.VERF, SSN.VERF.SUP & SSN.SUBMIT. Each
program has 2 inputs: CUST.NO & SSN and 1 output: VERIFY.

 

The first one: SSN.VERF is a program on UniData that accepts Cust.No &
last-4 of SSN. The program then reads the customer record and validates that
the last 4 of that customer's SSN match the 4 digits sent in the
transmission. If they match then it returns a 1 in the variable called
VERIFY. Otherwise, it returns a 0 (zero) in VERFIY.

 

SSN.VERF.SUP: Is for supervisors to send the whole 9-digit SSN and have it
verified as well with the same VERIFY variable being passed back.

 

SSN.SUBMIT: Is for adding the SSN to the customer's record if it does not
already exist. It checks for the existence in the record and in the
cross-reference file and returns 1 if the update was successful and zero
otherwise.

 

Now for the problem: SSN.VERF & SSN.VERF.SUP both work as expected.
SSN.SUBMIT appears to work when it is for an invalid entry (the SSN is
already on file) but whenever a valid SSN is entered for a customer with a
blank SSN field it fails with a strange error message, like this:

 

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

 

 

  Exception: Internal Web Service Server Error 

 

 

  Exception: Internal Web Service Server Error 

 

 

 

 



 

Can anyone suggest how we could debug this problem? Is there a way to
capture whatever it is that is freaking out the soap process?

 

TIA,

Bruce Lunt

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


Re: [U2] Complex printing (was Re: AccuTerm File Transfer)

2010-04-30 Thread Kevin King
Been working with PrintWizard all afternoon, thanks.  This looks like it'll
do the job nicely for our immediate need.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Tony Gravagno
> From: Glen Batchelor
> If that's the case, then check out HTMLDOC.

As a former devoted fan of HtmlDoc I'd now vote against it.
- It only supports most HTML 3.2 specs, not all.  These days
anything that doesn't support HTML 4 is downright primitive.
- There are always issues with fonts and character positioning.
- To make up for the HTML deficiencies, one might thing CSS is an
option, but this is not a browser and HtmlDoc does not support
CSS.
- While GPL, there is only one real author, Michael Sweet, who is
more famous for writing CUPS.  Michael is now an employee of
Apple and projects like HtmlDoc seem to be in maintenance mode at
best.  HtmlDoc was always way behind in the priority queue after
CUPS.

So it's almost there, and not getting any better.  The C++ source
is available, but like most really popular "Free and Open Source
Software", most people just want it to be "Free and Without Cost"
and the availability of source doesn't encourage anyone to
enhance the source even for their own use.  (I've dabbled with
the code and even published a binary release on our freeware
pages for people who didn't want to mess with source.)

I shifted from HtmlDoc to PDFCreator, and then eventually moved
to PrintWizard.  PW is one of those tools that satisfies a Lot of
needs- and I'm a big fan of using one, good, supported tool
rather than resorting to a hodge-podge of little applets.

2 devaluated cents
T

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula R&D sells mv.NET worldwide
and provides related development services
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] Remote Printing

2010-04-30 Thread McGowan, Ian
If you can, email the user a pdf :-)

I went to a lot of trouble many years ago printing via samba on AIX to local 
windows printers, and while it worked, it was painful to support (and then the 
requirements changed to have remote users with ssh but not vpn access).

You can do some amazing things in those custom printing scripts though...

dsir...@x04ifl01:/usr/local/bin ->cat spoolmail
#!/bin/sh

# Email the spooled file to the current user
# Parameters: 2 = full path to file


if [ "$1" == "TXT" ]; then
file=/tmp/report.$$.txt
# Leave things alone
perl -p -e 's/\n$/\r\n/;' $2 > $file
else
# RTF is the default
file=/tmp/report.$$.rtf
# Copy the header to a working copy
cp /usr/local/lib/TEMPLATE.RTF $file
# Append the report to the working copy
cat $2 >> $file
# Swap page breaks ^L for \\page and \n for \\par
perl -i -n -e 's{^L}{\\page }g;chomp;print $_,q(\\par );' $file
# Add a final paragraph marker to the end
echo \\par }} >> $file
fi

# Figure out who to send to
TO=`getalias $LOGNAME`
FROM=$TO

# Check for addresses that should be sent confidential
SUBJECT="Your report"
expr match $TO .\*customer.com > /dev/null
if [ $? -eq 0 ]; then
SUBJECT="Confidential: $SUBJECT"
fi

# Send it, already
/usr/local/bin/uuenview -b -f $FROM -m $TO -s "$SUBJECT" $file

rm $file


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of skunz...@comcast.net
Sent: Friday, April 30, 2010 9:12 AM
To: U2-Users
Subject: [U2] Remote Printing




We are looking for remote printing options from Unidata for VPN users. 
Currently using a remote print manager called RPM by Brooks. 



Cisco VPN 

RS6000/AIX 

Unidata 7.1 

Primac business software 



What are other companies using for this purpose? 



Thanks. Steve 


Steve Kunzman 
Andover, MN
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

IMPORTANT NOTICE: This message is intended only for the addressee
and may contain confidential, privileged information. If you are
not the intended recipient, you may not use, copy or disclose any
information contained in the message. If you have received this
message in error, please notify the sender by reply e-mail and
delete the message.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Glen Batchelor

  If that's the case, then check out HTMLDOC. You can generate PS from an
HTML file and then have Ghostscript create a pcl3 file from that using the
pcl3 output device option. You can then dump that file through the slave
printer and clean up the temp files. 

  I'm not 100% proven on the PCL support as an end-all solution, since I
recently found a bug in the PDL code. But, the GPL stuff is stable for the
most part and I use it regularly. The PCL data size is sometimes bloated due
to vector graphics blobs, but it should work OK for simple text PCL layouts.
Best thing is it's free. Of course, you should probably pay for an HTMLDOC
license if it's installed for enterprise use. It's not that expensive.


Glen Batchelor
IT Director
All-Spec Industries
 phone: (910) 332-0424
   fax: (910) 763-5664
E-mail: webmas...@all-spec.com
   Web: http://www.all-spec.com
  Blog: http://blog.all-spec.com


> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Kevin King
> Sent: Friday, April 30, 2010 2:29 PM
> To: U2 Users List
> Subject: Re: [U2] AccuTerm File Transfer
> 
> While the PW thing looks cool, and especially the integration with
> AccuTerm,
> the customer is on an earlier version of AccuTerm and I'm not entirely
> certain I can convince them to upgrade.  But... we have some really good
> ideas floating around here, and I appreciate all the input.
> ___
> 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] AccuTerm File Transfer

2010-04-30 Thread Bob Rasmussen
On Fri, 30 Apr 2010, Kevin King wrote:

> While the PW thing looks cool, and especially the integration with AccuTerm,
> the customer is on an earlier version of AccuTerm and I'm not entirely
> certain I can convince them to upgrade.  But... we have some really good
> ideas floating around here, and I appreciate all the input.

In that case you can use Print Wizard Server Edition, and send the print 
job via LPD from the server to Print Wizard.

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] AccuTerm File Transfer

2010-04-30 Thread Bob Rasmussen
On Fri, 30 Apr 2010, Glen Batchelor wrote:

> 
>  I'd opt for print wizard unless you want to hard code the PCL and avoid
> middleware. You can code the PCL font and spacing escape codes directly in
> your app and just print the code to the slave printer like normal. It's a
> little more design time, but it'll be a fairly static setup. If you want PCL
> example code to use print the label from Word to a Laserjet 4 driver set to
> print to file. Or, Google it. There are lots of PCL references on the web. I
> can help as well.

That works up to a point. But Kevin said he wanted to CENTER 
variable-pitch text, which would require knowing and using the width of 
every possible character.

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] AccuTerm File Transfer

2010-04-30 Thread Kevin King
While the PW thing looks cool, and especially the integration with AccuTerm,
the customer is on an earlier version of AccuTerm and I'm not entirely
certain I can convince them to upgrade.  But... we have some really good
ideas floating around here, and I appreciate all the input.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Complex printing (was Re: AccuTerm File Transfer)

2010-04-30 Thread Tony Gravagno
Kevin, now that you're asking questions like this, perhaps the
demos I've provided for PrintWizard would be of value:

nospamNebula-RnD.com/products/PW/demo2.htm
(Nebula R&D does not sell or support PrintWizard)

That's BASIC code to provide text positioning, styles,
justfication, images, barcodes, rotation, boxes, colors, lines,
PDF, FAX, Email, and lots of other cool features. It's much more
readable than PCL and the product support is outstanding.

HTH



> On Fri, 30 Apr 2010, Kevin King wrote:
> 
> > I understand the beauty of being able to push reports 
> > out a slave printer, but what do you do when the goal 
> > is printing labels with specific large proportionally 
> > spaced fonts and center or right justification of the 
> > text?

Bob Rasmussen responded:
> What you need is a way to describe complex printing that is 
> precise yet device independent. We happen to have such a thing.
> 
> [Ad]
> Imagine describing your desired printout in HTML. But 
> HTML won't let you be precise enough to get the text 
> exactly right on the labels, it won't print barcodes, 
> and it won't render consistently on different browsers 
> and different printers.
> 
> PWML addresses all that. Print Wizard Markup Language 
> is our means of doing just what you describe. 
> Rendering PWML is just part of what Print Wizard does.
[snip]

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


Re: [U2] AccuTerm File Transfer (script to change windows printer selection)

2010-04-30 Thread Glen Batchelor

 If the default printer on the remote session is used for the label and for
all other documents, then you don't need this code at all, but I figured I'd
post it anyway for reference.

Here's the code I use to change the default printer in Accuterm:

ACCUTERM.PRINTERNAME = "Local-Windows-Printer-Name"
PRINT CHAR(27):CHAR(2):'P
InitSession.PrinterName="':ACCUTERM.PRINTERNAME:'"':CHAR(13):

  To print PCL directly, make sure the slave printer section is marked "Text
mode" and that the driver for "Local-Windows-Printer-Name" is a
PCL-compatible driver. You will also need to set a "specific printer" in the
session printer setup, so that it can be changed programmatically.
 

Glen Batchelor
IT Director
All-Spec Industries
 phone: (910) 332-0424
   fax: (910) 763-5664
E-mail: webmas...@all-spec.com
   Web: http://www.all-spec.com
  Blog: http://blog.all-spec.com


> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Kevin King
> Sent: Friday, April 30, 2010 1:04 PM
> To: U2 Users List
> Subject: Re: [U2] AccuTerm File Transfer
> 
> Hey Peter, that sounds like the ticket for what I need.  What version
> should
> I look for?
> 
> Glen, the goal is to be able to print a label on a laser printer from a
> keypress on the Unidata application side.  The complexities are that the
> label needs various fonts, most of them proportionally spaced and center
> or
> right justified.  That's the gig.
> ___
> 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] AccuTerm File Transfer

2010-04-30 Thread Glen Batchelor


  I'd opt for print wizard unless you want to hard code the PCL and  
avoid middleware. You can code the PCL font and spacing escape codes  
directly in your app and just print the code to the slave printer like  
normal. It's a little more design time, but it'll be a fairly static  
setup. If you want PCL example code to use print the label from Word  
to a Laserjet 4 driver set to print to file. Or, Google it. There are  
lots of PCL references on the web. I can help as well.


Glen.mobile
RewriteRule ^(garbage|junk)$ /$1 [NC,L]

On Apr 30, 2010, at 1:04 PM, Kevin King  wrote:

Hey Peter, that sounds like the ticket for what I need.  What  
version should

I look for?

Glen, the goal is to be able to print a label on a laser printer  
from a
keypress on the Unidata application side.  The complexities are that  
the
label needs various fonts, most of them proportionally spaced and  
center or

right justified.  That's the gig.
___
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] AccuTerm File Transfer

2010-04-30 Thread Mecki Foerthmann
You will need to write sequentially (OPENSEQ, WRITESEQ) to make the DIR
file not only visible but also usable to the OS, though.
Unless you use CR:LF at the end of every line instead of attributes of
course.
I just changed a program today that was using the proprietary SB+
interface to write text files to Windows, which tended to "hang" more
than not lately.
I now write to a Samba share on Unix, convert the files using EXECUTE
'!unix2dos...', and then fire off a DOS batch file using  an SB+ process
to copy them into the right directory on a Windows network drive. You
can of course use zmodem, ftp or another protocol from Unix if you prefer.
Then you are actually totally independent from any terminal emulation
software.
I've done this before on sites that where using only telnet.
It works perfectly fine and is a lot faster and more reliable too.
I did this on UniData, but I believe it works on Universe as well.

Mecki

Bob Rasmussen wrote:
> On file transfer: Kevin King explained to me how he can use "directory 
> files" in Universe to create a file that is visible to the underlying OS. 
> This raises the possibility of firing off an OS-based file transfer 
> protocol (such as 'sz' for Zmodem) to do a robust transfer. What do you 
> think? 
>
> On Fri, 30 Apr 2010, Peter Schellenbach wrote:
>
>   
>> Later versions of AccuTerm support Print Wizard which will process documents
>> that use PCL5 for formatting and print them on any Windows printer, or send
>> the document as a pdf via email or fax. Lots of other bells & whistles. The
>> hooks to call Print Wizard can be used to pass the slave print job to any
>> command. You just need to create a custom "print adapter script" (VBA) and
>> tell AccuTerm to use it for slave printing.
>>
>> Regarding comments earlier in the thread, ASCII download (or simply using the
>> data capture to capture the stream to a file) is faster because it is a blind
>> transfer without any handshake or error checking. This is fine if you are
>> using a network connection because the session is running TCP which by
>> definition is an error-free flow-controlled connection.
>>
>> ___
>> 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] AccuTerm File Transfer

2010-04-30 Thread Peter Schellenbach
Kevin -  AccuTerm 2K2 Standard version (not the Lite version) release 
5.3c and 5.3c-sp2 includes the Print Wizard hooks.


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


Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Kevin King
Hey Peter, that sounds like the ticket for what I need.  What version should
I look for?

Glen, the goal is to be able to print a label on a laser printer from a
keypress on the Unidata application side.  The complexities are that the
label needs various fonts, most of them proportionally spaced and center or
right justified.  That's the gig.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Bob Rasmussen
On file transfer: Kevin King explained to me how he can use "directory 
files" in Universe to create a file that is visible to the underlying OS. 
This raises the possibility of firing off an OS-based file transfer 
protocol (such as 'sz' for Zmodem) to do a robust transfer. What do you 
think? 

On Fri, 30 Apr 2010, Peter Schellenbach wrote:

> Later versions of AccuTerm support Print Wizard which will process documents
> that use PCL5 for formatting and print them on any Windows printer, or send
> the document as a pdf via email or fax. Lots of other bells & whistles. The
> hooks to call Print Wizard can be used to pass the slave print job to any
> command. You just need to create a custom "print adapter script" (VBA) and
> tell AccuTerm to use it for slave printing.
> 
> Regarding comments earlier in the thread, ASCII download (or simply using the
> data capture to capture the stream to a file) is faster because it is a blind
> transfer without any handshake or error checking. This is fine if you are
> using a network connection because the session is running TCP which by
> definition is an error-free flow-controlled connection.
> 
> ___
> 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] Remote Printing

2010-04-30 Thread Bob Rasmussen
On Fri, 30 Apr 2010, skunz...@comcast.net wrote:

> We are looking for remote printing options from Unidata for VPN users. 
> Currently using a remote print manager called RPM by Brooks.

Print Wizard can work for this as well. One possibility is to use the LPD 
protocol from the server, and run Print Wizard's LPD service to receive 
the jobs.

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] AccuTerm File Transfer

2010-04-30 Thread Peter Schellenbach
Later versions of AccuTerm support Print Wizard which will process 
documents that use PCL5 for formatting and print them on any Windows 
printer, or send the document as a pdf via email or fax. Lots of 
other bells & whistles. The hooks to call Print Wizard can be used to 
pass the slave print job to any command. You just need to create a 
custom "print adapter script" (VBA) and tell AccuTerm to use it for 
slave printing.


Regarding comments earlier in the thread, ASCII download (or simply 
using the data capture to capture the stream to a file) is faster 
because it is a blind transfer without any handshake or error 
checking. This is fine if you are using a network connection because 
the session is running TCP which by definition is an error-free 
flow-controlled connection.


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


[U2] Remote Printing

2010-04-30 Thread skunzman



We are looking for remote printing options from Unidata for VPN users. 
Currently using a remote print manager called RPM by Brooks. 



Cisco VPN 

RS6000/AIX 

Unidata 7.1 

Primac business software 



What are other companies using for this purpose? 



Thanks. Steve 


Steve Kunzman 
Andover, MN
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Glen Batchelor

Kevin,

   Spell out what you want to achieve and I'm sure several solutions will be
suggested. I'm sure Tony has plenty of suggestions for controlling MSWord
from Accuterm. 

   DDE was a god-send back in the day and I did some neat app-control things
with it under Accuterm, but it's been replaced with COM mostly. The same
things can happen, but they may require a bit more scripting work. I've
moved away from heavy/critical Accuterm scripting, after running into
session window name query issues with it. It was hit-or-miss as to whether
or not I would get a null or the session name. Perhaps that has been fixed
in later releases. For some things it's great, but for the few times I've
(ab)used it the outcome was not 100% stable on high traffic calls. Of
course, I typically run into odd problems the rest of the world doesn't so
take it as you want.
 
   Did you read my 'transferring binary through FlashCONNECT from D3'
article in Spectrum? The methodology behind that style of data handling and
presentation is not unique to D3, FC, and Apache. I just happened to find
that a great solution to help present the message. Too often people get
stuck viewing one application as the center of the solution instead of a
component of a larger plan. There are other ways to get a result 'outside of
the box', while still using a required application as a trigger,
controlling, or pass-through point.
 

Glen Batchelor
IT Director
All-Spec Industries
 phone: (910) 332-0424
   fax: (910) 763-5664
E-mail: webmas...@all-spec.com
   Web: http://www.all-spec.com
  Blog: http://blog.all-spec.com


> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Kevin King
> Sent: Friday, April 30, 2010 10:40 AM
> To: U2 Users List
> Subject: Re: [U2] AccuTerm File Transfer
> 
> I understand the beauty of being able to push reports out a slave printer,
> but what do you do when the goal is printing labels with specific large
> proportionally spaced fonts and center or right justification of the text?
> ___
> 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] Complex printing (was Re: AccuTerm File Transfer)

2010-04-30 Thread Bob Rasmussen
On Fri, 30 Apr 2010, Kevin King wrote:

> I understand the beauty of being able to push reports out a slave printer,
> but what do you do when the goal is printing labels with specific large
> proportionally spaced fonts and center or right justification of the text?

What you need is a way to describe complex printing that is precise yet 
device independent. We happen to have such a thing.

[Ad]
Imagine describing your desired printout in HTML. But HTML won't let you 
be precise enough to get the text exactly right on the labels, it won't 
print barcodes, and it won't render consistently on different browsers and 
different printers. 

PWML addresses all that. Print Wizard Markup Language is our means of 
doing just what you describe. Rendering PWML is just part of what Print 
Wizard does. 

If you're using AccuTerm, you can passthroguh-print the PWML print job, 
then have AccuTerm fire off Print Wizard to render it on a specified 
printer. Peter already includes the scripts to do that. All you need is 
Print Wizard Personal Edition, which is $99.

(You can even preview the labels, and tell it to start printing at a 
certain label, to avoid wasting a partial sheet.)

Or, you can use AnzioWin, our terminal emulator, which has the Print 
Wizard engine built in. Passthrough print jobs will go straight to the 
printer (with optional preview). AnzioWin starts at $150.

Demos are availble. For more info see:
   
http://www.anzio.com/support/vendors/Multivalue%20-%20Frequently%20asked%20questions.html

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] AccuTerm File Transfer

2010-04-30 Thread Glen Batchelor

  The same is true for HTTP based services, provided the service is secured
for Internet querying or a VPN is in place for WAN requests. The only time
port 80/443 are issues is when the PC is locked down due to a strict IAP. If
you have a bridged VPN you can even use Windows/Samba shares across the
nodes and open stuff up directly from an off-site server and not involve a
web browser. A WINS server may be required depending on how the networks are
tied together.


Glen Batchelor
IT Director
All-Spec Industries
 phone: (910) 332-0424
   fax: (910) 763-5664
E-mail: webmas...@all-spec.com
   Web: http://www.all-spec.com
  Blog: http://blog.all-spec.com

> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Dave Laansma
> Sent: Friday, April 30, 2010 8:40 AM
> To: U2 Users List
> Subject: Re: [U2] AccuTerm File Transfer
> 
> The beauty of the Accuterm (and other direct 'push' features) is that
> there is virtually no setup required on the PC in order to transfer the
> data.  If Accuterm is operational and you have a network connection, it
> simply works.
> 
> And if you get really creative, after the file is transported to the PC,
> then you can activate open Excel run an Accuterm script that opens said
> file and automatically formats the columns right in front of the user.
> 
> My users have come to LOVE this 'magical' report delivery method.  And
> no special setup is necessary on their PC.
> 
> Sincerely,
> David Laansma
> IT Manager
> Hubbard Supply Co.
> Direct: 810-342-7143
> Office: 810-234-8681
> Fax: 810-234-6142
> www.hubbardsupply.com
> "Delivering Products, Services and Innovative Solutions"
> 
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Houben
> Sent: Friday, April 30, 2010 1:21 AM
> To: U2 Users List
> Subject: Re: [U2] AccuTerm File Transfer
> 
> Back in 1985/86 I helped design and develop a terminal emulator, the
> first one for PICK, called PK Harmony (based on the PC-Harmony Business
> Basic emulator family).  We designed all these useful escape sequences
> so you could have a PICK/BASIC program run a DOS command, or drive a
> printer, either directly or through a "slave printer" function.  I'd
> like to think that modern terminal emulators have a way to direct output
> to a printer, but maybe not.  I've been out of the terminal emulator end
> of things and into ODBC/JDBC and successors for almost 20 years now.
> 
> They might pop up and ask you what printer to send output to, which
> would be a bit of a drag. The more useful thing would be to be able to
> ask the emulator what printers it has available and optionally select
> one by name or ordinal, from the list.  Then you could do everything
> programmatically, without interaction.
> 
> These days I tend to operate from telnet, so I don't really know the
> emulators, anymore.
> 
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian
> Sent: Thursday, April 29, 2010 6:31 PM
> To: U2 Users List
> Subject: Re: [U2] AccuTerm File Transfer
> 
> I forgot the obligatory plug for pickwiki:
> http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has
> escape sequences for a lot of the common emulators...
> 
> Ian McGowan
> 
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian
> Sent: Thursday, April 29, 2010 6:25 PM
> To: U2 Users List
> Subject: Re: [U2] AccuTerm File Transfer
> 
> If you can arrange for the terminal emulator to run a command, you can
> fire off (for example):
> 
> "cmd /c start http://myserver/files/abc123.pdf";
> 
> And the end user's PC will launch the default browser and attempt to
> connect to the web service.  You set the mime-type to application/pdf,
> include some magic javascript in the pdf to open up the print dialog
> automatically, and Bob's your uncle.  Closing the pdf is tricky, we've
> left it to the user to do that.  For word, substitute macros for
> javascript (though the user will have to be prepared for scary popups).
> 
> If you have full control of the client's environment, you can install
> tools like doit (by the author of putty) and bypass the terminal
> emulator bit.
> 
> http://www.chiark.greenend.org.uk/~sgtatham/doit/
> 
> The other way we do this to send word, excel and pdf docs generated by
> pick basic code is to simply email it to the user.  Sometimes there's no
> other options - there's a firewall in the way, security won't allow
> other methods, etc.  The users don't seem to care, as long as they get a
> document in a few seconds.
> 
> Ian McGowan
> 925.609.2554
> 
> 
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [ma

Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Doug
I've used AccuTerm, wIntegrate, FTP, rcp, cp, COPY and others I cannot even
remember their names.  I used them for conversions, setup demos, setup
development accounts, etc.  They all are slow, sometimes they do not copy
all of the data, and or require multiple steps.  Must I learn archaic codes
or macros? Yuk.

What I really wanted is what I can get in a modern interface like Windows
Explorer.  The ability to copy and paste U2 database data from Universe to
Universe, Unidata to Unidata, Unix to Windows, or Linux to Windows.  Oh, I
want the data to be transferred fast and accurately.

[ad]
I've done that with our Eclipse based tools.  I can transfer gigabytes of
data from one system to another use standard copy and paste routines.  I
don't have to remember Q-pointers, bridge transfer scripts, or anything
else.

For $49.00 you can get the capability and save yourself hours of wasted
time.  You also get a state of the art Basic code editor, Dictionary editor,
and data editor.  Our team has been working overtime with the plethora of
changes.  See www.u2logic.com/tools.html for more information.
[/ad]

Regards,
Doug
"The Original Eclipse based tools people"



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Laansma
Sent: Friday, April 30, 2010 6:40 AM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

The beauty of the Accuterm (and other direct 'push' features) is that
there is virtually no setup required on the PC in order to transfer the
data.  If Accuterm is operational and you have a network connection, it
simply works.

And if you get really creative, after the file is transported to the PC,
then you can activate open Excel run an Accuterm script that opens said
file and automatically formats the columns right in front of the user.

My users have come to LOVE this 'magical' report delivery method.  And
no special setup is necessary on their PC.

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

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Houben
Sent: Friday, April 30, 2010 1:21 AM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

Back in 1985/86 I helped design and develop a terminal emulator, the
first one for PICK, called PK Harmony (based on the PC-Harmony Business
Basic emulator family).  We designed all these useful escape sequences
so you could have a PICK/BASIC program run a DOS command, or drive a
printer, either directly or through a "slave printer" function.  I'd
like to think that modern terminal emulators have a way to direct output
to a printer, but maybe not.  I've been out of the terminal emulator end
of things and into ODBC/JDBC and successors for almost 20 years now.

They might pop up and ask you what printer to send output to, which
would be a bit of a drag. The more useful thing would be to be able to
ask the emulator what printers it has available and optionally select
one by name or ordinal, from the list.  Then you could do everything
programmatically, without interaction.

These days I tend to operate from telnet, so I don't really know the
emulators, anymore.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian
Sent: Thursday, April 29, 2010 6:31 PM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

I forgot the obligatory plug for pickwiki:
http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has
escape sequences for a lot of the common emulators...

Ian McGowan

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian
Sent: Thursday, April 29, 2010 6:25 PM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

If you can arrange for the terminal emulator to run a command, you can
fire off (for example):

"cmd /c start http://myserver/files/abc123.pdf";

And the end user's PC will launch the default browser and attempt to
connect to the web service.  You set the mime-type to application/pdf,
include some magic javascript in the pdf to open up the print dialog
automatically, and Bob's your uncle.  Closing the pdf is tricky, we've
left it to the user to do that.  For word, substitute macros for
javascript (though the user will have to be prepared for scary popups).

If you have full control of the client's environment, you can install
tools like doit (by the author of putty) and bypass the terminal
emulator bit.

http://www.chiark.greenend.org.uk/~sgtatham/doit/

The other way we do this to send word, excel and pdf docs generated by
pick basic code is to simply email it to the user.  Sometimes there's no
other options - there's a firewall in the way

Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Marc Harbeson
I use Bartender on the host (or on a windows host if NIX)

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Friday, April 30, 2010 10:40 AM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

I understand the beauty of being able to push reports out a slave printer,
but what do you do when the goal is printing labels with specific large
proportionally spaced fonts and center or right justification of the text?
___
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] AccuTerm File Transfer

2010-04-30 Thread Kevin King
I understand the beauty of being able to push reports out a slave printer,
but what do you do when the goal is printing labels with specific large
proportionally spaced fonts and center or right justification of the text?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Dave Laansma
The beauty of the Accuterm (and other direct 'push' features) is that
there is virtually no setup required on the PC in order to transfer the
data.  If Accuterm is operational and you have a network connection, it
simply works.

And if you get really creative, after the file is transported to the PC,
then you can activate open Excel run an Accuterm script that opens said
file and automatically formats the columns right in front of the user.

My users have come to LOVE this 'magical' report delivery method.  And
no special setup is necessary on their PC.

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

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Houben
Sent: Friday, April 30, 2010 1:21 AM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

Back in 1985/86 I helped design and develop a terminal emulator, the
first one for PICK, called PK Harmony (based on the PC-Harmony Business
Basic emulator family).  We designed all these useful escape sequences
so you could have a PICK/BASIC program run a DOS command, or drive a
printer, either directly or through a "slave printer" function.  I'd
like to think that modern terminal emulators have a way to direct output
to a printer, but maybe not.  I've been out of the terminal emulator end
of things and into ODBC/JDBC and successors for almost 20 years now.

They might pop up and ask you what printer to send output to, which
would be a bit of a drag. The more useful thing would be to be able to
ask the emulator what printers it has available and optionally select
one by name or ordinal, from the list.  Then you could do everything
programmatically, without interaction.

These days I tend to operate from telnet, so I don't really know the
emulators, anymore.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian
Sent: Thursday, April 29, 2010 6:31 PM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

I forgot the obligatory plug for pickwiki:
http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has
escape sequences for a lot of the common emulators...

Ian McGowan

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian
Sent: Thursday, April 29, 2010 6:25 PM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

If you can arrange for the terminal emulator to run a command, you can
fire off (for example):

"cmd /c start http://myserver/files/abc123.pdf";

And the end user's PC will launch the default browser and attempt to
connect to the web service.  You set the mime-type to application/pdf,
include some magic javascript in the pdf to open up the print dialog
automatically, and Bob's your uncle.  Closing the pdf is tricky, we've
left it to the user to do that.  For word, substitute macros for
javascript (though the user will have to be prepared for scary popups).

If you have full control of the client's environment, you can install
tools like doit (by the author of putty) and bypass the terminal
emulator bit.

http://www.chiark.greenend.org.uk/~sgtatham/doit/

The other way we do this to send word, excel and pdf docs generated by
pick basic code is to simply email it to the user.  Sometimes there's no
other options - there's a firewall in the way, security won't allow
other methods, etc.  The users don't seem to care, as long as they get a
document in a few seconds.

Ian McGowan
925.609.2554


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Thursday, April 29, 2010 5:01 PM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

Glen, so how is it exactly that an event on the server will trigger this
transfer, open, print, and exit?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
IMPORTANT NOTICE: This message is intended only for the addressee
and may contain confidential, privileged information. If you are
not the intended recipient, you may not use, copy or disclose any
information contained in the message. If you have received this
message in error, please notify the sender by reply e-mail and
delete the 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.u

Re: [U2] AccuTerm File Transfer

2010-04-30 Thread Glen Batchelor


   You can systematically change the slave printer on the remote  
Accuterm PC using host-issued scripting, but you gotta be careful of  
windows printer names with spaces. I dump check printing code directly  
to a printer and then reset back to default using this method. I  
seriously doubt a binary word doc will pass through without wrecking  
the slave session, but you can ask Pete on the Asent support forum.  
There is probably already a similar question on the scripting forum.


Glen.mobile
RewriteRule ^(garbage|junk)$ /$1 [NC,L]

On Apr 30, 2010, at 1:20 AM, Robert Houben   
wrote:


Back in 1985/86 I helped design and develop a terminal emulator, the  
first one for PICK, called PK Harmony (based on the PC-Harmony  
Business Basic emulator family).  We designed all these useful  
escape sequences so you could have a PICK/BASIC program run a DOS  
command, or drive a printer, either directly or through a "slave  
printer" function.  I'd like to think that modern terminal emulators  
have a way to direct output to a printer, but maybe not.  I've been  
out of the terminal emulator end of things and into ODBC/JDBC and  
successors for almost 20 years now.


They might pop up and ask you what printer to send output to, which  
would be a bit of a drag. The more useful thing would be to be able  
to ask the emulator what printers it has available and optionally  
select one by name or ordinal, from the list.  Then you could do  
everything programmatically, without interaction.


These days I tend to operate from telnet, so I don't really know the  
emulators, anymore.


-Original Message-
From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- 
boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian

Sent: Thursday, April 29, 2010 6:31 PM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

I forgot the obligatory plug for pickwiki: http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram 
 - this page has escape sequences for a lot of the common emulators...


Ian McGowan

-Original Message-
From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- 
boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian

Sent: Thursday, April 29, 2010 6:25 PM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

If you can arrange for the terminal emulator to run a command, you  
can fire off (for example):


"cmd /c start http://myserver/files/abc123.pdf";

And the end user's PC will launch the default browser and attempt to  
connect to the web service.  You set the mime-type to application/ 
pdf, include some magic javascript in the pdf to open up the print  
dialog automatically, and Bob's your uncle.  Closing the pdf is  
tricky, we've left it to the user to do that.  For word, substitute  
macros for javascript (though the user will have to be prepared for  
scary popups).


If you have full control of the client's environment, you can  
install tools like doit (by the author of putty) and bypass the  
terminal emulator bit.


http://www.chiark.greenend.org.uk/~sgtatham/doit/

The other way we do this to send word, excel and pdf docs generated  
by pick basic code is to simply email it to the user.  Sometimes  
there's no other options - there's a firewall in the way, security  
won't allow other methods, etc.  The users don't seem to care, as  
long as they get a document in a few seconds.


Ian McGowan
925.609.2554


-Original Message-
From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- 
boun...@listserver.u2ug.org] On Behalf Of Kevin King

Sent: Thursday, April 29, 2010 5:01 PM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

Glen, so how is it exactly that an event on the server will trigger  
this

transfer, open, print, and exit?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
IMPORTANT NOTICE: This message is intended only for the addressee
and may contain confidential, privileged information. If you are
not the intended recipient, you may not use, copy or disclose any
information contained in the message. If you have received this
message in error, please notify the sender by reply e-mail and
delete the 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

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