Re: [Re: Automatic Printing on NT APP (Enterprise) Server]


Re: [Re: Automatic Printing on NT APP (Enterprise) Server]


Could you tell us how you set that up?
We have done it with batch scripts
sending pdf files to Acrobat Reader, but it
sounds like you have a slicker method!



john_holben <[email protected]> wrote:
> <html><DIV>

Can you show us the syntax you are using in the runube batch file? What
directory is the batch file located in on the APP server? How are you calling
the RUNUBE batch file?

I was told by the JDE response line that printing RUNUBE jobs
automatically did not work either but it does if you get everything set up
right. We are sending mulitple jobs to multiple printers same as your


> <DIV></DIV>
> <DIV></DIV>>From: d vanvugt <[email protected]>
> <DIV></DIV>>Reply-To: [email protected]
> <DIV></DIV>>To: [email protected]
> <DIV></DIV>>Subject: Automatic Printing on NT APP (Enterprise) Server
> <DIV></DIV>>Date: Mon, 19 Feb 2001 13:00:13 -0800 (PST)
> <DIV></DIV>>
> <DIV></DIV>>Hi Folks,
> <DIV></DIV>>
> <DIV></DIV>>My searching shows that this has been discussed before, but I
could not
> <DIV></DIV>>find a resolution so I thought I'd try it again.
> <DIV></DIV>>
> <DIV></DIV>>Environment - OW B7321 SP12.3, AS/400 Enterprise server, NT App
> <DIV></DIV>>
> <DIV></DIV>>I would like to run UBE's on the App server by submitting them
> <DIV></DIV>>scheduled batch file with the RUNUBE command. Everything I've
> <DIV></DIV>>thus far doesn't work - the job runs, the PDF is created in the

> <DIV></DIV>>Printqueue, but it doesn't print. From a client with
> <DIV></DIV>>PRINTIMMEDIATE=TRUE, I can submit a job to this server and it
> <DIV></DIV>>automatically, no problem but it does not work from the RUNUBE
> <DIV></DIV>>on the server.
> <DIV></DIV>>
> <DIV></DIV>>I called JDE support, and was told that this did indeed not
work, it was
> <DIV></DIV>>a known problem which has "enhancement" status at this time.
> <DIV></DIV>>
> <DIV></DIV>>That being the case, I am wondering if anyone else has worked
> <DIV></DIV>>this issue in another way.
> <DIV></DIV>>
> <DIV></DIV>>JDE's suggestion was to try to automate the printing from the NT
> <DIV></DIV>>using a batch file which would look for unprinted jobs and send
them to
> <DIV></DIV>>the printer. While my criteria is a bit more complicated than
that due
> <DIV></DIV>>to the need to send different jobs to different printers, I
wonder if it
> <DIV></DIV>>could be done.
> <DIV></DIV>>
> <DIV></DIV>>Acrobat has command-line options for printing, which I have
tried and
> <DIV></DIV>>had little success with so far.
> <DIV></DIV>>
> <DIV></DIV>>Any ideas anyone?
> <DIV></DIV>>
> <DIV></DIV>>Thanks,
> <DIV></DIV>>
> <DIV></DIV>>David Van Vugt
> <DIV></DIV>>Network Support Analyst
> <DIV></DIV>>Benjamin Moore & Co. Ltd.
> <DIV></DIV>>Toronto, Ontario
> <DIV></DIV>>[email protected]
> <DIV></DIV>>416-761-1436
> <DIV></DIV>>
> <DIV></DIV>>
> <DIV></DIV>>
> <DIV></DIV>>
> <DIV></DIV>>--------------------------
> <DIV></DIV>>To view this thread, visit the JDEList forum at:

> <DIV></DIV>>*************************************************************
> <DIV></DIV>>This is the JDEList One World / XE Mailing List.
> <DIV></DIV>>Archives and information on how to SUBSCRIBE, and
> <DIV></DIV>>UNSUBSCRIBE can be found at
> <DIV></DIV>>*************************************************************
> <DIV></DIV>>
> <DIV></DIV><br clear=all><hr>Get your FREE download of MSN Explorer at
> </p></html>
> --------------------------
> To view this thread, visit the JDEList forum at:

> *************************************************************
> This is the JDEList One World / XE Mailing List.
> Archives and information on how to SUBSCRIBE, and
> UNSUBSCRIBE can be found at
> *************************************************************

[email protected]
RE: [Re: Automatic Printing on NT APP (Enterprise) Server]

Russ, I'd also be interested in more info on how you are doing it - I
have tried sending PDFs to Acrobat from the command line, without
success. There is very little information out there about the syntax
for it, and I've tried about every combination that I can think of.


David Van Vugt
Network Support Analyst
Benjamin Moore & Co. Ltd.
Toronto, Ontario
[email protected]
RE: [Re: Automatic Printing on NT APP (Enterprise) Server]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

Content-Type: text/plain;


The following is a command line string which will automatically open adobe,
print the file, and close adobe and I have sent multiple files at a time
using a batch file with no problems.

****One important thing you need to check is that the PATH for the machine
performing the command-line call has Adobe Acrobat in it.

C:\Program Files\Adobe\Acrobat 4.0\Reader\AcroRd32 /p/h/n

/p = print
/h = hidden
/n = new, this starts a new instance of Acrobat for each file, which is
important for automation.

Hope this helps!!!