Error message: "Could not start print job"

If you are a VB developer and have questions about using our products from VB, here is the place to post them.

Error message: "Could not start print job"

Postby gerick on Mon Dec 10 2007

Hello

I was wondering if anybody could help me with this problem. I am using the the Amuni PDF Converter Version 2.51d developer edition. When running our application on a Windows 2003 Server 64 bit operating systerm and using the Amyuni PDF converter printer a "Could not start print job" error is produced. This works without errors on a 32 bit operating sytem.

[code] Set pdf2 = New CDIntfEx.CDIntfEx

' initialize PDF printer and set it as default
pdf2.DriverInit "Amyuni PDF Converter"

' set printer as default
pdf2.SetDefaultPrinter

' set default directory for PDF files
pdf2.DefaultDirectory = System.TempPath

' set default file name
pdf2.DefaultFileName = strPDFFileName

pdf2.HorizontalMargin = 0 '1 mm = .0393 in.
pdf2.VerticalMargin = 0

' set options
pdf2.FileNameOptions = NoPrompt + UseFileName

' Make the settings take effect
pdf2.SetDefaultConfig

pdf2.EnablePrinter GetAmyuniUserName, GetAmyuniActivationCode
[/code]

I have verified that the acfpdfuamd64.dll and acfpdfaiamd64.dll was installed.

Thanks
gerick
 
Posts: 4
Joined: Fri Dec 07 2007

Postby Joan on Tue Dec 11 2007

Hello,

Please check the following:

1 - That EnablePrinter is called right before your print command

2 - Please create a new local port on your system and add the PDF Printer to that port instead of the LPT1: port. This is a momentary workaround under 64-bits.

Hope this helps.
[size=150][color=#FF0000]Custom Brand the Amyuni PDF Printer Driver [/color][/size][color=#000080]http://www.amyuni.com/en/developer/branding/index.html[/color]

Amyuni PDF Converter tested for true PDF performance. View results - [color=#0040FF]http://www.amyuni.com/benchmark[/color]
Joan
Amyuni Team
 
Posts: 2799
Joined: Wed Sep 11 2002

Postby gerick on Mon Jan 07 2008

Thanks for your help. This works now if you are a user with administrative rights. If you are regular user who has rights to print, manage printers, and manage documents. The document goes into the print queue but fails to print. The application hangs when printing the document.

Do you have any suggestions?

Thanks
gerick
 
Posts: 4
Joined: Fri Dec 07 2007

Re: Error message: "Could not start print job"

Postby peterreay on Wed May 06 2009

Hi, does anyone know if this issue has been resolved in v4.0 so that we don't have to use this workaround?

Thanks
Pete
peterreay
 
Posts: 1
Joined: Tue May 05 2009

Re: Error message: "Could not start print job"

Postby Joan on Wed May 13 2009

Hello,

Please give write access to your users to the following key in the registry: HKEY Current Config -> Software -> Amyuni PDF Printer key.

Hope this helps.
[size=150][color=#FF0000]Custom Brand the Amyuni PDF Printer Driver [/color][/size][color=#000080]http://www.amyuni.com/en/developer/branding/index.html[/color]

Amyuni PDF Converter tested for true PDF performance. View results - [color=#0040FF]http://www.amyuni.com/benchmark[/color]
Joan
Amyuni Team
 
Posts: 2799
Joined: Wed Sep 11 2002


Return to Visual Basic Community

Who is online

Users browsing this forum: No registered users and 1 guest