Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

PDF Creater version 0.9.3 default printer problem


Recommended Posts

Guest pburchell
Posted

Who can fix my first post here !!

 

I am currently trying to deploy this software using the msi no toolbar package. The problem is it installs the printer as the default printer.

 

For networked printers I have used a batch file to install them

 

rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2

@Echo off

REM stop the print spooler on the specified computer and wait until the sc command finishes

@Echo On

start /wait sc \\%1 stop spooler

@Echo off

 

I have also tried using this command to force a network printer to be the default with /y command. This only works if the pdf creater is not installed.

 

The minute I redeploy the pdf creater it sets all normal user accounts to have it as a default printer.

 

any ideas ??

Posted

Not quite sure what you're trying to do but we use code like the following in the login script to connect a particular network printer and make it default - change sPrinter to be the relevant printer name. Save it as (say) mapprint.vbs

 

sPrinter="\\server\printer"

set oNet=createobject("wscript.network")

oNet.addwindowsprinterconnection sPrinter

oNet.setdefaultprinter sPrinter

 

If you wanted to pass a printer as a paramter then you replace the first line:

 

sPrinter=wscript.arguments.named("printer")

 

and then just run the script with

 

mapprint.vbs /printer:\\server\printer

 

This will become the default rather than any local printer.

Guest pburchell
Posted
Thanks for the reply Steve, running the script fixed my problem.
Posted

I used to run a script when the machine was set up but now just use R2s printer manangement.

 

I dont even use a PDF printer any more always had trouble with them, now Office 2007 does it (albeit in it's limited installed base).

Posted
Don't forget as well, you can install PDF creator on your print server and share it that way.

 

How would that work. Wouldn't the ridirection occur at the server rather than the locally on the client?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...