Unattended pdf creation on a schedule

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Unattended pdf creation on a schedule

Postby Walker » Wed Dec 03, 2008 7:53 pm

New to Bullzip and would like to use it to automatically print reports to pdf from Microsoft Navision without being logged in.
Navision has an Application Server which acts like a headless client for afterhours processing and so on. I got the Bullzip code working perfectly when I'm logged in, but when the scheduled time arrives and I'm NOT logged in then no pdf files are created and no errors are thrown. The NAS service that would call this routine runs under a windows account which is a local admin on the server and I explicitly set Bullzip as the default printer when the code runs.
Is this doable? Any suggestions as to what I can try?
Walker
 
Posts: 1
Joined: Wed Dec 03, 2008 7:45 pm

Re: Unattended pdf creation on a schedule

Postby michaelclark » Sat Jan 17, 2009 1:23 am

I have the same situation. I am using VB in MS-Access to run a report. The report outputs to a 'Specific Printer' which I set to the Bullzip pdf printer. This works fine when I am logged on to the server, but will not create the pdf files in unattended mode. Moderator, is there a solution to this? If so, I will use Billzip for two other projects. However, if there is no solution, i will have to look elsewhere. Either way, please let me know.
michaelclark
 
Posts: 1
Joined: Sat Jan 17, 2009 1:17 am

Re: Unattended pdf creation on a schedule

Postby nablodr » Thu Mar 05, 2009 9:07 pm

Is there a soluiton to this?
Quoted from a previous post:
I have the same situation. I am using VB in MS-Access to run a report. The report outputs to a 'Specific Printer' which I set to the Bullzip pdf printer. This works fine when I am logged on to the server, but will not create the pdf files in unattended mode.

the process works fine if you are logged in but I am trying to run it as a scheduled task and the PDFs don't go to the file/directory I request when run as a scheduled task. They end up on the desktop instead.
nablodr
 
Posts: 1
Joined: Thu Mar 05, 2009 9:01 pm

Re: Unattended pdf creation on a schedule

Postby jems » Thu Oct 22, 2009 3:43 am

Hi,

I was wondering if any of you actually managed to solve the problem. I am also facing a similar problem. I scheduled a task to be run at midnight to generate PDF files. When I tried running the program manually, it works. However, when I try to launch the program via task scheduler, the program still runs, but just does not generate any PDF files (not even to the desktop).

I am running Windows Server 2008 Edition and the I've specified the bullzip printer to print to a UNC path. (Is there a known problem with any of these settings? if yes, is there a workaround/solution to this?)

Any suggestions will do, thank you very much.
jems
 
Posts: 3
Joined: Thu Oct 22, 2009 3:32 am

Re: Unattended pdf creation on a schedule

Postby jems » Thu Oct 22, 2009 4:44 am

Hi,

It seems to be working for me now. I only needed to tick the "Run with highest privileges" option in the task scheduler (Under General tab of the task window). Hope this helps.
jems
 
Posts: 3
Joined: Thu Oct 22, 2009 3:32 am

Re: Unattended pdf creation on a schedule

Postby jems » Thu Oct 22, 2009 7:04 am

Hi,

I forgot to mention in my previous post, you would probably need administrative priviledge too. Running scheduled task only in highest privilege mode (but user is not part of administrators group) did not work for me. It ONLY worked for me when I set my user to be part of administrators group, and running the scheduled task in highest privilege mode.
jems
 
Posts: 3
Joined: Thu Oct 22, 2009 3:32 am

Re: Unattended pdf creation on a schedule

Postby GolfIT » Mon Jun 14, 2010 4:09 pm

Same problem on Windows 7 and Bullzip v.7.1.1195.
I've set the highest privileges in the Windows task scheduler, and I'm using a user with administrative rights.
Everything works also from the Task scheduler as long as I'm logged on. When I log of, I can see in the log files afterwards when I log on again that my script is executing just fine, there are absolutely no errors, the log shows the user is the Login user I specified in the task scheduler, runonce.ini is created bit no pdf is generated and runonce.ini is not being removed. It seems like bullzip is never started.
Any help would be very much appreciated.
GolfIT
 
Posts: 1
Joined: Mon Jun 14, 2010 4:02 pm

Re: Unattended pdf creation on a schedule

Postby jr » Mon Jun 14, 2010 8:56 pm

You can try some of the settings described at the link below. Please make sure you have a recent version of the printer before you try these settings.

http://www.biopdf.com/guide/examples/network_sharing/

Regards,
Jacob
jr
Site Admin
 
Posts: 491
Joined: Sun Mar 26, 2006 12:28 pm

Re: Unattended pdf creation on a schedule

Postby laura765 » Wed Oct 05, 2011 11:09 am

What happens if I go to the details tab of the pdfwriter printer driver and change the output port to "FILE".
What I expect is that a dialoge box pops up so I can enter a file name and it will be created.
I want to do this becuase I I writing a program for unattended creation of PDF files and I can set the file name property through the windows API If the output port is set to FILE
laura765
 
Posts: 1
Joined: Wed Oct 05, 2011 11:05 am


Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron