How to print to a shared printer, or archive to a shared folder
Even though RPM Remote Print Manager(R) (RPM) is a virtual printer, the part that does the actual printing runs as a Windows service on your computer. This means on its own it cannot print to shared printers or archive to shared folders.
Your Windows network protects shared printers and folders with logon credentials. This prevents people from outside your network getting access to your printers and folders unless they have a valid login for your network.
Let’s take a look at the credentials used for a text print action. The other actions that use credentials work much the same way.
The credentials droplist is at the top. Notice that “no credentials” is the default. Also shown are credentials for the BROOKS domain and the user 'dave'. If we selected BROOKS\dave then this action would use Dave’s logon credentials, and any printer or shared drive that Dave can access when he’s logged in would be available to RPM as well.
This is what the action dialog shows if we had previously selected Dave:
Now let’s add a user. Click the Add User button.
Here we have entered the user test in the BROOKS domain, and entered a password. RPM will store the password encrypted; it never passes “over the wire” as clear text.
The Interactive checkbox is explained below.
Once we click OK, these logon credentials are available to any action in RPM. Of course you would have to select those credentials to use them.
The only caveat to creating credentials is that the RPM user interface checks the user and password before storing. If you have a non-existent user or wrong password you’ll see this:
What happens when we text print with credentials
Any time RPM runs an action on a print job, the resources for that action are separate from the rest of RPM’s processing. If you have configured RPM to use logon credentials for that action, then only that action will have those credentials.
It works more or less like this:
- RPM does a temporary login using the credentials
- RPM does the one action
- RPM logs off
The rights of that login will not “leak” into any other processing RPM is doing. It is isolated to the action being performed on that print job, and only to that action and that print job.
Other actions with credentials
Just like the Text print action, the Raw print action uses credentials:
The Archive to Folder action uses credentials to write to shared file systems:
Similarly the filter action uses credentials and has the ‘interact with desktop’ option:
One thing we found with printing in particular is that Windows expects print drivers to not need the user’s desktop, but in actual practice this is often not the case. We noticed for some printers, you could print just fine in a normal login session, but nothing happened when you tried to print from the RPM service.
We overcame this by giving actions the ability to interact with the desktop.
When you text print or raw print with Interactive set, you should be able to see any printer dialogs or status you need to. This works best if the credentials for the print action are the same as your normal Windows login.
When you run a filter with “interact with desktop” then you’ll be able to see the program on your desktop. For instance, you can use the Windows notepad application as a filter, and see your print jobs in a window.