Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

3,760,034

Downloads of v 4.2.0:

205,723

Last Update:

12 Jan 2021

Package Maintainer(s):

Software Author(s):

  • pdfforge

Tags:

pdfcreator pdf editor printer foss notsilent

PDF Creator

This is not the latest version of PDF Creator available.

  • 1
  • 2
  • 3

4.2.0 | Updated: 12 Jan 2021

Downloads:

3,760,034

Downloads of v 4.2.0:

205,723

Maintainer(s):

Software Author(s):

  • pdfforge

PDF Creator 4.2.0

This is not the latest version of PDF Creator available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by pdfforge. The inclusion of pdfforge trademark(s), if any, upon this webpage is solely to identify pdfforge goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

A reboot is required after installing the dotnet4.7.2 dependency

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install PDF Creator, run the following command from the command line or from PowerShell:

>

To upgrade PDF Creator, run the following command from the command line or from PowerShell:

>

To uninstall PDF Creator, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade pdfcreator -y --source="'INTERNAL REPO URL'" --version="'4.2.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade pdfcreator -y --source="'INTERNAL REPO URL'" --version="'4.2.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install pdfcreator
  win_chocolatey:
    name: pdfcreator
    version: '4.2.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'pdfcreator' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '4.2.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller pdfcreator
{
    Name     = "pdfcreator"
    Version  = "4.2.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'pdfcreator':
  ensure   => '4.2.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 12 Jan 2021.

Description

PDFCreator easily creates PDFs from any Windows program. Use it like a printer in Word, StarCalc or any other Windows application.

Features

  • Convert your documents to PDF, JPG, PNG, TIF and PDF/A
  • Merge and arrange multiple documents to one file
  • Profiles make frequently used settings available with one click
  • Use automatic saving to have a fully automated PDF printer
  • Secure against opening, printing or modifying your PDFs with a password
  • Support for digital signatures
  • COM interface for application or scripted actions

Notes

The installer has a few options that can be configured via the --ia switch:

  • /NOICONS - No desktop or Start Menu icons will be created
  • /TASKS=!winexplorer - No integration with explorer. (I.E. no context menu)
  • /Printername=(name) - Use a custom printer name (default: PDFCreator)

Example use: choco install pdfcreator --ia '"/NOICONS /TASKS=!winexplorer"'


legal\License.png
 
legal\LICENSE.txt
License is removed from source repository as such this file is empty.
According to their license page at <https://www.pdfforge.org/pdfcreator/license>
distribution is still allowed, and source code is still covered under the AGPL license.

See License.png for a copy/screenshot of the above webpage taken 2021-01-12.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The embedded software have been downloaded from the listed download
location on <http://download.pdfforge.org/download/pdfcreator/list>
and can be verified by doing the following:

1. Download the following <http://download.pdfforge.org/download/pdfcreator/PDFCreator-stable?download>
2. Get the checksum using one of the following methods:
  - Using powershell function 'Get-FileHash'
  - Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

  checksum type: sha256
  checksum: 27EA7A6A894E019CFBB24B6AACB2F323F09E9DF1186F9657B1EFCF3BEDF95891

The file 'LICENSE.txt' has been obtained from <https://github.com/pdfforge/PDFCreator/blob/dbbe3558157f5861bff35dcb37b328b679b0ccfd/LICENSE>
tools\chocolateyinstall.ahk
; This script will exit after 2 minutes (a slow download could cause failure)
SetTimer, TimeOut, 120000

DetectHiddenWindows, on
__Welcome:
; Welcome window
WinWait, Setup - PDFCreator, Welcome to the PDFCreator Setup Wizard
WinGet, appid, ID, Setup - PDFCreator, Welcome to the PDFCreator Setup Wizard
WinHide, ahk_id %appid%
; Expert settings checkbox
sleep, 100
ControlClick, TNewCheckBox1, ahk_id %appid%, Welcome to the PDFCreator Setup Wizard
sleep, 100
; Next button
ControlClick, &Next, ahk_id %appid%, Welcome to the PDFCreator Setup Wizard

__PrinterName:
; Printer Name window
WinWait, ahk_id %appid%, Printer name, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Welcome to the PDFCreator Setup Wizard) {
    goto, __Welcome
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Printer name

__Destination:
; Select destination window
WinWait, ahk_id %appid%, Select Destination Location, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Printer name) {
    goto, __PrinterName
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Select Destination Location

__Components:
; Select Components window
WinWait, ahk_id %appid%, Select Components, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Select Destination Location) {
    goto, __Destination
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Select Components

__StartMenu:
; Select Start Menu Folder window
WinWait, ahk_id %appid%, Select Start Menu Folder, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Select Components) {
    goto, __Components
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Select Start Menu Folder

__AdditionalTasks:
; Select Additional Tasks window
WinWait, ahk_id %appid%, Select Additional Tasks, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Select Start Menu Folder) {
    goto, __StartMenu
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Select Additional Tasks

__Ready:
; Ready to Install window
WinWait, ahk_id %appid%, Ready to Install, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Select Additional Tasks) {
    goto, __AdditionalTasks
  }
}
; Install button
ControlClick, &Install, ahk_id %appid%, Ready to Install

__PDFArchitect:
; PDF Architect (Don't want) window
WinWait, ahk_id %appid%, PDF Architect, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Ready to Install) {
    goto, __Ready
  }
}
; Next button
ControlClick, No thanks, ahk_id %appid%, PDF Architect

__OptionalOffer:
; Install Complete Optional Offer window (definitely don't want)
WinWait, Setup - PDFCreator, Installation Completed, 30
if ErrorLevel {
  if WinExist(ahk_id %appid%, PDF Architect) {
    goto, __OptionalOffer
  }
}
; Skip button
ControlClick, Skip, Setup - PDFCreator, Installation Completed

__Completing:
; Completing the PDFCreator Setup Wizard
WinWait, ahk_id %appid%, Completing the PDFCreator Setup Wizard, 1
if ErrorLevel {
  if WinExist(Setup - PDFCreator, Installation Completed) {
    goto, __OptionalOffer
  }
}
while WinExist(ahk_id %appid%, Completing the PDFCreator Setup Wizard) {
  sleep, 200
  ; Show Help checkbox
  ControlClick, TNewCheckListBox1, ahk_id %appid%, Completing the PDFCreator Setup Wizard
  sleep, 500
  ; Finish button
  ControlClick, &Finish, ahk_id %appid%, Completing the PDFCreator Setup Wizard
}

ExitApp

TimeOut:
ExitApp 120
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$installArgs = $('' +
  '/NORESTART /SUPPRESSMSGBOXES /SP- /LOG /LANG=english ' +
  '/COMPONENTS="program,ghostscript,comsamples,' +
  'languages,languages\bosnian,languages\catalan,languages\catalan_valencia,' +
  'languages\chinese_simplified,languages\chinese_traditional,' +
  'languages\corsican,languages\croatian,languages\czech,languages\danish,' +
  'languages\dutch,languages\english,languages\estonian,languages\finnish,' +
  'languages\french,languages\galician,languages\german,languages\greek,' +
  'languages\hebrew,languages\hungarian,languages\italian,languages\irish,' +
  'languages\ligurian,languages\latvian,languages\lithuanian,' +
  'languages\norwegian_bokmal,languages\polish,languages\portuguese_br,' +
  'languages\romanian,languages\russian,languages\serbian_cyrillic,' +
  'languages\slovak,languages\slovenian,languages\spanish,' +
  'languages\swedish,languages\turkish,languages\valencian_avl"'
)

$toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'exe'
  file           = "$toolsPath\PDFCreator-4_2_0-Setup.exe.exe"
  softwareName   = 'PDFCreator'
  silentArgs     = $installArgs
  validExitCodes = @(0)
}

# Make sure Print Spooler service is up and running
# this is required for both installing, and running pdfcreator
try {
  $serviceName = 'Spooler'
  $spoolerService = Get-Service -Name $serviceName
  if ($spoolerService -eq $null) { throw "Service $serviceName was not found" }
  Write-Host "Print Spooler service state: $($spoolerService.StartMode) / $($spoolerService.Status)"
  if ($spoolerService.StartMode -ne 'Auto' -or $spoolerService.Status -ne 'Running') {
    Set-Service $serviceName -StartupType Automatic -Status Running
    Write-Host 'Print Spooler service new state: Auto / Running'
  }
}
catch {
  Write-Warning "Unexpected error while checking Print Spooler service: $($_.Exception.Message)"
}

$ThisComputer = Get-WmiObject -Class win32_computersystem

# silent install requires different methods for domain-joined systems
if ($ThisComputer.partofdomain -eq $true) {
   Write-Warning 'Silent install of PDFCreator is not supported on domain-joined systems like this one.'
   Write-Warning 'Silent install will be attempted, but is less certain.'
   $ahkFile = Join-Path $toolsPath 'chocolateyInstall.ahk'
   $ahkEXE = Get-ChildItem "$env:ChocolateyInstall\lib\autohotkey.portable" -Recurse -filter autohotkey.exe
   $ahkProc = Start-Process -FilePath $ahkEXE.FullName -ArgumentList "$ahkFile" -PassThru
   Write-Debug "AutoHotKey start time:`t$($ahkProc.StartTime.ToShortTimeString())"
   Write-Debug "Process ID:`t$($ahkProc.Id)"
} else {
   $packageArgs.SilentArgs = "/VERYSILENT $($packageArgs.SilentArgs)"
}

Install-ChocolateyInstallPackage @packageArgs

Get-ChildItem $toolsPath\*.exe | ForEach-Object {$null = New-Item "$_.ignore" -Type file -Force}

if ($ahkFile) {
   if (get-process -id $ahkProc.Id -ErrorAction SilentlyContinue) {stop-process -id $ahkProc.Id}
}
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  softwareName   = 'PDFCreator'
  fileType       = 'exe'
  silentArgs     = '/VERYSILENT /NORESTART /SP-'
  validExitCodes = @(0)
}

$uninstalled = $false

[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
  $key | ForEach-Object {
    $packageArgs['file'] = "$($_.UninstallString)"

    Uninstall-ChocolateyPackage @packageArgs
  }
}
elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
}
elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert the package maintainer that the following keys were matched:"
  $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
tools\PDFCreator-4_2_0-Setup.exe.exe
md5: 71635053D1491E4A03A81CB190F1E210 | sha1: 4BFEFE95584A0AB25FC02595158C82D4B6D7EC39 | sha256: 27EA7A6A894E019CFBB24B6AACB2F323F09E9DF1186F9657B1EFCF3BEDF95891 | sha512: BBABB0671F13DBE641CE9517F2F360EC07E947115C51C93555DA70315F6B8546B8238B2BEF58202FBCAA5B932E31AFD384448FA86423F371C98C30399E302933

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
PDF Creator 5.2.1 71072 Wednesday, March 13, 2024 Approved
PDF Creator 5.1.1 174246 Monday, May 15, 2023 Approved
PDF Creator 5.1.0 21468 Tuesday, April 25, 2023 Approved
PDF Creator 5.0.3 89880 Thursday, December 8, 2022 Approved
PDF Creator 5.0.2 26183 Thursday, November 17, 2022 Approved
PDF Creator 5.0.1 32057 Wednesday, October 19, 2022 Approved
PDF Creator 5.0.0 21969 Thursday, October 6, 2022 Approved
PDF Creator 4.4.3.20220912 26965 Monday, September 12, 2022 Approved
PDF Creator 4.4.3 49148 Tuesday, July 26, 2022 Approved
PDF Creator 4.4.2 138138 Thursday, March 10, 2022 Approved
PDF Creator 4.4.1 105276 Tuesday, January 4, 2022 Approved
PDF Creator 4.3.0 216477 Thursday, June 17, 2021 Approved
PDF Creator 4.2.0 205723 Tuesday, January 12, 2021 Approved
PDF Creator 4.1.2 275859 Thursday, July 30, 2020 Approved
PDF Creator 4.1.1 4709 Tuesday, July 28, 2020 Approved
PDF Creator 4.1.0 52609 Wednesday, June 10, 2020 Approved
PDF Creator 4.0.4 66902 Thursday, April 16, 2020 Approved
PDF Creator 4.0.3 17616 Thursday, April 2, 2020 Approved
PDF Creator 3.5.1 297466 Monday, June 24, 2019 Approved
PDF Creator 3.5.0 38822 Monday, May 27, 2019 Approved
PDF Creator 3.4.1 78458 Wednesday, April 3, 2019 Approved
PDF Creator 3.4.0 66445 Thursday, February 14, 2019 Approved
PDF Creator 3.3.0 245843 Tuesday, October 9, 2018 Approved
PDF Creator 3.2.2.20180903 91399 Monday, September 3, 2018 Approved
PDF Creator 3.2.2 168236 Friday, June 22, 2018 Approved
PDF Creator 3.2.1 83813 Thursday, May 31, 2018 Approved
PDF Creator 3.2.0.20180518 45045 Friday, May 18, 2018 Approved
PDF Creator 3.2.0 76019 Thursday, March 15, 2018 Approved
PDF Creator 3.1.2 51986 Thursday, January 25, 2018 Approved
PDF Creator 3.1.1 21511 Thursday, January 4, 2018 Approved
PDF Creator 3.1.0 14379 Wednesday, December 20, 2017 Approved
PDF Creator 3.0.1 101839 Thursday, September 21, 2017 Approved
PDF Creator 2.5.3 92397 Monday, June 26, 2017 Approved
PDF Creator 2.5.2 61251 Wednesday, April 19, 2017 Approved
PDF Creator 2.5.1 200151 Friday, February 17, 2017 Approved
PDF Creator 2.5.0 1025 Friday, February 17, 2017 Approved
PDF Creator 2.4.1 36248 Tuesday, November 22, 2016 Approved
PDF Creator 2.3.2 104861 Monday, July 18, 2016 Approved
PDF Creator 2.3.1 647 Tuesday, June 28, 2016 Approved
PDF Creator 2.3.0 11514 Tuesday, March 1, 2016 Approved
PDF Creator 2.2.2 7960 Thursday, December 10, 2015 Approved
PDF Creator 2.2.0 4585 Monday, October 26, 2015 Approved
PDF Creator 2.1.2 13566 Thursday, June 4, 2015 Approved
PDF Creator 2.1.1 4432 Wednesday, April 1, 2015 Approved
PDF Creator 2.1.0 619 Thursday, March 19, 2015 Approved
PDF Creator 2.0.2 7322 Thursday, January 22, 2015 Approved
PDF Creator 2.0.1 3229 Tuesday, December 16, 2014 Approved
PDF Creator 2.0.0 2742 Sunday, November 30, 2014 Approved
PDF Creator 1.9.4-beta 687 Wednesday, August 13, 2014 Approved
PDF Creator 1.7.3.20140611 8643 Wednesday, June 11, 2014 Approved
PDF Creator 1.7.3.20140606 1328 Friday, June 6, 2014 Approved
PDF Creator 1.7.3 4531 Friday, April 25, 2014 Approved
PDF Creator 1.7.2 3870 Friday, November 29, 2013 Approved
PDF Creator 1.7.1 2289 Friday, August 9, 2013 Approved
PDF Creator 1.7.0 1001 Tuesday, June 11, 2013 Approved
PDF Creator 1.5.0 1318 Tuesday, September 18, 2012 Approved
PDF Creator 1.4.3 664 Friday, July 27, 2012 Approved
PDF Creator 1.2.3 777 Saturday, February 4, 2012 Approved

Discussion for the PDF Creator Package

Ground Rules:

  • This discussion is only about PDF Creator and the PDF Creator package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or PDF Creator, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus