Quantcast
Channel: PDFCreator - pdfforge forums
Viewing all 2633 articles
Browse latest View live

Stamp on PDF / CreateObject / pdfforge / PDFCreator Pro

$
0
0

@sdan wrote:

Hi everyone,

We have been using Excel (VBA) to create and add stamps on PDF (PDFCreator version 1.7.3) since many years.
The Excel function was : Set pdf = CreateObject("pdfforge.pdf.pdf"), and it worked perfectly.
We had to download the new version of PDFCreator Pro, and since then, the function doesn't work anymore. Is it replaced by another function? If so, which one? How to change the code?

Here a part of our actual code:

Sub STAMP()
Dim pdf As Object, pdfText As Object, pdfText1 As Object, pdfText2 As Object, pdfLine As Object, pdfLine2 As Object, pdfLine3 As Object, pdfLine4 As Object
Dim sNomDoc As String
Dim Num As Long
Dim REF As String
Dim nlot As String

Set pdf = CreateObject("pdfforge.pdf.pdf")
Set pdfText = CreateObject("pdfforge.pdf.pdfText")
Set pdfText1 = CreateObject("pdfforge.pdf.pdfText")
Set pdfText2 = CreateObject("pdfforge.pdf.pdfText")
Set pdfLine = CreateObject("pdfforge.pdf.pdfline")
Set pdfLine2 = CreateObject("pdfforge.pdf.pdfline")
Set pdfLine3 = CreateObject("pdfforge.pdf.pdfline")
Set pdfLine4 = CreateObject("pdfforge.pdf.pdfline")

REF = ThisWorkbook.Sheets("FEUIL2").Range("B2")
nlot = ThisWorkbook.Sheets("FEUIL2").Range("B4").Value

sNomDoc = ThisWorkbook.Path & ThisWorkbook.Sheets("FEUIL2").Range("B7") & "" & REF & "_" & ThisWorkbook.Sheets("FEUIL2").Range("B3").Value & ".pdf"
If Dir(sNomDoc) <> "" Then
Num = pdf.NumberOfPages(sNomDoc)
Else
MsgBox "FICHIER INTROUVABLE"
End If

With pdfText
    .fillOpacity = 1

    .FontColorBlue = 255
    .FontColorGreen = 0
    .FontColorRed = 0

    .FontName = "ariblk.TTF"
    .FontSize = 10
    .Rotation = 0
    .Text = "VALABLE POUR"
    .XPosition = 254
    .YPosition = 193

    pdf.AddTextToPDFFile sNomDoc, ThisWorkbook.Path & "\" & "AddText.pdf", 1, Num, pdfText
End With

[...]
End Sub

Thanks for your help,
Best regards
Sarah

Posts: 1

Participants: 1

Read full topic


Mehrere Drucker ansteuern

Ads over title and author

$
0
0

@Alastair_Lewis wrote:

Hi,

In the past I was able to add title and author when I create a new pdf. But, now there is often an advert over the area where the title and author is entered. What do I need to do to be able to enter these items again?

Thank you

Alastair

Posts: 2

Participants: 2

Read full topic

Internal Ghostscript error. (29100)

$
0
0

@C-J wrote:

When trying to print a PDF from some web pages, I get the following error.
"An error occurred: Internal Ghostscript error. (29100)"

I am using a Win10 64 bit PC, Comodo Dragon Version 80.0.3987.87 (64-bit), chrome-core browser. All software is up-to-date.

I have created profiles and they all work fine if I print a "Test" page from PDFCreator, as well as, docx, xlsx, png, jpg and txt files. However, when I print some web pages, I get the above error and no PDF is created.

This seems to be an ongoing problem as the hordes of posts attest. Please fix.
Thank you.

Here are a selection of error message from the PDFCreator log:

2020-03-08 16:31:57.1432 [Error] pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion: There was a Ghostscript error while converting the Job C:\Users\cjs84\AppData\Local\Temp\PDFCreator\Spool\42-5798B4AFC0B747828A8E7EC4565C89FE.inf: pdfforge.PDFCreator.Conversion.Jobs.ProcessingException: Ghostscript execution failed:

at pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion(Job job, ConversionMode conversionMode)
2020-03-08 16:31:57.1432 [Error] pdfforge.PDFCreator.Core.Workflow.JobRunner+d__10.MoveNext: The job failed: Ghostscript execution failed:
(Conversion_GhostscriptError)
2020-03-08 16:31:57.1781 [Error] pdfforge.PDFCreator.Core.Workflow.ConversionWorkflow.RunWorkflow: Error Conversion_GhostscriptError: Ghostscript execution failed:

2020-03-08 16:32:01.5630 [Error] pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJob: The job 'Daylight savings year-round could save ...improve sleep and other benefits - CNN' terminated at step Error and did not end successfully.
2020-03-08 16:33:38.4867 [Error] pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion: Ghostscript execution failed:

2020-03-08 16:33:38.4867 [Error] pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion: There was a Ghostscript error while converting the Job C:\Users\cjs84\AppData\Local\Temp\PDFCreator\Spool\43-9F0A9160E4F6474E9A3C8C631A95CFA8.inf: pdfforge.PDFCreator.Conversion.Jobs.ProcessingException: Ghostscript execution failed:

at pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion(Job job, ConversionMode conversionMode)
2020-03-08 16:33:38.4867 [Error] pdfforge.PDFCreator.Core.Workflow.JobRunner+d__10.MoveNext: The job failed: Ghostscript execution failed:
(Conversion_GhostscriptError)
2020-03-08 16:33:38.5276 [Error] pdfforge.PDFCreator.Core.Workflow.ConversionWorkflow.RunWorkflow: Error Conversion_GhostscriptError: Ghostscript execution failed:

2020-03-08 16:33:43.6572 [Error] pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJob: The job 'How to lose your love handles - CNN' terminated at step Error and did not end successfully.

Posts: 2

Participants: 2

Read full topic

Tampon PDF / CreateObject / pdfforge / PDFCreator Pro

$
0
0

@sdan wrote:

Bonjour,

Nous utilisions Excel (VBA) pour créer et ajouter un tampon sur des PDF (PDFCreator version 1.7.3) depuis quelques années.
La fonction sur Excel pour faire cette manipulation était : Set pdf = CreateObject("pdfforge.pdf.pdf"), et fonctionnait parfaitement.
Nous avons du mettre à jour PDFCreator et télécharger la dernière version (en Professionnel) .Depuis, la fonction (et donc le code) ne fonctionne plus. Est-ce qu'une autre fonction est à utiliser en remplacement ?

Merci !
Sarah

Posts: 1

Participants: 1

Read full topic

Problems to convert Excel to PDF

$
0
0

@jserrano wrote:

Hi mates,

Until now I was right clicking on Excel document and clicking on "Convert with PdfCreator option"without opening the file. But it has stopped working. With word files and others it works without problems it is only with Excel.

With Excel files when I try to convert it opens the an Excel sheet with a gray tone and without content and from there it doesn't happen. It does not give error, but neither advances.

For excel documents I have to open the document and print it with PdfCreator and it works. I can work like this but it means a long delay

I have tried to repair the installation and even uninstall and reinstall PdfCreator. I have the problems with Office 2010 and 2013 which are the ones that I could try.

Sorry for mi english hope you can understand me.
Thanks.

Posts: 1

Participants: 1

Read full topic

PDFCreator Server - Dokument automatisiert drucken

$
0
0

@Marv72810 wrote:

Hallo zusammen,

wenn ich die Option "Print document" in den Einstellungen der Queue/Warteschlange verwende, wird das Dokument als PDF gespeichert und auf einem physischen Drucker ausgedruckt. Der Ausdruck ist nicht vollständig, (scheint herangezoomt) und immer im Letter-Format zu erfolgen (die Drucker melden, dass das korrekte Format geladen werden soll und geben dieses mit "Letter" an.)

Das PDF-File hingegen ist tadellos. Drucke ich dieses PDF manuell auf dem Drucker aus (Adobe Reader oder Google Chrome), habe ich ebenfalls keine Probleme. Nur wenn der PDFCreator Server automatisiert druckt, kommt es zu diesem Fehler.

Die Treiber des PDF-Druckers sowie die Treiber des physischen Druckers sind installiert und standardmäßig auf DINA4 gestellt.

Ich habe schon nach einer Konfigurationsdatei gesucht, welche festlegt in welchem Format gedruckt wird. Leider bin ich nicht fündig geworden.

Vielleicht hatte ja jemand das gleiche Problem.

Vielen Dank für Eure Hilfe.

MfG
Marv

Posts: 2

Participants: 2

Read full topic

Error signing 12999

$
0
0

@Cao wrote:

I was already signing documents in PDF Creator, but since I've updated to 4.0.3 version, I get error:

An error occurred: Error signing the document (12999)

[Error] pdfforge.PDFCreator.Core.Workflow.ConversionWorkflow.RunWorkflow: Error Signature_GenericError: iText.Kernel.PdfException while signing:
Unknown PdfException.
[Error] pdfforge.PDFCreator.Core.Workflow.JobRunner+d__10.MoveNext: The job failed: iText.Kernel.PdfException while signing:
Unknown PdfException. (Signature_GenericError)

Please let me know what to do.
Thanks!

Error PDF Creator

Regards

Posts: 2

Participants: 2

Read full topic


Excel VBA Marco doesn’t work

$
0
0

@Victor_Y wrote:

Hello all,

I used to use the excel vba code below; however it doesn’t work in v3.4.0 pdfcreator
How should I amend the code to run the pdfcreator through excel vba.
Thanks in advance :smiley:

Sub PrintToPDF(sPDFPath, sPDFName, sMasterPass)

' Designed for late bind, no references req'd
Dim pdfjob As Object
Dim bRestart As Boolean

Do
Sleep 1000
bRestart = False
Set pdfjob = CreateObject("PDFCreator.PDFCreatorObj")
If pdfjob.cStart("/NoProcessingAtStartup") = False Then
    'PDF Creator is already running.  Kill the existing process
    Shell "taskkill /f /im PDFCreator.exe", vbHide
    DoEvents
    Set pdfjob = Nothing
    bRestart = True
End If
Loop Until bRestart = False



'Set all defaults
With pdfjob
    .cOption("UseAutosave") = 1
    .cOption("UseAutosaveDirectory") = 1
    .cOption("AutosaveDirectory") = sPDFPath
    .cOption("AutosaveFilename") = sPDFName
    .cOption("AutosaveFormat") = 0    ' 0 = PDF
    'The following are required to set security of any kind
    .cOption("PDFUseSecurity") = 1
    .cOption("PDFOwnerPass") = 1
    .cOption("PDFOwnerPasswordString") = sMasterPass

    'To set individual security options
    .cOption("PDFDisallowCopy") = 1
    .cOption("PDFDisallowModifyContents") = 1
    .cOption("PDFDisallowPrinting") = 1

    'To force a user to enter a password before opening
    .cOption("PDFUserPass") = 1
    .cOption("PDFUserPasswordString") = sMasterPass
    'To change to High encryption
    .cOption("PDFHighEncryption") = 1

    'Get ready for the print job
    .cClearCache
End With

'Delete the PDF if it already exists
If Dir(sPDFPath & sPDFName & ".pdf") = sPDFName & ".pdf" Then Kill (sPDFPath & sPDFName & ".pdf")

'Print the document to PDF
ActiveSheet.PrintOut copies:=1, ActivePrinter:="PDFCreator"

'Wait until the print job has entered the print queue
Do Until pdfjob.cCountOfPrintjobs = 1
    DoEvents
Loop
pdfjob.cPrinterStop = False

'Wait until the file shows up before closing PDF Creator
Do
    DoEvents
Loop Until Dir(sPDFPath & sPDFName & ".pdf") = sPDFName + ".pdf"
Set pdfjob = Nothing

End Sub

Posts: 1

Participants: 1

Read full topic

Pdfcreator, NanoCad and layers

$
0
0

@Patrick-G wrote:

Bonjour,
après l'abandon de Draftsight pour son changement de politique commerciale, je travaille à la maison avec Nanocad v5.

Par contre je n'arrive pas à générer des PDF qui incluent les calques comme dans les pdf créés avec Autocad par exemple.

Est-ce possible avec PDFcréator ?

Cordialement
Patrick

Posts: 1

Participants: 1

Read full topic

PDFCreator Professional Fehlermeldung beim Verteilen

$
0
0

@Julian.Hahn wrote:

Beim Verteilen vom PDFCreator Professional kommt die Fehlermeldung "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your Support personnel or package vendor."

Das war im letzten Monat mit der Version 4.0.1 nicht der Fall. Es wird im Script der Proxy aktiviert und nach der Installation deaktiviert, sodass ein Kontakt zum Lizenzserver gegeben ist. Es wurde beim Update nur die Versionsnummer zur 4.0.3 verändert, also keine anderen Veränderungen im Gegensatz zum letzten Monat.

Posts: 1

Participants: 1

Read full topic

Silent switch needed for PDF creator 4.0.2

$
0
0

@Syed0014 wrote:

Hi Team,

I am unable to install version PDFCreator-4_0_2-Setup.exe using silently
no SWitch is working.

Also I extracted MSI file from the exe setup which is failing to install and giving premature installation error once finished returing error code 1603.

Anyhelp would be appreciated.

Posts: 1

Participants: 1

Read full topic

PDFCreator Server drivers not installed (Code 28)

$
0
0

@chmger wrote:

Hello.

Whenever I try to add a new queue in PDFCreator Server v. 2.0.1 build 1946, it creates the printer queue in Windows, but does not install the drivers.

It might have something to do with the PDFForge certificate being expired, but I'm not quite sure.

Cheers.

Posts: 2

Participants: 2

Read full topic

PDFCreator slow in remote desktop

$
0
0

@Giupy wrote:

Hi there,
in my company we have several PCs with PDFCreator installed and it works great.
Most of us started to work using the Remote Desktop app. In these case PDFCreator is very slow and we don't understand why. It normally takes about 10 seconds for generate our .pdf but working with the remote control it takes about 40 seconds.
It's a shame because we really do enjoy working with PDFcreator. Do you have any suggestions?
Thanks in advance

Giupy

Posts: 3

Participants: 2

Read full topic

Post script page size doesn't work

$
0
0

@Marco64 wrote:

Hello
With pdf creator 4.0.3 I can't change page size in post script options. It's a bug?
I can't flag the roll option. :sob:

Posts: 1

Participants: 1

Read full topic


PDFCreator als portable einrichten -Drucker jedoch auf PC lokal-

$
0
0

@boro1 wrote:

Hallo

lt. eines Artikels kann der PDFCreator auch als portable auf einem USB-Stick installiert werden.
Soweit gut..
Allerdings, selbst wenn man die Software installiert, wird immer ein PDF-Drucker lokal auf dem PC mit installiert.
Löscht man diesen, so startet PDFCreator nicht mehr, man muss den Drucker wieder installieren.
Ich dachte man könnte den benötigten Drucker auch auf dem USB-Stick aufsetzen?!

Geht dies irgendwie?
Kann man PDFCreator auch ohne "PDF-Drucker" starten/nutzen?
Falls ja, bitte wie?

Besten Dank für die Hilfe.
DB

Posts: 1

Participants: 1

Read full topic

PowerShell Eror: Method invocation failed because ... [PDF.COM] does not contain method

$
0
0

@Robinusmaximus wrote:

Hello,

I'm trying to do a simple print/conversion from pdf to text and I'm getting the below errors when I try to execute the following code:

$PDFCreator = New-Object -ComObject PDFCreator.JobQueue
$PDFCreator.Initialize()
$PJ = $PDFCreator.PrintFileSwitchingPrinters('C:\Users\ivaar\OneDrive\Documents\GitHub\PowerShell\ACA-guide.pdf', $TRUE)
$PJ.SetProfileByGuid('TextCon')
$PJ.ConvertTo('C:\Users\ivaar\OneDrive\Documents\GitHub\PowerShell\Converted-Guide.txt')
$PDFCreator.ReleaseCom()



Method invocation failed because [pdfforge.PDFCreator.UI.COM.Queue] does not 
contain a method named 'PrintFileSwitchingPrinters'.
At C:\Users\ivaar\OneDrive\Documents\GitHub\PowerShell\TestTwo.ps1:5 char:1
+ $PJ = $PDFCreator.PrintFileSwitchingPrinters('C:\Users\ivaar\OneDrive ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound
 
You cannot call a method on a null-valued expression.
At C:\Users\ivaar\OneDrive\Documents\GitHub\PowerShell\TestTwo.ps1:6 char:1
+ $PJ.SetProfileByGuid('TextCon')
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
 
You cannot call a method on a null-valued expression.
At C:\Users\ivaar\OneDrive\Documents\GitHub\PowerShell\TestTwo.ps1:7 char:1
+ $PJ.ConvertTo('C:\Users\ivaar\OneDrive\Documents\GitHub\PowerShell\Co ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Posts: 2

Participants: 2

Read full topic

PDFcreator 3.x.x Setups

$
0
0

@wquatan wrote:

Hi,

Due to a technical problem I lost my PDFCreator-3_x_x-Setup.exe files prior to PDFCreator-3_4_0-Setup.exe.

I really need those versions, but as I can't find them in the download area, I hope someone can provide me those 3.x.x setups or inform me how / where I can download them (officially)

Thanks

Posts: 1

Participants: 1

Read full topic

Internal Ghost script Error

$
0
0

@annakrejci wrote:

Hi,
I have free version of PDFCreator and sometimes I am experiencing 29100 Internal Ghostscript error.
I would like to know if this error is present only in free version or if there are also users with pro version who are experiencing this type of error.

Thank you.

Posts: 1

Participants: 1

Read full topic

PDFCreator - Hintergrund für digitales Briefpapier versetzt

$
0
0

@ThomasHenry wrote:

Hallo zusammen,

habe beim Erzeugen eines Dokumentes über den PDFCreator und der Hintergrund Funktion bisher keine Probleme gehabt.

Mit unserer neuesten PDF-Version des Briefpapiers kommt der PDFCreator allerdings nicht zurecht. Der Hintergrund ist nach unten links um ca. 1-2 cm versetzt und nicht wie immer bündig mit dem Rand.

Es gibt zur alten Version mit der bisher alles lief nur kleinere Änderungen in der Firmenanschrift. Sonst ist der "Logobalken" verkürzt (nicht mehr vom Seitenrand zu Seitenrand) und zentriert. Außerdem gibt es ähnlich wie die Falzmarken in der Mitte links, auch jeweils 2 Striche in allen vier Ecken.

Kann es sein, dass der PDFCreator versucht alle Grafiken des Hintergrundes bündig mit dem Seitenrand zu positionieren? Oder ein Problem mit den Eckemarkierungen hat?

Möchte einfach nur eine PDF erzeugen mit dem Briefpapier-PDF als Hintergrund.

Danke für die Hilfe.

Thomas

Posts: 2

Participants: 2

Read full topic

Viewing all 2633 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>