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

EmailSmtp Settings Not Recognized

$
0
0

@gmaxey wrote:

I have been experimenting with the COM interface settings from Microsoft Word with VBA. I have been able to 1) print a document to a PDF file, 2) Print a document to a PDF file and attach the PDF file to a email using the Email Client. However, when I try to 3) print a document to a PDF file and send as an attachment using the EmailSmtp settings I am getting a runtime error on each statement that includes the EmailSmtp settings defined in the documentation.

'Email client settings.
If bEmailWithClient Then
'These all work as described
.SetProfileSetting "EmailClientSettings.Enabled", bEmailWithClient 'Enables the EmailClient action
.SetProfileSetting "EmailClientSettings.Recipients", strRecipients 'Recipients separated with ;
.SetProfileSetting "EmailClientSettings.Subject", strEmailSubj 'Subject line of the E-mail
.SetProfileSetting "EmailClientSettings.Content", strEmailBody 'Body text of the E-mail
.SetProfileSetting "EmailClientSettings.AddSignature", bEmailAddPDFSig
End If
'Email smtp settings
If bEmailWithSMTP Then
'Even though these settings are in the documentation, they aren't recognized.
'All resulting in a Run Time Errors e.g., "The property "EmailSmpt.Enabled" does not exist!
.SetProfileSetting "EmailSmtp.Enabled", bEmailWithSMTP
.SetProfileSetting "EmailSmtp.UserName", UserName
.SetProfileSetting "EmailSmtp.Password", ServerPW 'Password that is used to authenticate at the server
.SetProfileSetting "EmailSmtp.Port", Port
'and so on

Can anyone suggest what I might be doing wrong? End If

Posts: 1

Participants: 1

Read full topic


Separate PDF for each page?

$
0
0

@hatnel wrote:

Hi,

i would like to know how can i save in PDFcreator each page separate from one source which has for example 20pages.
Can anyone help me with this ?

Thanks a lot.
Best regards,
Hatnel

Posts: 2

Participants: 2

Read full topic

PDFCreator printing problem when im trying to convert to pdf

$
0
0

@nikmagashi wrote:

Hello there,

Recently I am having a problem when I print documents to PDFCreator 2.4. I had 1.7 before and i had not this problem then. The problem that I am facing is that when I print a page the text that is inside the cells goes outside the cells when it gets printed in PDF..

It looks something like this:

I have try to change the settings for the page, margins etc but anything has solved my issue yet.

Has anyone seen this before that can help me with this :slight_smile:

Posts: 3

Participants: 2

Read full topic

Create a PDF file from IBM Notes Document lotusscript

$
0
0

@fmerlet wrote:

Hello,

Now i have the last version of PDF Creator and my Lotusscript agent doesn't working.
It was working fine with the version 1.7 of PDF Creator.

here the code :

Set PDFCreator = CreateObject("PDFCreator.clsPDFCreator")

If PDFCreator Is Nothing Then
MsgBox "Vérifier que PDFCreator est bien installé sur votre pc",,"PDFCreator n'est pas détecté"
End If

If Not PDFCreator.cStart("",True) GoTo processError

PDFCreator.cPrinterStop = True
PDFCreator.cClearCache
If mode = "liste_select" Then 'on a plusieurs docs sélectionnés
Set doc = collection.GetFirstDocument
Set uidoc = workspace.EditDocument(True, doc) 'on ouvre le premier en mode Edition
ElseIf mode = "liste" Then 'le mail n'est pas ouvert
Set uidoc = workspace.EditDocument(True) 'on l'ouvre en mode Edition
Else 'le mail est ouvert
Set doc = workspace.CurrentDocument.Document
Set uidoc = workspace.EditDocument(True, doc) 'on le ré-ouvre en mode Edition
End If
debut:
emetteur = uidoc.FieldGetText("From")
intitule = uidoc.FieldGetText("Subject")
'20 premiers caractères de l'émetteur - + les premiers caractères de l'intitulé pour faire max 100

'impression PDF
Dim PrinterPath As String
PrinterPath = "PDFCreator"
On Error GoTo impressionImpossible
Call uidoc.Print(1, 0, 0, False, PrinterPath)
On Error Resume Next
suite:
'fermeture du mail en mode Edition
Call uidoc.Close
If mode = "liste_select" Then 'si on a plusieurs docs
Set doc = collection.GetNextDocument (doc)
If Not doc Is Nothing Then 's'il en reste
Set uidoc = workspace.EditDocument(True, doc) 'on ouvre le suivant en mode Edition
GoTo debut
End If
End If
If nbdoc >0 Then
Do Until PDFCreator.cCountOfPrintjobs = nbdoc
Loop
With PDFCreator
.Ccombineall
.cOption("UseAutosave") = 1
.cOption("UseAutosaveDirectory") = 1
.coption("AutosaveDirectory")=spdfpath
.cOption("AutosaveFilename") = nomfichier & ".pdf"
.cOption("AutosaveFormat") = 0
End With
PDFCreator.cPrinterStop = False
While PDFCreator.cCountOfPrintjobs > 0
Sleep 1
Wend
End If
PDFCreator.cClose
testVide = False
Do Until testVide = True
Call deplace(testVide,spdfpath)
Loop
objFSO.DeleteFolder(spdfpath & temppath)
Exit Sub
impressionImpossible:
nbdoc = nbdoc-1
GoTo suite
fin:
Exit Sub
processError:
MsgBox "Vérifier que PDFCreator est bien installé sur votre pc",,"Fonctionnalité PDF n'est pas opérationnelle"
Print "Error: "+Error()+" Line: "+Cstr(Erl)
Resume fin

End Sub

Sub doublon(objFSO, debutNom, extension)
If Right(debutNom, 1) <> "." Then
Call doublon(objFSO, Left(debutNom, Len(debutNom)-1), Right(debutNom, 1) & extension)
ElseIf Left(Right(debutNom, 4),1) = "(" And IsNumeric(Left(Right(debutNom, 3),1)) And _
Left(Right(debutNom, 2),1) = ")" Then
objFSO.MoveFile debutNom & extension, Left(debutNom, Len(debutNom) - 4) & "(" & _
Left(Right(debutNom, 3),1) +1 & ")." & extension
ElseIf Left(Right(debutNom, 5),1) = "(" And IsNumeric(Left(Right(debutNom, 4),2)) And _
Left(Right(debutNom, 2),1) = ")" Then
objFSO.MoveFile debutNom & extension, Left(debutNom, Len(debutNom) - 5) & "(" & _
Left(Right(debutNom, 4),2) +1 & ")." & extension
Else
objFSO.MoveFile debutNom & extension, Left(debutNom, Len(debutNom)-1) & " (1)." & extension
End If
End Sub

What is the difference for it's working with the new version ?

Posts: 2

Participants: 2

Read full topic

Couldn't import TypeLibrary to C++Builder 6 and C++Bulder 2010

$
0
0

@Lixer wrote:

Hello,

When compiling got errors :
[C++ Error] PDFCreator_COM_TLB.h(89): E2178 VIRDEF name conflict for 'CLSID_Queue'
[C++ Warning] PDFCreator_COM_TLB.h(148): W8017 Redefinition of 'LIBID_OF_Queue' is not identical

PDFCreator version 2.5.1

Posts: 1

Participants: 1

Read full topic

Obligatory Auto-Rotate - We need "No rotate" option

$
0
0

@vinirockman wrote:

I have a major problem here that no setting can solve.

Every time that I combine two documents that have Portrait AND Landscape pages inside, the Auto Rotate always force them to all be the same setting: portrait OR landscape. If I set portrait, it won't work for me, because it will rotate pages that shouldn't be rotated. The same goes when set landscape... (as much as auto-detect/auto-rotate that doesn't work properly)

So, there's no option to ignore orientation of the pages and respect the original orientation...

We need this option!

The lack of this option forces me to rotate pages manually after print, because PDF Creator put them all in the same orientation.

PDFCreator should, definitively, have an option to respect the original orientation (to allow mix portrait and landscape when printing files with different orientation).

Posts: 1

Participants: 1

Read full topic

OverFlow Error when converting JPG to PDF

$
0
0

@MatD wrote:

Hello everyone,

I would like to ask for your help. When converting JPG to PDF i got the following Error:

ERROR DESCRIPTION:
Error-Nr: 6 (Overflow)
Modul: modImage2PS
Procedure: ConvertJPEGImage
Line: 50410
Date/Time: 03-06-2017 / 14:15:03

Line 50410 refers to function:

50410 fLen = GetFileLength(sourceFileName)

Did anyone get similar error? Thanks for answers!

Posts: 3

Participants: 2

Read full topic

COM Interface Settings: Signature Icon

$
0
0

@Yeke wrote:

Hello
Is it possible to change the printed signature icon when setting DisplaySignatureInDocument to true
TIA

Posts: 2

Participants: 2

Read full topic


Installer PDFCreator 2.3

$
0
0

@AlessioFotom wrote:

Thanks for your attention.

I'm looking for PDFCreator 2.3 installer, I need to downgrade my current version.
Anyone can help me with a link to download?

Really appreciate

Thank you
Alessio from Italy

Posts: 2

Participants: 2

Read full topic

Bad Print Out. Possible bug

$
0
0

@p856 wrote:

In using a program called Kicad for circuit boards I attempted to print to pdf using pdfcreator. The print is atrocious as can be seen in the screenshot I included. If I print to a physical printer from Kicad all is fine so there is a problem with pdfcreator. I also tried all profiles included, as well as downloaded the latest creator with same results.

Posts: 1

Participants: 1

Read full topic

PDFCreator always says license is expired and makes me reactivate every day

$
0
0

@Undegaussable wrote:

We are running the latest PDF creator on a Server 2012 R2 installation. We have the terminal server license, and have activated it successfully. It seems like every day though, when we open PDFCreator it tells us that the license has expired and we have to run online activation again (which uses the same key and activates successfully every time). If there's a way to not make this pop up every day, I would love to know the fix or workaround, thanks!

Posts: 1

Participants: 1

Read full topic

Problem with adding watermark / letterhead and then printing PDF

$
0
0

@SebBruening wrote:

Hello everyone,

I am having some trouble with automating the process of converting a file to pdf, merging it with a second pdf containing a letterhead (as a watermark) and then printing it on a pre defined printer. (In my case GFI Faxmaker, but printing on a physical printer makes no difference to the problem, I tried.)

I am using the most recent version of PDFCreator.

I think I configured the options for the profile I am planning to use correctly. The pdf file with content and watermark is being saved in the right location and looks fine.

But the file being sent to the printer misses the watermark.

What am I missing?

Thx in advance

Posts: 1

Participants: 1

Read full topic

PDFCreator 2.5.1

$
0
0

@edc2014 wrote:

Does PDFCreator no longer support server install mode? I tried installing the latest version 2.5.1 on a x64 client, chose expert settings, and there's no server install mode which means I was only able to install the x64 driver and not the x32 driver with it. How can i load the 32 bit driver on 2.5.1 on x64 Clients?

Posts: 1

Participants: 1

Read full topic

Printing a report from MS Visual Foxpro as pdf file

$
0
0

@gcjm wrote:

Out of Microsoft Visual Foxpro (VFP), I can print a report to the printer "PDFCreator". I determine the PDF Creator output directory for the pdf output file in the PDF creator options. This works perfect!

My need is to determine the pdf file name before every printing process. This time, the file names are like by the set tokens. But I would need a name not dependent from the tokens.

In VFP, a print command looks like:
REPORT FORM c:\myform TO PRINTER
whereby the PRINTER is set to the printer PDFCreator.

Another possibility is to start a "DOS command" like
RUN pdfcreator.exe runtime-parameters

Do you see a possiblity to set a different output pdf file name for every printing?

Thank you!
gcjm

Posts: 1

Participants: 1

Read full topic

ConvertTo - Object reference not set to an instance of an object (C#.NET)

$
0
0

@Josh1 wrote:

I am using the example code in the directory 'PDFCreator\COM Scripts\C#.Net\COM_TestForm\COM_TestForm.sln', and for some reason I am getting an error on the line 'printJob.ConvertTo(convertedFilePath);' saying "Object reference not set to an instance of an object". This error occurs when you click each of the 5 buttons, the code for the 'TestPage2PDF' is shown below.

I have seen a couple of other threads having the same issue, and I have tried the suggestion from another thread of changing the file path to My Documents with no sucess, is there a known fix for this yet?

using pdfforge.PDFCreator.UI.COM;

namespace COM_TestForm
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

    private void testPage_btn_Click(object sender, EventArgs e)
    {
        var jobQueue = new Queue();

        var assemblyDir = Assembly.GetExecutingAssembly().Location;
        var resultsDir = assemblyDir.Replace("\\bin\\Debug\\COM_TestForm.exe", "\\Results");
        var convertedFilePath = Path.Combine(resultsDir, "TestPage_2PDF.pdf");

        try
        {
            MessageBox.Show("Initializing the job queue");
            jobQueue.Initialize();

            MessageBox.Show("Printing windows test page...");
            PrintWindowsTestPage();

            if (!jobQueue.WaitForJob(10))
            {
                MessageBox.Show("The job didn't arrive within 10 seconds");
            }
            else
            {
                MessageBox.Show("Currently there are " + jobQueue.Count + " job(s) in the queue");
                MessageBox.Show("Getting job instance");
                PrintJob printJob = jobQueue.NextJob;

                printJob.SetProfileByGuid("DefaultGuid");

                MessageBox.Show("Converting under DefaultGuid");
                printJob.ConvertTo(convertedFilePath);


                if (!printJob.IsFinished || !printJob.IsSuccessful)
                {
                    MessageBox.Show("Could not convert: ");
                }
                else
                {
                    MessageBox.Show("The conversion was succesful!");
                }
            }
        }
        catch (Exception err)
        {
            MessageBox.Show("An error occured: " + err.Message);
        }
        finally
        {
            MessageBox.Show("Releasing the queue object");
            jobQueue.ReleaseCom();
        }
    }

}
}

Posts: 1

Participants: 1

Read full topic


How to group option fields

$
0
0

@spade wrote:

I've put three option field on a form and like to group them so that only one can stay on at a given time. How do I do that?

The manual says: "You can add several radio buttons grouped together once the Radio button is checked." but it doesn't tell how to do that

I can't find any option that looks like it would help with that. Did I overlook something?

Posts: 1

Participants: 1

Read full topic

PDF1A Output Format Ignores Security Settings

$
0
0

@gmaxey wrote:

Hi,

I have been doing some work with your com settings to print Word documents to PDF using PDFCreator. All has gone well until yesterday when I noticed that if I set the pdf save format to PDF1A (not tested but perhaps PDF1A and PDFX as well) vice simply PDF then any security settings I apply are simply ignored. E.g., if I set the option not to allow printing then I would expect that the pdf created couldn't be printed. Unfortunately it can be printed!!

Thinking it could be an issue with my code, I printed directly from your interface with the same settings and there also the security features I set were ignored.

Is this a bug, or by design. I am not that familiar with pdf formats, however, if this is by design (that PDFA1 can't have security features) then your software provides a false sense of security by showing the ability to set those features.

Please advise

.

Posts: 1

Participants: 1

Read full topic

Trouble with RegEx Title Replacement

$
0
0

@JayV wrote:

I'm struggling with a Title Replacement filter using RegEx.

With End, Start, and Replace Types I can create search text and leave the box under "Replace with" blank to basically delete those Search text's from the title.

With a RegEx type I can create Search text but I can't leave "Replace with" blank.

For example, if my Search text is a RegEx type and contains [^\w] and the Replace with is an x then all non alpha-numeric and underscores are replaced with an x. Pretty much as expected. If Replace with is blank then nothing happens.

Am I misunderstanding how the RegEx type filters for Title Replacements should be used?

Thanks,
Jay

Posts: 3

Participants: 2

Read full topic

PDF Architect 4 - Professional Package License Reuse on New Laptop

$
0
0

@thomolar wrote:

Hello Support,

I bought a PDF Architect 4 - Professional Package package license on the 29th of March, 2016. I used it briefly on a laptop that has since crashed.

I am trying to use it on my new laptop now but I am getting a errors. Screenshots are attached here.

I sent help request on your Support Web Form last Friday but have not received any response since. I have again sent an email to support(at)pdfforge(dot)org with license details.

Regards,
Oluyinka Thomas.

Posts: 1

Participants: 1

Read full topic

Cannot install v2.5.1 on Win2K3 server

$
0
0

@wandy wrote:

I need to have PDFCreator on a Windows 2003 server (32bit). I know, it's discontinued, but still, there's that need.

Executing PDFCreator-2_5_1-Setup.exe on the server does... nothing! No messages, no task in task manager, nothing. I also tried the setup of v2.4.1 and v2.2.2. The same thing. Also, no messages in the Event Viewer. .Net from 2.0 up to 4.0 are installed.

Any ideas on what else to check?

Posts: 7

Participants: 2

Read full topic

Viewing all 1250 articles
Browse latest View live