Problems with Windows 2008/Vista x64

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
neversaid
Posts: 1
Joined: Thu Jan 15 2009

Problems with Windows 2008/Vista x64

Post by neversaid »

Dear Support Team,

we're using your product in our VFP Application (PDF Converter V. 3.03 - latest).
After solving the common problems (access to registry, map Printer port to new Port NUL:).
The printer is registred and can print a windows testsite (created in normal speed, about 1 sec)

We have a very big problem.

We communicate with the Printer via ActiveX Interface. Heres a short code:
(Printer is installed an licenced success fully)

Code: Select all

lcPrinter = UPPER("AMYUNI")
lcOutput = "C:\MyDay\Report_01012002.pdf"

loPrinter =CreateObject("CDIntfEx.CDIntfEx")
lnReturn = loPrinter.DriverInit("Amyuni")

loPrinter.FileNameOptionsEx = 1 + 2 +200+8000+200000+400000
loPrinter.DefaultFileName = lcOutPut

Set Printer To Name (lcPrinter)

Report Form anual_sales.frx to PRinter 

loPrinter.RestoreDefaultPrinter()
loPrinter.FileNameOptions = 0
loPrinter.DriverEnd()
(Code is Visual Foxpro)

The Printer initalisied successfully (lnReturn = 0) and sets the options.
But when we try to print follwing problems occur:
- Sometimes the dialog Window is show where to save the pdf
- PDFs are printer very slowly (takes about 1 Minute till the pdf is produced)
- PDF Print jobs stuck in Printer Queue

The Printer works fine on Windows XP oder Windows 2003 Server (all x32) but on x64 we have those problems.

Thanks in advance!
David
Amyuni Team
Posts: 89
Joined: Mon Dec 18 2006

Re: Problems with Windows 2008/Vista x64

Post by David »

Hello

Below are a few things that you need to check to resolve the issue that you are encountering:

1) The PDF Converter driver functions by reading and writing printer settings to the registry. All users of the PDF Converter must have at least read/write privileges to the following keys in the registry and if the user does not have access the conversion process will fail.

HKEY_CURRENT_CONFIG\Software\<Printer Name>
HKEY_CURRENT_CONFIG\Software

2) Printing can become slow when you have the broadcast messages option enabled. The broadcast messages will send a message to every application that is running on the system and will wait for acknowledgement.

3) You need to call the enableprinter() everytime that you send output to the printer e.g.

loPrinter.DefaultFileName = lcOutPut
loPrinter.FileNameOptionsEx = 1 + 2 +200+8000+200000+400000

Set Printer To Name (lcPrinter)

loPrinter.EnablePrinter("Developer License","07ABCDA0ABCDABCDABCD012301230123.....".")

Report Form anual_sales.frx to PRinter

4) Can you also double check that the printer is indeed attached to the NUL: port when printing under 64bit.

Lastly, we just updated the build that is available on our site to automatically create the NUL: port when installing under 64bits.

Hope that helps?

David
Amyuni Custom Development
Do you need a specific PDF solution? Are you looking for expertise that will enable you to start or complete a PDF integration project?
http://www.amyuni.com/en/company/services.php
Post Reply