Hi to everibody. I just update to version 4.0 of amyuni pdf converter and I have this error message.
Printer not activated, error code -30
With the amyuni 3.0 don't occurs this error message.
I install the printer using install.exe -s "Amyuni PDF Converter" -n "My UserName" -c "My license Code"
An example of my code in visual foxpro
CREATE CURSOR Icu (nombre c(30),pob c(50))
INSERT INTO icu (nombre,pob) VALUES ("prueba","pobprueba")
lxFormato="c:\prueba.frx"
lxfichero="C:\prueba.pdf"
lxresolucion=150
xwait("Traspasando fichero a PDF...")
pdf=CreateObject("cdintfEx.cdintfEx")
nError=pdf.driverinit("Amyuni PDF Converter")
nError=pdf.EnablePrinter("My UserName","My License Code")
pdf.FileNameOptions=1+2+4+16+64+128
pdf.resolution=lxresolucion
pdf.setdefaultconfig()
set printer to name "Amyuni PDF Converter"
report form (lxformato) to FILE(lxfichero) noejec noconsole ((( Here is when give me the error message )))
PDF.RestoreDefaultPrinter()
set printer to
pdf.FileNameOptions=0
pdf.resolution=0
pdf.DriverEnd
xwait("Fichero PDF Traspasado")
The same code in amyuni 3.0 changing the username and license code for the 3.0 version, goes ok, I haven't got error and the pdf file is created very well.
¿¿What is the solution??
Thanks a lot
Printer not activated, error code -30
Re: Printer not activated, error code -30
Hello everibody
I find the solution
changing pdf=CreateObject("cdintfEx.cdintfEx") with pdf=CreateObject("cdintfEx.cdintfEx.4")
Bye...
I find the solution
changing pdf=CreateObject("cdintfEx.cdintfEx") with pdf=CreateObject("cdintfEx.cdintfEx.4")
Bye...
Re: Printer not activated, error code -30
Hi,
iam facing this same issue in my application. Iam using the amyuni PDF convertor 4.0.
When i try to convert a big HTML file to PDF , i am getting PRINTER NOT ACTIVATED error.
Please provide me the c#.net code to avoid this error.
Thanks
iam facing this same issue in my application. Iam using the amyuni PDF convertor 4.0.
When i try to convert a big HTML file to PDF , i am getting PRINTER NOT ACTIVATED error.
Please provide me the c#.net code to avoid this error.
Thanks