Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Printing from Meditech

Posted on 2014-08-15
15
Medium Priority
?
866 Views
Last Modified: 2014-10-08
We have a application that we use to run our hospital, Meditech.  We access it via Proprietary Telnet client specifically developed by Meditech.
I specifically need to print reports that can not be scheduled.  Every morning I print a series of reports for some of the departments. The printer is local to the PC at work.

Here is the issue:  I log into a pc at work via VPN (Virtual Private Network) using Microsoft's RDP (Remote Desktop Protocol).  As long as I first log into the PC while at work and print some reports, everything works fine. I can then go home and RDP into the PC and get the console desktop and print more reports. Works !

What does not work: If the PC at work is power cycled and then I RDP in and print reports, nothing ever shows up !?  I then physically go into work log-on to the console and print, Works.  I can now go back home or RDP in and print (does not matter where I cam, just not on the console) and print, works ?!

Why do I first have to log-in to the physical console and print before I can log-in via RDP and print ?
What does logging in via the console initialize that then allows me to print via RDP ?

Any help is appreciated.
0
Comment
Question by:sidwelle
  • 8
  • 7
15 Comments
 
LVL 13

Expert Comment

by:Bryant Schaper
ID: 40264509
Totally going to shoot from the hip, but had you tried using the /admin switch when you login so you get the console session.  Is printer redirection off too?

Also I seen issues printing to lpt Ports from dos apps.
0
 

Author Comment

by:sidwelle
ID: 40264561
/Admin  - Yes.
redirection Off  -- No.

Logged in and tried again, no printing !!
0
 
LVL 13

Expert Comment

by:Bryant Schaper
ID: 40264569
Local or network printer. Do other apps print?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:sidwelle
ID: 40264596
Local Printing to a IP Port.

Pinter test does print test page.
0
 
LVL 13

Expert Comment

by:Bryant Schaper
ID: 40264646
Can you test over VNC to see
0
 
LVL 13

Expert Comment

by:Bryant Schaper
ID: 40264647
If it rdp specific?
0
 

Author Comment

by:sidwelle
ID: 40264909
VNC: No, that's not one of our supported solutions.

I need to stick with RDP.
0
 
LVL 13

Expert Comment

by:Bryant Schaper
ID: 40265260
Sense it works post login remotely, could it be an environmental variable that is set that conflicts with an rdp session?  Ie clientname vs computer name
0
 

Author Comment

by:sidwelle
ID: 40265398
Is there an Environment variable that is not set/or changes until the console logs in ?

I guess I would need some time to test this.
0
 

Author Comment

by:sidwelle
ID: 40266513
I compared the environment variables of two different machines: (both have our Enterprise 7 image)
1.)  First one that I could print from RDP, because I had already logged into the console at some previous time.
2.)  Second one that I had not logged to the console before, and can not print via RDP.

The only environment variable that was different was "UATDATA" on the 1st machine, not sure what this is for, but don't think its has anything to do with my issue.

Did some more testing: Logged into the pc that I have been successfully printing from with another account (not the one I usually RDP with or Log-on to the console with)  and again could not print.
Repeated this with and w/o the '/admin' arg for RDP. Nothing either way.
But, I did see for the first time an error msg,  "Failed to Retrieve Spool File Report Data" on the printer !
That's a first !

Just to proof my testing logged back in with the normal account and the '/admin' arg, I was again able to print.  Logging in from the console is leaving a setting or attribute  behind that is not set when logging in via RDP.

Thanks for reading ?!
Again, any help is appreciated.
0
 
LVL 13

Expert Comment

by:Bryant Schaper
ID: 40268441
So it does work with /admin?

If that is the case, I would think it is how the client works with Windows 7, maybe even UAC.  When you don't use the admin switch you get a new session 1, 2, 3...  However the /admin switch logs into the console session 0, even if nobody is logged in, without the /admin switch you will not get the console session.
0
 

Author Comment

by:sidwelle
ID: 40269139
That would be the issue, if you login from RDP with /admin switch, yes you get session 0. But for some reason it looks different to the app.  I was able to reproduce the issue several different ways.  One thing that is interesting is that when you follow the following steps:
1. Login to the console with account A. and print.  Works.
2. Login via RDP with /Admin switch with account A. and print. Works.
3. Login via RDP /Admin or Console with account B. and print. Fails
     (msg shows up on printer "Failed to retrieve spool file report data")

What's up with That ?!
0
 
LVL 13

Assisted Solution

by:Bryant Schaper
Bryant Schaper earned 2000 total points
ID: 40270618
not sure, did you logout of account a first?  Maybe a lock of some form
0
 

Accepted Solution

by:
sidwelle earned 0 total points
ID: 40271702
No, did not log-out. Just closed the RDP connection w/the usual msg "Your stuff will continue to run ..."

I might have some time to test some more scenarios tomorrow.
0
 

Author Closing Comment

by:sidwelle
ID: 40367938
Bryant, Thanks for all your comments and having to wait so long on this question.

I have been working with Meditech on the issue and they have a work-around for multiple users on one machine trying to print. They have developed a service named "Meditech Document Manager" and when set to run as a service (w/ right privileges) will allow printing from any session on the machine.

But what this does tell is that the Admin session on a windows box is not always what you think it is.

Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question