Main Board > Thin Client/WindX

Printing from Application Server

(1/2) > >>

Ned L:
I'm trying to print something on my local printer from a Providex session running under Application Server in a remote location.
I thought I could just
OPEN (1) "*winprt*"
to get a Windows pop up window that would allow me to select a printer known to my Windows system.
But nothing comes up.  It just accepts the command.  If I
PRINT PTH(1)
it replies "*winprt*"
What am I doing wrong?

I am starting Windx using the following target:
"C:\PVX Plus Technologies\Windx Plugin 2017\pxplus.exe" -mn "*client" -ARG "x.x.x.x" 10020 DMIAPP -ka -ssl

My application works well, except that I need to know how to print.

Thanks in advance for any help.

Ned Lee
AMS Software, QA Solutions Division

James Zukowski:
I'm guessing that you're running on a Windows server. Try:
OPEN (1) "[lcl]*winprt*"

Ned L:
James -
Thanks for your prompt reply.
Yes, you are correct.  The App Server IS running under Windows.
But when I tried your suggestion, I got
OPEN (1)"[lcl]*winprnt*"
Error #61: Authorization failure

I tried starting WindX as Administrator, but that didn't change anything.

Also note that the printer I want to use is sitting on my desk (rather than connected to the system that is running App Server (which is in another state.))  Does Providex consider my printer a 'local' printer?  Or are local printers ones that are known to the server running the App Server.

Thanks again for your help.
- Ned

James Zukowski:
Which did you type:
OPEN (1)"[lcl]*winprt*"
or
OPEN (1)"[lcl]*winprnt*"
...?
Be sure it's the first...

Ned L:
James -
Sorry for the typo in my post.
When I tested your suggestion, I DID use
OPEN (1)"[lcl]*winprt*"
 
The typo occurred when I was writing my post.  Sorry for causing confusion.  I will be more careful in the future.
I still have the problem:
OPEN (1) "[lcl]*winprt*"
and
OPEN (1) "[wdx]*winprt*"
both generate
Error #61: Authorization failure
How can I get the system to print to the printer on my desk?

Thanks again for all your help!
- Ned

Navigation

[0] Message Index

[#] Next page

Go to full version