Windows Server 2003, Magic eDeveloper.
I have installed the Developer trial and followed the instructions in Common Driver Interface 210.pdf using PDFDriverInit.
When I run my print program, the printer is created in the Windows dialog and disappears after some time, as it should. However, no pdf file is output and no error message is generated. When I change the output to Console in my program, the output appears as it should.
The other commands I am using are:
SetDefaultFilename
SetFileNameOptions
EnablePrinter (in print program)
Any ideas on what could be wrong?
Printer created, but no output
are you calling EnablePrinter right before each printout?
If you are, than please contact support@amyuni.com with further details about this issue and maybe a copy of your code so we can trace this.
If you are, than please contact support@amyuni.com with further details about this issue and maybe a copy of your code so we can trace this.
Yes. At the beginning of my application I am calling PDFDriverInit with a printer name of 'IC_PDF' and it is returning a positive integer as well as creating the printer in the Windows/Printer dialog.
Immediately before printing, I am calling a subroutine that executes three calls:
SetDefaultFileName (C:\test.pdf) - return=1
SetFileNameOptions (3) - return=1
EnablePrinter - return=1
Then I print. If output is directed to a file, a file is generated. If I output to 'IC_PDF' nothing is generated.
Immediately before printing, I am calling a subroutine that executes three calls:
SetDefaultFileName (C:\test.pdf) - return=1
SetFileNameOptions (3) - return=1
EnablePrinter - return=1
Then I print. If output is directed to a file, a file is generated. If I output to 'IC_PDF' nothing is generated.
Hello,
What is happening with you is unexpected. In the situation you mentioned, if the output is directed to the printer you should get a pdf file.
If you are still facing problems please contact support@amyuni.com
Thanks.
What is happening with you is unexpected. In the situation you mentioned, if the output is directed to the printer you should get a pdf file.
If you are still facing problems please contact support@amyuni.com
Thanks.