Feature Article

Free PDF creation for Win2000/XP users delivered via ZENworks for Desktops

Author Info

14 December 2007 - 4:26pm
Submitted by: ChrisRandles

Tags

feature
Reads:

5493

Score:
5
5
2
 
Comments:

3

This Tip is for Novell Customers using a ZENworks for Desktops environment with Windows 2000 and Windows XP workstations.

Problem:

How to give users of Microsoft Windows 2000 and Windows XP the ability to create PDF documents at zero cost using open source software and distribute the solution via ZENworks!

Solution:

There are many solutions available that allow users to create PDF documents, but very few that do not involve considerable cost, or involve transferring documents to a central location to be converted into PDF documents.

This is how you can do it for ZERO $$$ using open source software, and utilize ZENworks for Desktops to distribute without requiring the users to have administrative rights to their workstations.

Because the MSI supplied by the author creates multiple threads during the install, the PDF application installation fails to create the required virtual printer when delivered via ZFD with elevated installation rights. To get around this problem, you need to use the attached InstallPrinter.exe (compiled directly from the PDF Creator author's source code) and push this as a second application in an application chain, after the author-supplied MSI has been installed. Once the InstallPrinter program has been executed on the target workstation, the PDFCreator application installation will be 'complete', allowing users to create PDFs from most Windows applications (including Microsoft Word).

  1. Download the PDFCreator application.
  2. From this web page, choose to download the file: zPDFCreator-0_9_3-AD_DeploymentPackage-WithoutToolbar.msi
  3. Create a ZFD application object to deliver the PDF Creator MSI to the target workstations. Make sure that you choose the install option 'unsecure system user'. This will provide the required elevated installation rights.
  4. Create a second application object to deliver the InstallPrinter.exe (available below) with the following installation parameters:
    InstallPrinter.exe /Install /LogPath"C:\Program Files\PDFCreator" /AppDir"C:\Program Files\PDFCreator"
  5. Configure this application to be delivered AFTER the PDFCreator main application has been installed, and again make sure that you choose the install option 'unsecure system user'.

NOTES: To uninstall the PDFCreator application from a workstation you must use an account that that has administrative rights to the workstation.

AttachmentSize
InstallPrinter.zip176 KB

Author Info

14 December 2007 - 4:26pm
Submitted by: ChrisRandles

Tags




User Comments

unsecure system user?

Submitted by nkrick on 17 December 2007 - 6:46am.

Why are you using unsecure system user for this procedure?

The first part of the install should be a .msi application object and .msi installations are automatically performed as the system user, except for "Current User" parts of the install. When a .msi application object installation runs, you will normally see at least 2 instances of msiexec.exe running in the task manager. One runs as system, the other runs as the user logged into the computer. If the .msi install itself is created properly, it should install as the system user and then register the printer components for the logged in user. Unfortunately, few .msi packages are created properly, which makes our job much more difficult.

For the second part of the install, if you run as unsecure system, won't the same problem exist as the original install, where the printer object will be installed for the system user rather than the logged on user?

Also, unless user interaction is required, IMO using unsecure system user is a bad idea, use secure system user instead.

Note: These are just observations, I have not tested this procedure myself.

Use whatever works for you.

Submitted by ChrisRandles on 17 December 2007 - 11:54am.

Use whatever works for you. The above procedure also works.

Great Article!

Submitted by slarkin on 31 March 2008 - 9:27am.

Thank you for the write up!

Note: For my ZEN app, I ran the InstallPrinter.exe from the server as a post distribution script and it works great.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <i> <cite> <code> <img> <ul> <ol> <li> <div> <dl> <dt> <dd> <b> <strong> <h1> <h2> <h3> <pre> <table> <td> <tr> <th> <blockquote>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
5 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

© 2008 Novell, Inc. All Rights Reserved.