Downloads:

749,993

Downloads of v 11.1.0:

20,242

Last Update:

14 May 2022

Package Maintainer(s):

Software Author(s):

  • geek Software GmbH

Tags:

pdf24 pdf pdfcreator printer

PDF24 Creator

  • 1
  • 2
  • 3

11.1.0 | Updated: 14 May 2022

Downloads:

749,993

Downloads of v 11.1.0:

20,242

Software Author(s):

  • geek Software GmbH

  • 1
  • 2
  • 3
PDF24 Creator 11.1.0

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall PDF24 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 pdf24 -y --source="'INTERNAL REPO URL'" [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 pdf24 -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install pdf24
  win_chocolatey:
    name: pdf24
    version: '11.1.0'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'pdf24' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '11.1.0'
end

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


cChocoPackageInstaller pdf24
{
    Name     = "pdf24"
    Version  = "11.1.0"
    Source   = "INTERNAL REPO URL"
}

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


package { 'pdf24':
  ensure   => '11.1.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.

This package was approved as a trusted package on 14 May 2022.

Description

The free, PDF24 PDF Creator is a program to create PDF files from almost any application. The PDF creator functions as a virtual PDF printer and provides some PDF editing features.

Features

  • Freeware
  • Easy to use
  • Multilingual
  • Create PDF files from almost any application
  • Creation of other file types: PDF/A, PDF/X, PS, EPS, PCL, PNG, JPEG, BMP, PCX, TIFF, PSD
  • PDF editor
  • Merge and split PDF
  • Extract pages from a PDF
  • Copy pages from one PDF to another PDF
  • Integrated preview
  • Set PDF information such as author and title
  • PDF watermark and PDF stamp
  • Sign PDF files
  • Secure a PDF with a password
  • Set document properties and permissions
  • Can import images from TWAIN devices
  • PDF screen capture
  • Windows tray icon with useful features

Requirements

As a virtual printer, PDF24 requires the Print Spooler ("spooler") service to be running. This package will start the spooler and configure it to auto-start.

Install Options

By default, this package will not install the Fax printer and will not add a desktop icon, but you can change that through package parameters:

  • /Icon - Installs the desktop icon.
  • /Fax - Installs the fax printer.
  • /Basic - Only the PDF24 virtual printer is enabled to start. All "extra" features (shell context menu item, screen capture, mail, cloud print, tray icon) are disabled by default. They can be manually re-enabled per user in the PDF24 settings.

Example usage: choco install pdf24 -params '"/Basic"'


tools\chocolateybeforemodify.ps1
if (Get-Process 'pdf24' -ErrorAction SilentlyContinue) {
   Stop-Process -Name pdf24 -Force
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir   = Split-Path -parent $MyInvocation.MyCommand.Definition
$Installer = (Get-ChildItem $toolsDir -Filter '*.msi').FullName

$InstallArgs = @{
   packageName   = $env:ChocolateyPackageName
   softwareName  = "$env:ChocolateyPackageName*"
   fileType      = 'MSI' 
   url           = 'https://download2.pdf24.org/pdf24-creator-11.1.0.msi'
   checksum      = 'edd25c0c67725a3f8ba3a2fb7021fe8b13364d494a1812ebff3b4aaa50b8ffa9'
   checksumType  = 'sha256' #default is md5, can also be sha1, sha256 or sha512
   silentArgs    = "/qn /norestart /l*v `"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
   validExitCodes= @(0, 3010, 1641)
}

# The PDF24 Service depends on the Print Spooler service so make it is up and running 
#    (Stolen from cutepdf package and thanks to bcurran3.)
try {
   $serviceName = 'Spooler'
   $spoolerService = Get-WmiObject -Class Win32_Service -Property StartMode,State -Filter "Name='$serviceName'"
   if ($spoolerService -eq $null) { 
      Write-Warning "The Print Spooler service must be running for PDF24 to install."
      Throw "Service $serviceName was not found" 
   }
   Write-Warning "Print Spooler service state: $($spoolerService.StartMode) / $($spoolerService.State)"
   if ($spoolerService.StartMode -ne 'Auto' -or $spoolerService.State -ne 'Running') {
      Set-Service $serviceName -StartupType Automatic -Status Running
      Write-Warning 'Print Spooler service now set to: Auto / Running'
   }
} catch {
   Throw "Unexpected error while checking Print Spooler service: $($_.Exception.Message)"
}

$pp = Get-PackageParameters

if ($pp['Icon']) { 
   Write-Host 'You have opted for the Desktop Icon.' -ForegroundColor Cyan
   $I = ''
} else { $I = ' DESKTOPICONS=No' } 

if ($pp['Fax']) { 
   Write-Host 'You have opted to include the FaxPrinter.' -ForegroundColor Cyan
   $F = ''
} else { $F = ' FAXPRINTER=No' } 

if ($pp['Basic']) {
   Write-Host 'You requested to configure the PDF Printer feature only.' -ForegroundColor Cyan
   $RegPath = 'HKLM:\SOFTWARE'
   if (-not (Test-Path "$RegPath\PDF24")) {
      $null = New-Item -Path $RegPath -Name 'PDF24' -Force
   }
   $Properties = @(
      'NoTrayIcon',
      'NoOnlineConverter',
      'NoShellContextMenuExtension',
      'NoOnlinePdfTools',
      'NoCloudPrint',
      'NoEmbeddedBrowser',
      'NoPDF24MailInterface',
      'NoScreenCapture',
      'NoFax',
      'NoFaxProfile',
      'NoMail'
   )
   ForEach ($item in $Properties) {
      $null = New-ItemProperty -Path "$RegPath\PDF24" -Name $item -PropertyType DWORD -Value 1 -Force
   }
}

$InstallArgs.silentArgs = "$($InstallArgs.silentArgs)$I$F"

Install-ChocolateyPackage @InstallArgs

tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

[array]$key = Get-UninstallRegistryKey -SoftwareName "PDF24*"

if ($key.Count -eq 1) {
   $GUID = "{$($key[0].UninstallString.split('{')[-1])"
   $UninstallArgs = @{
      Statements    = "/x $GUID /qn /norestart /l*v `"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).Uninstall.log`""
      ExeToRun      = 'msiexec'
      validExitCodes= @(0, 3010, 1605, 1614, 1641)
   }
   Start-ChocolateyProcessAsAdmin @UninstallArgs

} elseif ($key.Count -gt 1) {
   Throw "Multiple installs found.  Could not safely uninstall PDF24!"
} else {
   Write-Host "PDF24 not found.  It may have been uninstalled through other actions."
}

if (Test-Path 'HKLM:\SOFTWARE\PDF24') {
   Remove-Item 'HKLM:\SOFTWARE\PDF24' -Recurse -Force
}

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
PDF24 Creator 11.0.1 50464 Saturday, March 26, 2022 Approved
PDF24 Creator 10.8.0 35267 Tuesday, February 15, 2022 Approved
PDF24 Creator 10.7.1 31060 Monday, January 10, 2022 Approved
PDF24 Creator 10.7.0 30999 Saturday, November 27, 2021 Approved
PDF24 Creator 10.6.3 21931 Saturday, November 6, 2021 Approved
PDF24 Creator 10.6.0 19412 Monday, October 18, 2021 Approved
PDF24 Creator 10.5.0 13715 Saturday, October 9, 2021 Approved
PDF24 Creator 10.2.0 15823 Monday, September 27, 2021 Approved
PDF24 Creator 10.1.1 17159 Wednesday, September 8, 2021 Approved

This package has no dependencies.

Discussion for the PDF24 Creator Package

Ground Rules:

  • This discussion is only about PDF24 Creator and the PDF24 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 PDF24 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