RE: [U2] and PDF

2007-10-24 Thread Bill Haskett
Troy:

Well then, don't you think it's about time to completely reengineer your 
solution?
:-)

Bill

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Buss, 
Troy (Logitek Systems)
Sent: Wednesday, October 24, 2007 5:11 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] and PDF

Bill,

Fyi.. 

We use pcl2pdf32 from visual software in the uk on windows server 2003
and UV 10.0.15:

http://www.visual.co.uk/

However, I notice they will *start* to support hp-gl/2 in the next
release:   http://www.visual.co.uk/pcl2pdfwhatsnew.asp

Our forms are all PCL and their solution has worked well for 
us for many
years.
---
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] and PDF

2007-10-24 Thread Buss, Troy (Logitek Systems)
Bill,

Fyi.. 

We use pcl2pdf32 from visual software in the uk on windows server 2003
and UV 10.0.15:

http://www.visual.co.uk/

However, I notice they will *start* to support hp-gl/2 in the next
release:   http://www.visual.co.uk/pcl2pdfwhatsnew.asp

Our forms are all PCL and their solution has worked well for us for many
years.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] and PDF

2007-10-23 Thread Brutzman, Bill
The Son-Of-Boss joined the company and expressed disappointment that all of
our forms 
are not pdfs.

Right now, most of our forms are HP-GL/2.

Also, none of the other end-users are looking to do things like eMail
Purchase.Orders to 
suppliers.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Hona, David S
Sent: Friday, October 19, 2007 7:03 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] and PDF


What does 'manage' mean?
Do you need barcodes, table of contents, graphics, charts, etc? Do you
have a budget? The sky is the limit, of course!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Friday, October 19, 2007 2:03 AM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] and PDF

What products are available to be able to create and manage Adobe pdf
documents in a 
world of UniVerse, HP-Ux, and wIntegrate and Dynamic Connect clients?

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


RE: [U2] and PDF

2007-10-23 Thread Tony G
When I was at Raining Data back in 1999 I created a demo which allows data
entered in a PDF form to be posted to D3 via FlashCONNECT, and a simple web
page is returned to confirm that data.  The demo is available here:
http://flashconnect.rainingdata.com/fcdemos/index.html
Click the PDF demo.  The DBMS is irrelevant as is the pipe from client to
server.  The same functionality is available with U2 and any of the common
pipes used for web development.

Is this the sort of functionality that you're looking for?  If so, info is
available there to help you work out how to do it on your own.  Let me know
if you'd like help with this or your other document
processing/communications.

Tony Gravagno
Nebula Research and Development
TG@ removethisNebula-RnD.com

Blogging about southern California fires affecting local MV businesses:
removeNebula-RnD.com/blog/cosmos/earth/2007/10/local-fires1.html
Map updated at least every half hour.


 From: Brutzman, Bill
 The Son-Of-Boss joined the company and expressed 
 disappointment that all of our forms  are not pdfs.
 Right now, most of our forms are HP-GL/2.

 Also, none of the other end-users are looking to do things like eMail
 Purchase.Orders to suppliers.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] and PDF

2007-10-23 Thread Anthony W. Youngman
In message [EMAIL PROTECTED], Brutzman, Bill 
[EMAIL PROTECTED] writes

The Son-Of-Boss joined the company and expressed disappointment that all of
our forms
are not pdfs.


Oh ... PHBs following the latest fad springs to mind ... :-)


Right now, most of our forms are HP-GL/2.


Seeing as you're on AIX, the solution other users have mentioned seems 
about right - set up a print queue using ghostscript that accepts HP-GL 
and chucks out pdfs.


imho HP-GL and PCL are much better :-) but I've had a few nasty 
experiences with postscript drivers ...


Also, none of the other end-users are looking to do things like eMail
Purchase.Orders to
suppliers.


Ah - a solution looking for a problem :-)

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


Re: [AD][U2] and PDF

2007-10-22 Thread Brian Leach
Or:
[AD] use a dedicated tool like mvPDF that offers a page designer... [/AD]

If you factor in the time you save in setting up some of these tools the cost 
disappears pretty quick.

Brian

On 10/20/07, Hona, David S [EMAIL PROTECTED] wrote:

 What does 'manage' mean?
 Do you need barcodes, table of contents, graphics, charts, etc? Do you
 have a budget? The sky is the limit, of course!

 Good question.  If you are getting into lower level stuff like generating
graphs to put in pdf docs as you create them then you may well need to go to
a library such as iText.  This was originally a java only library but there
is now a .net version.  I can vouch for the java version, it is fast and
solid.

Regards,

Adrian.
---
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] and PDF

2007-10-21 Thread Adrian Merrall
On 10/20/07, Hona, David S [EMAIL PROTECTED] wrote:

 What does 'manage' mean?
 Do you need barcodes, table of contents, graphics, charts, etc? Do you
 have a budget? The sky is the limit, of course!

 Good question.  If you are getting into lower level stuff like generating
graphs to put in pdf docs as you create them then you may well need to go to
a library such as iText.  This was originally a java only library but there
is now a .net version.  I can vouch for the java version, it is fast and
solid.

Regards,

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


RE: [U2] and PDF

2007-10-19 Thread Hona, David S
What does 'manage' mean?
Do you need barcodes, table of contents, graphics, charts, etc? Do you
have a budget? The sky is the limit, of course!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Friday, October 19, 2007 2:03 AM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] and PDF

What products are available to be able to create and manage Adobe pdf
documents in a 
world of UniVerse, HP-Ux, and wIntegrate and Dynamic Connect clients?

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


[U2] and PDF

2007-10-18 Thread Brutzman, Bill
What products are available to be able to create and manage Adobe pdf
documents in a 
world of UniVerse, HP-Ux, and wIntegrate and Dynamic Connect clients?

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


RE: [U2] and PDF

2007-10-18 Thread Glen Batchelor
 htmldoc or html2ps with ghostscript. I use html2ps with gs on Linux to
generate nearly all of our business paperwork and correspondence. HTML is an
easy to maintain source format, IMO.


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

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-u2-
 [EMAIL PROTECTED] On Behalf Of Brutzman, Bill
 Sent: Thursday, October 18, 2007 12:03 PM
 To: 'u2-users@listserver.u2ug.org'
 Subject: [U2] and PDF
 
 What products are available to be able to create and manage Adobe pdf
 documents in a
 world of UniVerse, HP-Ux, and wIntegrate and Dynamic Connect clients?
 
 --Bill
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] and PDF

2007-10-18 Thread Ron White

Here is a couple of products that come to mind.
http://www.brianleach.co.uk/mvpdf.htm and
http://www.cross.net.au/pdf.asp

There a many others that are not mv aware such
as http://www.acrosoftware.com/Index.htm
http://www.versiontracker.com/dyn/moreinfo/win/23562
http://www.fineprint.com/
http://www.activepdf.com/products/serverproducts/toolkit/
http://www.verypdf.com/

If you google pdf you will get a basket load of hits.

Ron White


Brutzman, Bill wrote:

What products are available to be able to create and manage Adobe pdf
documents in a 
world of UniVerse, HP-Ux, and wIntegrate and Dynamic Connect clients?


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

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


RE: [U2] and PDF [not-secure]

2007-10-18 Thread Hennessey, Mark F.
For quite sometime I've gotten good results with letting the UV spooler
hand off to a unix script. I convert the text to postscript using
postprint, then use ps2pdf to distill the PDF. Total software cost =
$0...  Great for reports, etc. 

The real question is, do you want to take what you are producing NOW and
convert them to PDF format, or do you want to start producing nice,
glitzy things that become PDFs? 


Mark Hennessey

-Original Message-
 
 What products are available to be able to create and manage Adobe pdf 
 documents in a world of UniVerse, HP-Ux, and wIntegrate and Dynamic 
 Connect clients?
 
 --Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] and PDF

2007-10-18 Thread Vance Forste
We create postscript output, use a perl app in the DEVICE driver and use
ghostscript
Perl example

$gs = gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
\-sOutputFile=$dest_path/$pdf\ -c .setpdfwrite -f \$src_path/$psfile\;

-Vance

- Original Message - 
From: Brutzman, Bill [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Thursday, October 18, 2007 12:03 PM
Subject: [U2] and PDF


 What products are available to be able to create and manage Adobe pdf
 documents in a
 world of UniVerse, HP-Ux, and wIntegrate and Dynamic Connect clients?

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


Re: [U2] and PDF

2007-10-18 Thread Bob Rasmussen
On Thu, 18 Oct 2007, Brutzman, Bill wrote:

 What products are available to be able to create and manage Adobe pdf
 documents in a 
 world of UniVerse, HP-Ux, and wIntegrate and Dynamic Connect clients?

Print Wizard (our product) can do that.

A key question for any of these products is this: how easy is it to 
specify what goes into the PDF? Print Wizard gives you these options:

1. Plain text (with CRs, LFs, maybe tabs, maybe even backspace-underlining 
and backspace-bolding) will be auto-fit to the page. Even print jobs 
without formfeeds will generally be paginated correctly.

2. PCL-5 files will be interpreted and rendered to PDF. This includes 
HP/GL, color, images, fonts, character sets, and emulation of cartridges 
with barcode and Chinese capabilities. If you have a PCL file that Print 
Wizard DOESN'T render correctly, please email it.

3. HTML. Print Wizard handles some, but not all, HTML files.

4. Print Wizard Markup Language (PWML). This is our version, based on 
HTML, plus control of many things HTML doesn't address, including 
orientation, paper size, barcodes, precise placement, rotated text, and 
more.

With all of these, it is also possible to add a form image (an overlay 
or background), in any of several file formats.

Note that Print Wizard runs on a Windows platform. However, we support 
several protocols for routing Unix/Linux jobs to the Windows PC where PW 
is running.

See website for more.

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

personal e-mail: [EMAIL PROTECTED]
 company e-mail: [EMAIL PROTECTED]
  voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] and PDF

2007-10-18 Thread Mark Ballinger
On 10/18/07, Brutzman, Bill [EMAIL PROTECTED] wrote:
 What products are available to be able to create and manage Adobe pdf
 documents in a
 world of UniVerse, HP-Ux, and wIntegrate and Dynamic Connect clients?

The perl module pdf::api2 is pretty easy to use once you get past the
lack of documentation.  You can do some pretty slick things with the
different boxes.  I feed data documents built by a BP program to a
perl script which formats a nifty PDF for invoices, order
confirmations and the like.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][AD] PDF Document

2006-06-28 Thread Craig Bennett

Andy,

its not the exact solution you describe but it may be simpler to use 
from BASIC. We sell a native PDF generator for U2 (no shells, or 
external programs just BASIC subroutines to call).

Have a look at www.cross.net.au/pdf.asp if you are interested.

regards,


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


RE: [U2] Printing PDF from UniData/AIX

2005-07-02 Thread Bill H
Tom:

Shouldn't this file be sent raw to the printer?  I seem to recall I was
working on signature fonts and was able to easily print the font to the
printer in some kind of raw mode.  I can't find my notes on the process but
I think I used something like:

 lpr -PMyPrinter -bMyFont.spf

This sent the job to the printer, raw, without any preprocessing.  Maybe
this is your issue.

Bill

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Friday, July 01, 2005 1:09 PM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Printing PDF from UniData/AIX
 
 [EMAIL PROTECTED] wrote on 07/01/2005 5:53 PDT
 
  Is there a way to print PDF files from AIX using a command from 
  UniData?
 
 Troy Buss of Logitek Systems replied off-list on 07/01/2005 
 15:18:40 EDT:
 
  As a one time setup, you can also print the PDF to the 
 printer using 
  the correct windows driver but select 'print to file' and take the 
  output file that would have gone to the printer and put it 
 in the AIX 
  filesystem, then shell out (of unidata) and print the file using lp 
  cat or some other aix command to send the file directly to the 
  printer.
 
 I tried that.  I did a binary ftp to put file in /tmp, and 
 tried lp -d queue /tmp/file.  The escape sequences for 
 the PJL got stripped off, and I had to cancel the job.
 
 The printers are connected to the network JetDirect cards, 
 and some of them are old (e.g., HP 4+).  I don't know how to 
 use cat to send data to an IP address, or I would have tried 
 that.  Besides, my users specify an AIX form queue to have 
 documents print there - I can't change that end of the logic.
 I need to be able to use the form queue name to determine 
 where to print it.
 
 Thanks for the suggestion, however.
 
 --Tom
 ---
 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] Printing PDF from UniData/AIX

2005-07-01 Thread TPellitieri
Is there a way to print PDF files from AIX using a command from UniData?

One of our vendors has provided a PDF file that they want us to include
with shipments of their product.  It would be nice if I could have my
existing process determine that a qualifying product is being shipped, and
automatically print a copy of the PDF, rather than having to keep a stack
on hand.  Our shipping departments use terminals, and personnel do not
always have PC access.

I know Adobe has Acrobat Reader for Unix.  I've downloaded it from their
website, but have not installed it since I don't have a graphic/wysiwyg
terminal connected to our AIX box.  Does anyone know of an AIX command line
or script that would let me specify the PDF file  printer and have Acrobat
(or some other program) print it correctly?

Thanks.

--Tom Pellitieri
  Century Equipment
  Toledo, Ohio
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Printing PDF from UniData/AIX

2005-07-01 Thread Anthony W. Youngman
In message 
[EMAIL PROTECTED]

om, [EMAIL PROTECTED] writes

Is there a way to print PDF files from AIX using a command from UniData?


Ghostscript?


One of our vendors has provided a PDF file that they want us to include
with shipments of their product.  It would be nice if I could have my
existing process determine that a qualifying product is being shipped, and
automatically print a copy of the PDF, rather than having to keep a stack
on hand.  Our shipping departments use terminals, and personnel do not
always have PC access.

I'd just create a printer driver that expects a pdf file (that is, if 
there isn't one configured already), and execute a shell to AIX 
command.


And there are some modern printers that'll print pdf as just another 
alternative to eg PCL or postscript now, too...


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


RE: [U2] Printing PDF from UniData/AIX

2005-07-01 Thread Ian McGowan
 Is there a way to print PDF files from AIX using a command 
 from UniData?

If you have a postscript printer you could always use pdf2ps to convert to
ps and then print that.  There's probably a creative way to convert from ps
to pcl if you don't have postscript printers.  Probably need ghostscript:

http://aixpdslib.seas.ucla.edu/packages/ghostscript.html

We do things the other way around and use a2ps and distiller to turn print
jobs into pdf files, which get mailed to the users.  You can do a lot of
neat things with custom spooler scripts.

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


RE: [U2] Printing PDF from UniData/AIX

2005-07-01 Thread TPellitieri
[EMAIL PROTECTED] wrote on 07/01/2005 5:53 PDT

 Is there a way to print PDF files from AIX using a command
 from UniData?

Troy Buss of Logitek Systems replied off-list on 07/01/2005 15:18:40 EDT:

 As a one time setup, you can also print the PDF to the printer
 using the correct windows driver but select 'print to file' and
 take the output file that would have gone to the printer and put
 it in the AIX filesystem, then shell out (of unidata) and print
 the file using lp cat or some other aix command to send the file
 directly to the printer.

I tried that.  I did a binary ftp to put file in /tmp, and tried lp -d
queue /tmp/file.  The escape sequences for the PJL got stripped off,
and I had to cancel the job.

The printers are connected to the network JetDirect cards, and some of them
are old (e.g., HP 4+).  I don't know how to use cat to send data to an IP
address, or I would have tried that.  Besides, my users specify an AIX form
queue to have documents print there - I can't change that end of the logic.
I need to be able to use the form queue name to determine where to print
it.

Thanks for the suggestion, however.

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


RE: [U2] Printing PDF from UniData/AIX

2005-07-01 Thread Ian McGowan
 The printers are connected to the network JetDirect cards, 
 and some of them are old (e.g., HP 4+).  I don't know how to 
 use cat to send data to an IP address, or I would have tried 
 that.

OT for the original question, but netcat [1] can do this handily.

#cat file | nc 192.168.1.1 9100

[1] http://aixpdslib.seas.ucla.edu/packages/netcat.html

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


RE: Re[2]: [U2] Printing PDF from uv {Unclassified}

2005-04-26 Thread Ray Wurlod
Don't forget that UniVerse BASIC has three quote characters, the backslash 
being the third.  And PERFORM is more efficient than EXECUTE (depending on 
flavor and/or $OPTIONS) since it doesn't set up an extra execution level.  F'r 
instance:

Cmd =  \DOS /C AcroRd32 /p /t 123.pdf\
PERFORM Cmd
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re[4]: [U2] Printing PDF from uv {Unclassified}

2005-04-26 Thread David Tod Sigafoos
Thanks all .. it was the DOS command that i was missing

Tuesday, April 26, 2005, 12:17:40 AM, you wrote:

RW Don't forget that UniVerse BASIC has three quote characters,
RW the backslash being the third.  And PERFORM is more efficient than
RW EXECUTE (depending on flavor and/or $OPTIONS) since it doesn't set
RW up an extra execution level.  F'r instance:

RW Cmd =  \DOS /C AcroRd32 /p /t 123.pdf\
RW PERFORM Cmd
RW ---
RW u2-users mailing list
RW u2-users@listserver.u2ug.org
RW To unsubscribe please visit http://listserver.u2ug.org/


RW __ NOD32 1.1079 (20050426) Information __

RW This message was checked by NOD32 antivirus system.
RW http://www.nod32.com




-- 
DSig `
David Tod Sigafoos  ( O O )
 ___oOOo__( )__oOOo___

Cannot open file C:\DOCUMENTS AND SETTINGS\DAVID TOD SIGAFOOS\APPLICATION 
DATA\BATMAIL\COOKIES.TXT
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: Re[2]: [U2] Printing PDF from uv {Unclassified}

2005-04-26 Thread HENDERSON MIKE, MR
Warning, Will Robinson, WARNING

The presence of double-quotes () _inside_ the string to be passed to
DOS can provide 'surprise' results.  This was fixed in 10.1.1 by patch #
5616 which includes a new function UVRunCommand (I think the same
patch found its way into 10.0.x, but I haven't checked the Release Notes
for 10.0)

From the 10.1.1 Release Notes:
5616At this release, a new GCI function, UVRunCommand, has been
added. This command executes a Windows executable and has one
argument. You can specify the executable name and its argument
as a string. To execute the command, use 
C:\windows\system32\cmd.exe /c. You must use single or double
quotation marks around the string argument, as shown in the 
following example:

Result = UVRunCommand(c:\WINDOWS\system32\cmd.exe /c dir)

For example, suppose that the 123.pdf file has to go in a directory
The Users Data.
The proper DOS convention is to enclose an argument with spaces in
double quotes as I show it above.
So, you would replace the above example with 
Cmd =  'AcroRd32 /p /t The Users Data\123.pdf'
Result = UVRunCommand(Cmd)

If you tried 
Cmd =  \DOS /C 'AcroRd32 /p /t The Users Data\123.pdf'\
PERFORM Cmd
The data received by DOS would NOT be what you expected.

And, no I don't know what gets put into Result, I haven't started
testing 10.1 yet.


HTH

Mike

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod
 Sent: Tuesday, 26 April 2005 19:18
 To: u2-users@listserver.u2ug.org
 Subject: RE: Re[2]: [U2] Printing PDF from uv {Unclassified}
 
 Don't forget that UniVerse BASIC has three quote characters, 
 the backslash being the third.  And PERFORM is more efficient 
 than EXECUTE (depending on flavor and/or $OPTIONS) since it 
 doesn't set up an extra execution level.  F'r instance:
 
 Cmd =  \DOS /C AcroRd32 /p /t 123.pdf\
 PERFORM Cmd
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
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/


[U2] Printing PDF from uv

2005-04-25 Thread David Tod Sigafoos
I must say this has been a very interesting project .. learned lots of
great stuff (some from this group) and had to come up with many work
arounds .. i can feel the brain cells firing.

Now .. how to print a PDF to a specific printer ..

is there a way to do this from universe?  10.0.1 on windows

Primarily the client has a shipping package running under windows
which uses ODBC to update the uniVerse table with shipping info.
There is a trigger on this table which we will enhance to generate the
PDFs (postal forms etc) and then once generated (by the trigger
process) we want UV to 'print' the PDF form to a specific printer.

I am looking for ideas, directions etc to get this working ..
everything is cool except the printing bits ..

Thanks again
  

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


RE: [U2] Printing PDF from uv

2005-04-25 Thread Anthony Dzikiewicz
In Windows, the only way I know of printing pdf documents is using the
'/p' command line option.  Actually, if you wanted to print a document
123.pdf you might use;

AcroRd32 /p /t 123.pdf  or if you use acrobat
Acrobat /p /t 123.pdf

This will leave the acrobat opened and seems 'messy' to me.  It would
eat up memory real quick.  On my PC it opens an occurrence for every
print you execute.  It also uses the default printer ('/t' - suppress
asking). Not a real solution in my opinion.

In Linux we are doing something similar.  What I do is to convert the
PDF to Postscript via the command

acroread -toPostScript 123.pdf /tmp/123.ps
lp -dmy_postscript_laser /tmp/123.ps
rm -rf /tmp/123.ps
rm -rf 123.pdf

The only thing here is that you need a Postscript enabled printer.  We
are going to be evaluating a Xerox 4350 laser printer that actually is
said to print PDF files natively (probably just converts to postscript
by itself).  So, if you can get a PDF cabable printer it makes things
even easier. In Windows you would just do a print d:/my_pdf_laser
123.pdf and off it goes.

One other thing you should consider is how to do reprints easily.  One
thing about printers is that they jam, run out of paper etc..

Anthony




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Tod
Sigafoos
Sent: Monday, April 25, 2005 1:52 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Printing PDF from uv


I must say this has been a very interesting project .. learned lots of
great stuff (some from this group) and had to come up with many work
arounds .. i can feel the brain cells firing.

Now .. how to print a PDF to a specific printer ..

is there a way to do this from universe?  10.0.1 on windows

Primarily the client has a shipping package running under windows which
uses ODBC to update the uniVerse table with shipping info. There is a
trigger on this table which we will enhance to generate the PDFs (postal
forms etc) and then once generated (by the trigger
process) we want UV to 'print' the PDF form to a specific printer.

I am looking for ideas, directions etc to get this working .. everything
is cool except the printing bits ..

Thanks again
  

-- 
DSig
David Tod Sigafoos
---
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] Printing PDF from uv

2005-04-25 Thread Tony Gravagno
I did a little googling on the topic and found the typical assortment of
PDF tools in the market.  They range in cost from free to about $1500, with
very little relation between cost and quality - a perfect example of how
the mystery of the medium allows some people to command whatever the market
will bear.  PlanetPDF.com and PDFStore.com have a good assortment of tools.

Try using this string to search in Google:
print pdf command line
Only you can decide about what's good value from what's outrageous.  

One interesting hit was this one:
http://www.stat.rice.edu/~helpdesk/compguide/node13.html
It offers a couple brief but helpful tips.

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


Re[2]: [U2] Printing PDF from uv

2005-04-25 Thread David Tod Sigafoos
Tony,

thanks .. but the question is not use of Acrobat or ghost(?) or .. but
how to have uniVerse perform a 'cmd' on a windows system.  I probably
wasn't very explicit in my original post.

The ENCODE is a pretty sweet command, now that I know it is there G,
but once the file is written out is there a way to get universe to
send off the printing to Acrobat on the server?

thanks again

Monday, April 25, 2005, 2:41:39 PM, you wrote:

TG I did a little googling on the topic and found the typical assortment of
TG PDF tools in the market.  They range in cost from free to about $1500, with
TG very little relation between cost and quality - a perfect example of how
TG the mystery of the medium allows some people to command whatever the market
TG will bear.  PlanetPDF.com and PDFStore.com have a good assortment of tools.

TG Try using this string to search in Google:
TG print pdf command line
TG Only you can decide about what's good value from what's outrageous.

TG One interesting hit was this one:
TG http://www.stat.rice.edu/~helpdesk/compguide/node13.html
TG It offers a couple brief but helpful tips.

TG HTH



-- 
DSig `
David Tod Sigafoos  ( O O )
 ___oOOo__( )__oOOo___
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Printing PDF from uv

2005-04-25 Thread Buss, Troy \(Logitek Systems\)
David,

We work the other direction using a PCL to PDF tool from visual software
in the UK.   Works quite well.

Anyhow, we take data intended for printing (that is PCL formatted) via a
HOLD file and using PCLtoPDF to create PDF's for emailing.  Otherwise,
we just print PCL to our laserjets directly. 

If your source documents is a PDF, that would not work in this manner.

But you said that a trigger 'generates' a PDF.   So I'm assuming your
generating the PDF yourself?   If so, generate a PCL file first and
print that.   Then its simply a command line to get a PDF from a PCL
file.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Tod
Sigafoos
Sent: Monday, April 25, 2005 10:52 AM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: Re[2]: [U2] Printing PDF from uv

2005-04-25 Thread Brutzman, Bill
Consider IBM's wIntegrate.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David Tod
Sigafoos
Sent: Monday, April 25, 2005 6:09 PM
To: Anthony Dzikiewicz
Cc: u2-users@listserver.u2ug.org
Subject: Re[2]: [U2] Printing PDF from uv


Anthony,

Thanks for that .. i guess a more specific question is ..

from universe, running on windows, how can i 'execute' a windows
process.  is there an command/API for universe to this?

thanks

Monday, April 25, 2005, 12:50:18 PM, you wrote:

AD In Windows, the only way I know of printing pdf documents is using the
AD '/p' command line option.  Actually, if you wanted to print a document
AD 123.pdf you might use;

AD AcroRd32 /p /t 123.pdf  or if you use acrobat
AD Acrobat /p /t 123.pdf

AD This will leave the acrobat opened and seems 'messy' to me.  It would
AD eat up memory real quick.  On my PC it opens an occurrence for every
AD print you execute.  It also uses the default printer ('/t' - suppress
AD asking). Not a real solution in my opinion.

AD In Linux we are doing something similar.  What I do is to convert the
AD PDF to Postscript via the command

AD acroread -toPostScript 123.pdf /tmp/123.ps
AD lp -dmy_postscript_laser /tmp/123.ps
AD rm -rf /tmp/123.ps
AD rm -rf 123.pdf

AD The only thing here is that you need a Postscript enabled printer.  We
AD are going to be evaluating a Xerox 4350 laser printer that actually is
AD said to print PDF files natively (probably just converts to postscript
AD by itself).  So, if you can get a PDF cabable printer it makes things
AD even easier. In Windows you would just do a print d:/my_pdf_laser
AD 123.pdf and off it goes.

AD One other thing you should consider is how to do reprints easily.  One
AD thing about printers is that they jam, run out of paper etc..

AD Anthony




AD -Original Message-
AD From: [EMAIL PROTECTED]
AD [mailto:[EMAIL PROTECTED] On Behalf Of David Tod
AD Sigafoos
AD Sent: Monday, April 25, 2005 1:52 PM
AD To: u2-users@listserver.u2ug.org
AD Subject: [U2] Printing PDF from uv


AD I must say this has been a very interesting project .. learned lots of
AD great stuff (some from this group) and had to come up with many work
AD arounds .. i can feel the brain cells firing.

AD Now .. how to print a PDF to a specific printer ..

AD is there a way to do this from universe?  10.0.1 on windows

AD Primarily the client has a shipping package running under windows which
AD uses ODBC to update the uniVerse table with shipping info. There is a
AD trigger on this table which we will enhance to generate the PDFs (postal
AD forms etc) and then once generated (by the trigger
AD process) we want UV to 'print' the PDF form to a specific printer.

AD I am looking for ideas, directions etc to get this working .. everything
AD is cool except the printing bits ..

AD Thanks again
---
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: Re[2]: [U2] Printing PDF from uv

2005-04-25 Thread Bob Woodward
To issue a command from within a basic program in Universe, use
something like this:

CMD = DOS /c 'dir c:\*.dat'
EXECUTE CMD CAPTURING DAT.LIST

I'm pretty sure the /c is case sensitive but I've never really tested
that.  Watch the single and double quote marks, not so much of the order
as is pairing them up where you want them.

BobW


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-u2-
 [EMAIL PROTECTED] On Behalf Of David Tod Sigafoos
 Sent: Monday, April 25, 2005 3:38 PM
 To: Tony Gravagno
 Subject: Re[2]: [U2] Printing PDF from uv
 
 Tony,
 
 thanks .. but the question is not use of Acrobat or ghost(?) or .. but
 how to have uniVerse perform a 'cmd' on a windows system.  I probably
 wasn't very explicit in my original post.
 
 The ENCODE is a pretty sweet command, now that I know it is there G,
 but once the file is written out is there a way to get universe to
 send off the printing to Acrobat on the server?
 
 thanks again

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


RE: Re[2]: [U2] Printing PDF from uv {Unclassified}

2005-04-25 Thread HENDERSON MIKE, MR
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of David Tod
Sigafoos
 Sent: Tuesday, 26 April 2005 10:09
 To: Anthony Dzikiewicz
 Cc: u2-users@listserver.u2ug.org
 Subject: Re[2]: [U2] Printing PDF from uv
 
 Anthony,
 
 Thanks for that .. i guess a more specific question is ..
 
 from universe, running on windows, how can i 'execute' a windows
 process.  is there an command/API for universe to this?

David,

In UniVerse Basic you can do it directly by

Cmd = DOS /c '
Cmd :=  DOS Command
Cmd := '
EXECUTE Cmd

e.g. 
Cmd = DOS /c '
Cmd :=  AcroRd32 /p /t 123.pdf
Cmd := '
EXECUTE Cmd

Or

If it's more complicated than that, you could create a .BAT file on the
fly and then execute that by the method shown above.


HTh

Mike

 
 thanks
[snip]
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/


Re[4]: [U2] Printing PDF from uv

2005-04-25 Thread David Tod Sigafoos
Bob,

that's the info i was looking for ..

dsig

Monday, April 25, 2005, 4:07:35 PM, you wrote:

BW To issue a command from within a basic program in Universe, use
BW something like this:

BW CMD = DOS /c 'dir c:\*.dat'
BW EXECUTE CMD CAPTURING DAT.LIST

BW I'm pretty sure the /c is case sensitive but I've never really tested
BW that.  Watch the single and double quote marks, not so much of the order
BW as is pairing them up where you want them.




-- 
DSig `
David Tod Sigafoos  ( O O )
 ___oOOo__( )__oOOo___

Cannot open file C:\DOCUMENTS AND SETTINGS\DAVID TOD SIGAFOOS\APPLICATION 
DATA\BATMAIL\COOKIES.TXT
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re[4]: [U2] Printing PDF from uv {Unclassified}

2005-04-25 Thread David Tod Sigafoos
Mike

thanks man .. that is the kind of info i was looking for

dsig

Monday, April 25, 2005, 4:46:42 PM, you wrote:
HMM In UniVerse Basic you can do it directly by

HMM Cmd = DOS /c '
HMM Cmd :=  DOS Command
HMM Cmd := '
HMM EXECUTE Cmd

HMM e.g. 
HMM Cmd = DOS /c '
HMM Cmd :=  AcroRd32 /p /t 123.pdf
HMM Cmd := '
HMM EXECUTE Cmd

HMM Or

HMM If it's more complicated than that, you could create a .BAT file on the
HMM fly and then execute that by the method shown above.


HMM HTh



-- 
DSig `
David Tod Sigafoos  ( O O )
 ___oOOo__( )__oOOo___

Cannot open file C:\DOCUMENTS AND SETTINGS\DAVID TOD SIGAFOOS\APPLICATION 
DATA\BATMAIL\COOKIES.TXT
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/