Skip to content

Commit

Permalink
0.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hessandrew committed Mar 16, 2023
1 parent a8f326a commit a507352
Show file tree
Hide file tree
Showing 41 changed files with 210 additions and 102 deletions.
4 changes: 2 additions & 2 deletions PDFProcessor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben

[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
108 changes: 70 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,84 @@

Yet another PDF Printer? Yes! This PDF Printer has the intention to be completely open source.<br><br>
Open Source virtual PDF printer for Windows 7 / 8 / 10 / 11 / RDS / Terminalserver<br>
Print to PDF, PDF/A, PDF/X, PNG, JPEG, TIF and text
Print to PDF, PDF/A, PDF/X, PNG, JPEG, TIF and TXT

# Download

https://github.com/clawsoftware/clawPDF/releases/download/0.8.5/clawPDF_0.8.5_setup.msi
https://github.com/clawsoftware/clawPDF/releases/download/0.8.6/clawPDF_0.8.6_setup.msi


# Features

- Print to PDF, PDF/A, PDF/X, PNG, JPEG, TIF and TXT
- Full unicode support
- Multiple profiles
- Post Actions
- Create additional printers with assigned profile
- 24 languages
- Many settings
- Easy to use
- Easy to deploy (MSI-Installer & Config)
- No adware, spyware, nagware
- ...

# Tested under

- Windows RDS/Terminalserver
- Windows Server 2022 Terminalserver/RDS
- Windows Server 2019 Terminalserver/RDS
- Windows Server 2016 Terminalserver/RDS
- Windows 11 x64
- Windows 10 x32/x64
- Windows 8 x32/x64
- Windows 7 x32/x64

# Commandline

## Batch Printing
```
The GUID for the Profile parameter is located under: HKEY_CURRENT_USER\Software\clawSoft\clawPDF\Settings\ConversionProfiles\[id]\Guid
clawPDF.exe /PrintFile=D:\example.docx /profile=f81ea998-3a76-4104-a574-9a66d6f3039b
clawPDF.exe /PrintFile=D:\example.pdf /profile=JpegGuid
clawPDF.exe /PrintFile=D:\example.txt /printerName=clawPDF2
clawPDF.exe /PrintFile=D:\example.docx /printerName=clawJPG
```

## Overwrite Config
```
- To deploy a default configuration in an enterprise environment.
- To export a configuration select "Application Settings -> Debug -> Save settings to file".
clawPDF.exe /Config=D:\clawPDF.ini
```

## Printer Managment
```
SetupHelper.exe /Printer=Add /Name=ExamplePrinter
SetupHelper.exe /Printer=Remove /Name=ExamplePrinter
```

## ManagePrintJobs
```
clawPDF.exe /ManagePrintJobs
```


# Changelog

## v0.8.6 (2023.03.16)

- [feature] Profile Settings -> Actions -> Run Script -> Hide the process execution
- [feature] Config parameter e.g. to deploy settings in enterprise environments
- [bugfix] Unicode support in usernames
- [bugfix] Printing is now working for ghostscript parameters with east-asian characters
- [bugfix] Profiles for additional printers work now (Application Settings -> Printers -> Profile)
- [misc] Optimizations for Windows Remote Desktop

## v0.8.5 (2023.03.11)

- [update] Update to GS10
- [update] Update to Ghostscript 10
- [bugfix] MapiClient (thx to christian1980nrw)
- [bugfix] FtpConnection (thx to droshcom)
- [bugfix] Typo Czech.ini (thx to PetrTodorov)
Expand All @@ -32,48 +90,22 @@ https://github.com/clawsoftware/clawPDF/releases/download/0.8.5/clawPDF_0.8.5_se

## v0.8.4 (2019.06.11)

- [bugfix] unicode filename support (thx to daooze for bugreport)
- [bugfix] Unicode filename support (thx to daooze for bugreport)

## v0.8.3 (2019.05.31)

- [bugfix] starts under System-Account
- [cleanup] migrated code from c++ to c#
- [update] ghostscript 9.27
- [bugfix] author metadata
- [bugfix] Starts under System-Account
- [cleanup] Migrated code from c++ to c#
- [update] Ghostscript 9.27
- [bugfix] Author metadata

## v0.8.01 (2019.02.10)
## v0.8.1 (2019.02.10)

- [bugfix] performance boost for RDS environments
- [bugfix] Performance boost for RDS environments

## v0.8.0 (2019.02.10)

- initial version


# Features

- print to PDF, PDF/A, PDF/X, PNG, JPEG, TIF and text
- 24 languages
- many settings
- easy to use
- easy to deploy (MSI-Installer)
- no adware, spyware, nagware
- ...


# Commandline

## Batch Printing

- clawPDF.exe /PrintFile=D:\example.docx /profile=f81ea998-3a76-4104-a574-9a66d6f3039b
- clawPDF.exe /PrintFile=D:\example.pdf /profile=JpegGuid

/profile=GUID (HKEY_CURRENT_USER\Software\clawSoft\clawPDF\Settings\ConversionProfiles\id\Guid)


## ManagePrintJobs

- clawPDF.exe /ManagePrintJobs
- Initial version


# Requirements
Expand Down
4 changes: 2 additions & 2 deletions SetupHelper/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
4 changes: 2 additions & 2 deletions clawPDF.Bridge/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
4 changes: 2 additions & 2 deletions clawPDF.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben

[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
[assembly: NeutralResourcesLanguage("")]
4 changes: 2 additions & 2 deletions clawPDF.Mail/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
4 changes: 2 additions & 2 deletions clawPDF.Settings/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben

[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
13 changes: 13 additions & 0 deletions clawPDF.Settings/clawPDFSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,19 @@ public bool LoadData(IStorage storage, string path, Action<Data> dataValidation)
}
}

public void LoadDataStart(IStorage storage, string path, Action<Data> dataValidation)
{
try
{
data.Clear();
storage.SetData(data);
storage.ReadData(path);
dataValidation(data);
ReadValues(data, "");
}
catch {}
}

// END_CUSTOM_SECTION:GENERAL
// Custom Code ends here. Do not edit below
}
Expand Down
9 changes: 2 additions & 7 deletions clawPDF.Shared/Helper/URLs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
{
public static class Urls
{
public const string DonateUrl = "http://go.clawSoft.org/donate";
public const string Facebook = "http://go.clawSoft.org/facebook";
public const string GooglePlus = "http://go.clawSoft.org/google-plus";

public const string clawSoftWebsiteUrl = "http://www.clawSoft.org";

public const string clawPDFDownloadUrl = "http://go.clawSoft.org/clawPDF/download";
public const string clawSoftWebsiteUrl = "https://github.com/clawsoftware/clawPDF";
public const string clawSoftSponsorsUrl = "https://github.com/sponsors/clawsoftware";
}
}
4 changes: 2 additions & 2 deletions clawPDF.Shared/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben

[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
4 changes: 2 additions & 2 deletions clawPDF.Utilities/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
[assembly: NeutralResourcesLanguage("")]
25 changes: 20 additions & 5 deletions clawPDF/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
using System.Windows;
using System.Windows.Threading;
using clawSoft.clawPDF.Assistants;
using clawSoft.clawPDF.Core.Ghostscript;
using clawSoft.clawPDF.Core.Settings.Enums;
using clawSoft.clawPDF.Helper;
using clawSoft.clawPDF.Shared.Helper;
using clawSoft.clawPDF.Shared.Helper.Logging;
using clawSoft.clawPDF.Shared.Views;
using clawSoft.clawPDF.Startup;
using clawSoft.clawPDF.Threading;
using clawSoft.clawPDF.Utilities.Communication;
Expand Down Expand Up @@ -52,13 +50,30 @@ private void App_OnStartup(object sender, StartupEventArgs e)
}
finally
{
if (string.Join(" ", e.Args).Contains("INFODATAFILE"))
if (string.Join(" ", e.Args).ToLower().Contains("/printfile="))
{
string defaultProfile = RegistryUtility.ReadRegistryValue(@"Software\clawSoft\clawPDF\Batch", "DefaultProfileGuid");
var defaultProfile = RegistryUtility.ReadRegistryValue(@"Software\clawSoft\clawPDF\Batch", "DefaultProfileGuid");

if (!string.IsNullOrEmpty(defaultProfile))
{
RegistryUtility.WriteRegistryValue(@"Software\clawSoft\clawPDF\Settings\ApplicationSettings", "LastUsedProfileGuid", defaultProfile);
Thread.Sleep(5000);
var settings = SettingsHelper.Settings;
var printerDefaultProfileGuid = RegistryUtility.ReadRegistryValue(@"Software\clawSoft\clawPDF\Batch", "PrinterDefaultProfileGuid");
var primaryPrinter = settings.ApplicationSettings.PrimaryPrinter;
settings.ApplicationSettings.LastUsedProfileGuid = defaultProfile;
RegistryUtility.DeleteRegistryValue(@"Software\clawSoft\clawPDF\Batch", "DefaultProfileGuid");
RegistryUtility.DeleteRegistryValue(@"Software\clawSoft\clawPDF\Batch", "PrinterDefaultProfileGuid");

foreach (var printer in settings.ApplicationSettings.PrinterMappings)
{
if (printer.PrinterName == primaryPrinter)
{
printer.ProfileGuid = printerDefaultProfileGuid;
}
}

SettingsHelper.ApplySettings(settings);
SettingsHelper.SaveSettings();
}
}
globalMutex.Release();
Expand Down
4 changes: 2 additions & 2 deletions clawPDF/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben

[assembly: AssemblyVersion("0.8.5.0")]
[assembly: AssemblyFileVersion("0.8.5.0")]
[assembly: AssemblyVersion("0.8.6.0")]
[assembly: AssemblyFileVersion("0.8.6.0")]
[assembly: NeutralResourcesLanguage("")]
Loading

0 comments on commit a507352

Please sign in to comment.