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

PDFCreator COM - Default Printer - Remote Desktop

$
0
0

@sreg wrote:

I am using PDF Creator for Terminal Servers.
I create a PDF through a VBA script that uses the COM interface.

Question 1:
Can I specify in code which printer the COM object should use?
Now, I can change the default printer before and after the code executes.

Question 2:
Why Is this behavior occurring:
I have a PDFCreator on the server, but also a PDFCreator on my client.
I connect via RDP (Remote Desktop) to the server. My PDF Creator on my client is mapped on the server and set as Default Printer. The code below is executed on the server and I want the PDF to be printed on the server.
When I try the code below, the job in put in the queue of my local client, not the server.

Set queue = CreateObject("PDFCreator.JobQueue")
Set printJob = queue.NextJob
queue.Initialize
'do actual printing
queue.WaitForJob(15)
Set printJob = queue.NextJob
printJob.SetProfileByGuid ("DefaultGuid")
printJob.ConvertTo ("c:\temp\file.pdf")

Posts: 2

Participants: 2

Read full topic


Ghostscript gswin32s.exe error

$
0
0

@ScottBallinger wrote:

We are getting this error "gswin32c.exe has stopped working" intermittently when printing w/Autosave. PDFCreator 2.4, Win7 SP1.

Posts: 2

Participants: 2

Read full topic

Print PDF with inner margin bigger than outer margin

$
0
0

@gruntel wrote:

I am trying to print a PDF for book publishing. the inner margin needs to be bigger than the outer margin. This alternates between even and odd pages, so I can't just make the margin offset for all pages. Any way to do this?
many thanks

Posts: 3

Participants: 2

Read full topic

Empty data pdf file

Problems with usage for RTV Xporter

$
0
0

@wolfgangkopp wrote:

Hello,

RTV Xporter is a tool for Revit and recommends PDFCreator as it's printer. The goal is to create PDF files of a serious of sheets where the sheet number will be the filename of the created PDF automatically without any further input.

The problem is that PDFCreator still asks for each file a location and name.

Is there a setting I overlook or is there a "paid" PDFCreator which would be able to do that?

Thanks in advance,
wolfgang

Posts: 2

Participants: 2

Read full topic

WaitForJob Never Succeeds

$
0
0

@sbart16 wrote:

I'm writing new, very basic code to intercept a print job and create a PDF from it. My WaitForJob statement never succeeds, even with a 120 second wait time. In the migration flowchart, it simply says "Print a file that you want to convert". Can someone elaborate on this?

  • Can/Does PDF Creator watch the queue for the default Windows Printer? Where is it watching?
  • Does the Default Windows Printer have to be PDF Creator?

I'm obviously missing something. Any help is appreciated.

Posts: 1

Participants: 1

Read full topic

PDFCreator - Page Orientation Solved :-)

$
0
0

@theDuck01 wrote:

Hi,

I really need to create landscape slides (PDFs) from landscape printing from a vb.net application. Unfortunately, for the last 5 years, PDFCreator always decided to print the PDF's with a portrait orientation. I then turn them using a Web PDF Rotation service.

So I had a look under the bonnet of PDFCreator and realised it is little more than a wrapper around a product called Ghostscript. More reading suggested the Ghostscript's autorotatepages function was struggling and needed a hand. Lots of reading of the Postscript Manuals left me realising that I need PDFCreator to read this line of Postscript:

-c "<</Orientation 3>> setpagedevice"

I set the "Additional Ghostscript parameters" textbox in PDFCreator and tried again. Still no luck!

I searched for other approaches and found this:

<< 
 /EndPage 
 { exch pop 2 ne 
   { [{ThisPage} <</Rotate 90>> /PUT pdfmark true} 
 {false}ifelse 
 } 
>>setpagedevice

I could see no way to prefix this with a "-c" so I saved it in a file called rotate.ps, in the "C:\Program Files\PDFCreator\GS9.10\gs9.10\Lib" folder and put rotate.ps in the Additional Ghostscript parameters" textbox.

This time I had success. The output from my application reliably produces landscape output from a landscape original.

Whats more if <> setpagedevice is put into the rotate.ps file this works too!

So like buses, I now have two different, but functional solutions.

I would be grateful if a pdfforge engineer, a Ghostscript engineer or a postscript professional would comment.

Thanks

Posts: 1

Participants: 1

Read full topic

Programmatically detect installed version

$
0
0

@seek78 wrote:

Hi all,
I must detect the PDFCreator version installed in the Win client, it's possible to do it via COM?
Or I must read from registry?
There is a way to know the differeces about it from 1.X to 2.X?

Thanks all

Posts: 2

Participants: 2

Read full topic


Error queue.WaitForJob

$
0
0

@BereniceMG wrote:

Hello:

I have this error: The interaction pdfforge.PDFCreator.UI.Interactions.MainWindowInteraction was not registered with a view!

already delete the version 2.5.3 and download the version 2.4 but still I still leave the error, could you help me? I need something else

This is my code:

        Type queueType = Type.GetTypeFromProgID("PDFCreator.JobQueue");
        dynamic queue = Activator.CreateInstance(queueType);
        //Sets up the path where the converted pdf file should be saved in
        string archimagen = @"C:\Trabajo\pdfcreator.png";
        //var fullPath = @"C:\Trabajo\I41189.pdf";
        //string impresora = "PDFCreator";
        queue.Initialize();
        // add more logic here

        //queue.AddFileToQueue("C:\\Trabajo\\I41189.pdf");
        //PrintWindowsTestPage();

        System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo();
        info.FileName = "C:\\Program Files\\PDFCreator\\PDFCreator.exe";
        info.Verb = "printto";
        info.Arguments = @"/t ""C:\\Trabajo\\Log.txt"" ""PDFCreator""";
        info.CreateNoWindow = true;
        info.RedirectStandardOutput = true;
        info.UseShellExecute = false;
        System.Diagnostics.Process myProcess = System.Diagnostics.Process.Start(info);
        myProcess.WaitForExit();
     
        //string pathToExecutable = "C:\\Program Files\\PDFCreator\\PDFCreator.exe";
        //RunExecutable(pathToExecutable, @"/t ""C:\\Trabajo\\Log.txt"" ""PDFCreator""");                   

        if (!queue.WaitForJob(10))
        {
            MessageBox.Show("The print job did not reach the queue within 10 seconds");
        }

        //oProc.Close();

        var job = queue.NextJob;

        job.SetProfileByGuid("PngGuid");
        job.SetProfileSetting("PngSettings.Color", "Gray8Bit");
        job.SetProfileSetting("PngSettings.Dpi", "300");

        //job.SetProfileByGuid("DefaultGuid"); 
        
        //fullPath was introduced above
        job.ConvertTo(archimagen);

        if (!job.IsFinished || !job.IsSuccessful)
        {
            MessageBox.Show("Error en el proceso");
        }

        job.ReleaseCom();

        MessageBox.Show("Termino PDF Creator");

Thank you so much

Posts: 2

Participants: 2

Read full topic

Disable PopUp purpose application and profil at opening

$
0
0

@Kik_Kiook wrote:

Hello,

I want disable by regedit if it's possible the popup who purpose the parameters of application or profils when i open PDF creator each time like you can see in the picture.

Thanks for your help :slight_smile:

Posts: 1

Participants: 1

Read full topic

Internal Ghostscript Error when converting from .docx

$
0
0

@peter23 wrote:

Hello guys!

I'm having troubles printing some .docx files to PDF Creator.
I went through all Internal Ghostscript Error topics but wasn't able to find any solution.

I set error log to trace and here is what I get:
2017-07-06 13:39:47.7816 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.Ghostscript_Logging: GPL Ghostscript 9.11 (2013-08-30)
2017-07-06 13:39:47.7816 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.Ghostscript_Logging: Copyright (C) 2013 Artifex Software, Inc. All rights reserved.
2017-07-06 13:39:47.7816 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.Ghostscript_Logging: This software comes with NO WARRANTY: see the file PUBLIC for details.
2017-07-06 13:39:47.8676 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.Ghostscript_Logging: Loading NimbusMonL-Regu font from %rom%Resource/Font/NimbusMonL-Regu... 3678736 2125032 1841560 463004 1 done.
2017-07-06 13:39:47.8856 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.Ghostscript_Logging: %%[ ProductName: GPL Ghostscript ]
2017-07-06 13:39:47.8856 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.Ghostscript_Logging: %%
2017-07-06 13:39:47.8916 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.Ghostscript_Logging: %%[ Error: undefined; OffendingCommand: &n11WdPreprinted ]
2017-07-06 13:39:47.8916 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.Ghostscript_Logging: %%
2017-07-06 13:39:47.9066 [Trace] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.RunJobWork: Finished Ghostscript execution
2017-07-06 13:39:47.9066 [Error] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.RunJobWork: Ghostscript execution failed:

2017-07-06 13:39:47.9066 [Error] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.AbstractJob.RunJob: Executing Ghostscript failed
2017-07-06 13:40:02.1836 [Debug] 7496-12 (ProcessingThread) pdfforge.PDFCreator.Core.Jobs.AbstractJob.CleanUp: Cleaning up after the job
2017-07-06 13:40:02.1836 [Trace] 7496-12 (ProcessingThread) pdfforge.PDFCreator.JobRunner.ProcessJobs: Removing job from Queue

I've tested these files in several computers and with 2.1.2 and 2.3.2 versions. OS is Windows 7.
Any ideas what this offending command could be?

Posts: 1

Participants: 1

Read full topic

Loses default settings for no reason

$
0
0

@Alpine wrote:

Program works great for a few days then it reverts all of the settings back to when it was installed. Have it set to auto save, email and have to reenter all of this. Haven't noticed any errors in error log when this happens either. Getting quite frustrated with it.

Posts: 2

Participants: 2

Read full topic

License question

$
0
0

@dlarson wrote:

Regarding PDF creator, in our Test environment PDF creator works fine. When I tried to move it to the production server, I got an error that because Terminal Services is installed on the Server we need to purchase the terminal services license. Terminal services is installed to allow both developers and admins access the production server simultaneously. The server is not being used by multiple users to access PDF creator. Just our business process that runs on the server. Is the increased licensing costs truly necessary for such an environment?

Posts: 1

Participants: 1

Read full topic

License problems

$
0
0

@zaagje0488 wrote:

Hello,

We have installed PDFCreator Terminal Server version 2.3.1.

Yesterday our customer starts PDF Creator and the get the error that the license is not valid.

Do the need to renew the license every year?

Can you help us what to do?

Posts: 4

Participants: 3

Read full topic

PDFCreator-Server 2.3.0 X86 drivers

$
0
0

@Mark_W wrote:

Hi! I have a 30-day trial install for PDF Creator Server 2.3. I installed it on a 64bit server. I can not find any options for X86 32bit drivers during the install or config. I have searched the local install folders and did not find any INF files that would work either. I need to be able to install this on an X86 or X64 machine (i don't care which ever works best as per your suggestions) bt I need both x86 and x64 machines to be able to print to the shared PDF printer, how can I accomplish this?

Posts: 1

Participants: 1

Read full topic


Renewal license temporary

$
0
0

@stevenhogeweij wrote:

Hi,

I have a question regarding the license for three terminal servers. We are currently in a project to move from a Terminal Server situation to a VDI environment and the fact is that the current Terminal licenses will expire on 26-07. Probably the transition to VDI will be somewhere in august this year. Is it possible to reuse a renewal for the Terminal server to a single licenses (Business) edition? Or can you offer us a temporary license for the terminal servers so we can bridge these few weeks? I hope to hear from you soon. Many thanks an best regards,

Steven Hogeweij

Posts: 2

Participants: 2

Read full topic

Ghostprint Error

$
0
0

@MMcKeever wrote:

Trying to use PDF Creator to print invoices from CommandAlkon. I created a Printer and a profile for one of the companies within our group of companies. I am able to use the profile to print and email .txt files and .docx files. I'm not fully familiar with the format of the invoice print jobs from our software but when I try to print, I get the '29100 - Internal Ghostprint' error. Below is an example of the error captured in the log file. Any insights or workarounds would be appreciated.

2017-07-18 15:56:30.7549 [Error] pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion: There was a Ghostscript error while converting the Job C:\Users\rizumi\AppData\Local\Temp\PDFCreator\Spool\7-3844BD70AEC648DCB967A3E651CCFFD4.inf: pdfforge.PDFCreator.Conversion.Jobs.ProcessingException: Ghostscript execution failed: Error: /undefined in Ee
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1967 1 3 %oparray_pop 1966 1 3 %oparray_pop 1950 1 3 %oparray_pop 1836 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1221/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
Current allocation mode is local
Current file position is 3

Thanks

Posts: 1

Participants: 1

Read full topic

PDF Creator Server / Printer Driver needed

$
0
0

@Berendsohn wrote:

Hi there,

since we installed Windows Update KB4025341 on our Clients, they get the message that the Printer Driver must be updatet.

So we installed on our Printserver the newest PDF Creator Server Version, but the Problem is still there. Is there a way to get the newest PDFCreator Printer Drivers so we can deploy it on our clients.

Posts: 1

Participants: 1

Read full topic

PDF Creator on Windows XP Prints Once and Then Hangs

$
0
0

@LivingAwake wrote:

We have PDF Creator installed on a Siteground cloud-based Windows XP server. We have used it on the server for over 5 years.

Recently, about 6 weeks right after Windows sent out an update in response to a virus PDF Creator started having issues. It prints once and then somehow hangs up. It does not show in the print queue though. It will not print a document again.

Then if we soft reboot the Windows XP server, it will print again and then hang up again for the next print.

Both Siteground tech support and our company's tech support are saying it is a conflict issue with PDF Creator communicating to the Windows print setup.

I have installed and reinstalled PDF Creator several times. And it does not make a difference. We have also used CCleaner to uninstall leftover files and clean the registry.

Has anyone experience this issue since the last Windows update? or any suggestions on how to resolve it? or has PDF Forge had this happen to others in the past month or so and can advise on what to do?

By the way, we did test using Win2PDF and CutePDF and they are working fine so it definitely is a PDF Creator issue. Please help! We would much rather use PDF Creator.

Posts: 1

Participants: 1

Read full topic

Activation issue

$
0
0

@Gerald1 wrote:

Hello,

We recently purchased PDFCreator Terminal Server. We run version 2.5.2 on a citrix xenapp 6.5 server with windows 2008 R2.

At this moment we have to reactive the PDF Creator license every day. This is because we are running citrix with provisioning services which means the servers are in read only mode and all changes are gone after a reboot (which is every night).

I can probably do the activation in the master image but if the activation expires every 2 weeks this will consume alot of time. Also since the license is valid for 1 year i don't get why the activation needs to be done every 2 weeks. Is there any solution so the activation doesn't have to be done every 2 weeks?

With Kind Regards,

Gerald

Posts: 1

Participants: 1

Read full topic

Viewing all 1241 articles
Browse latest View live