Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: printer status
Started by nam at 06-26-2006 12:10. Topic has 11 replies.

Print Search « Previous Thread Next Thread »
  06-26-2006, 12:10
nam is not online. Last active: 6/28/2006 3:30:45 AM nam

Top 500 Posts
Joined on 05-15-2006
Posts 9
printer status
Reply Quote

Hello everybody,

Does anybody know what is the stage of the printer status: "sent to printer", "spooling", "printing". Sometime when our web application open a pdf file and send print command to ePrint printer, the ePrint does not convert that pdf to rtf, but the priting jobs stucked in the printer queue with the status like: "sent to printer" / "spooling".

Do we miss any configuration for the ePrint printer?

Thanks

Nam


   Report 
  06-27-2006, 11:47
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,806
Re: printer status
Reply Quote
Is the ePrint dialog displaying at all when it gets stuck?  Usually the ePrint dialog will not appear until the "printing" printer status appears. 

Are you trying to print a very large file when the job gets stuck?  ePrint is limited by the hardware of the computer it is being used on, so a very large file will either take a very long time, produce errors in printing, or not print at all. 

There should not be any errors in your ePrint configuration settings that is keeping your file from printing.  Read the article in the help file about the ePrint Minimum System Requirements to determine how much of a load ePrint can handle on your computer.

If you are still experiencing the problems, reply with the PDF that does not print attached to your post.  Then I can test your file here and give you a more definite answer or report a bug if one exists.

Greg Ross
LEADTOOLS Technical Support
   Report 
  06-27-2006, 13:30
nam is not online. Last active: 6/28/2006 3:30:45 AM nam

Top 500 Posts
Joined on 05-15-2006
Posts 9
Re: printer status
Reply Quote

Hello GregR,

I have programmed it so that the ePrint dialog wont display when print to ePrint.

I did not try to print any large file. Maximum is just 6 pages. But even 1 page, it still get stuck in printer queue.

I have tried to use many third party components that could open a pdf file and print it to ePrint printer other than using acrobat dll to open it on the IIS server windows 2003 (we cannot use acrobat reader to do that job on the IIS since IIS prevents to launch it from asp.net page). But all the third party components seem to get stuck in the ePrint queue with the status like: "sent to printer", "spooling".

I beleive that it's not because the PDF file since our pdf files are simple and generated from SQL reporting service.

Thank you very much for you help.

Regards,

Nam


   Report 
  06-27-2006, 16:28
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,806
Re: printer status
Reply Quote
Nam,

You are correct that is it unlikely to be the PDF files, 6 pages is definitely within range.  However, I would still like to test them anyways.

What third party components are you using?  Are they able to correctly print to a physical printer or does it only hang when sending to ePrint?  If they only get stuck printing to ePrint then the error might be in ePrint and we could investigate it, but if they hang on physical printers too then the third party components are likely the issue.
Greg Ross
LEADTOOLS Technical Support
   Report 
  06-27-2006, 22:38
nam is not online. Last active: 6/28/2006 3:30:45 AM nam

Top 500 Posts
Joined on 05-15-2006
Posts 9
Re: printer status
Reply Quote
Hello GregR,
I thank you for your quick reply. I appreciate that very much.
We have tried 2 third party components: one is XpdfPrint and other is 3-Height Pdf Print from www.pdf-tools.com. The former is geting stucked in ePrint queue with status: "spent to printer" and "spooling" without producing the results. With the later, the ePrint can produce the RTF results but the status "sent to printer" still appears in the Control Panel/Printer window although the ePrint has finished the printing job.
These do not appear when we use the third party components to print to the real printers

   Report 
  06-28-2006, 11:56
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,806
Re: printer status

Attachment: test.zip
Reply Quote
I am not sure why the job would hang in the queue even after the RTF has been successfully printed with ePrint.  How long does this message hang in the printer queue?  Does it eventually go away? 

I still want to have a copy of a PDF that is creating this error.  I cannot report any errors (if there are any) without very specific information and files.  I also need to try and eliminate the files as part of the problem.  Here is a PDF that I was able to print to an RTF and also have the queue get cleared up.  I was using Adobe Reader though and used ePrint to generate the PDF in the first place.

Since this is the ePrint API forum, I'm assuming you have some code you are working on.  If you have a small working project that produces this error, I can look over your code and see if there are any problems there as well.  If you could zip that up along with one of your PDFs it would be greatly appreciated.  I want to try and reproduce the error here, but have not been able to yet.

Greg Ross
LEADTOOLS Technical Support
   Report 
  06-28-2006, 13:24
nam is not online. Last active: 6/28/2006 3:30:45 AM nam

Top 500 Posts
Joined on 05-15-2006
Posts 9
Re: printer status

Attachment: SendToLEADSSupport.zip
Reply Quote

Hello Greg,

Here is the zip file containing all the needed files for testing.

Thank you very much for your time and your help.

Nam


   Report 
  06-28-2006, 16:34
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,806
Re: printer status
Reply Quote
Nam,

I was trying to do this on my machine and was not able to reproduce the same error.  I was having trouble getting your 3rd party printer to work I believe because it would fail in your print3Height(PDFFileName,iOrientation) subroutine.  There does not appear to be anything wrong with your ePrint settings, so I don't think there's too much more I can do with your code, thanks for sending it.

Are you trying to print this file without any users logged into the machine?  Sometimes this can cause ePrint to leave the jobs in the queue, even if the files get created.  Another person in support suggested that you try this knowledge base article: http://www.eprintdriver.com/kb/article.aspx?id=10013.

Also, can you print the PDFs without using code?  You mentioned that you can't open Adobe Reader from ASP, but can you open it another way and simply try to print the file from Reader?

Greg Ross
LEADTOOLS Technical Support
   Report 
  06-29-2006, 8:49
nam is not online. Last active: 6/28/2006 3:30:45 AM nam

Top 500 Posts
Joined on 05-15-2006
Posts 9
Re: printer status

Attachment: screenshot.JPG
Reply Quote

Hello Greg,

Thank for your time to investigate our problem. I want to make something clear with you about our problem:

- The code that I sent to you works well on our server windows 2003 except that it leaves the status in the pinter window as you will see in the screen shot attached. All you need to do to make the 3rd party COM work is to register the file PrinterOCX.dll

- We found out that excep using Acrobat Reader to open pdf file and send the print command to the ePrint, all other 3rd party COM objects to do the same job as Acrobat Reader have left the status in the ePrint window.

- By using our web application, there are always users logging on the server as windows authentication. It means the intranet users. We have already set the administration right for the logged account using DCOM eprint as the article guided.

- Again, there is no problem when using Acrobat Reader to print to the ePrint. The problem always happens with the all testing 3rd party COM objects. The reason why we dont want to use acrobat reader to do this job is:

+ Adobe do not allow any their product using on the IIS server. That would violate their policy. They offer a product called Lite Cycle to work on the server but it costs at least 50K. There is no way to use their AcroExch.App...objects in the web application. It crashes somedays.

+ Sooner or later, they will cut off the function to allow to print a pdf file form Acrobat Reader from command line as: AcroRd32.exe /t/p...Anyway, their policy: do not use their product on the server.

Greg, please try our sample code with 3rd party COM to see the error. We would appreciate you very very much.

Best reagrds,

Nam



   Report 
  07-03-2006, 9:35
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,806
Re: printer status
Reply Quote
Which version/service pack of Windows 2003 Server are you using so that I can set up a test machine?  If you want to send a reply to ePrintSupport@LEADTOOLS.com I will be able to track this problem better than on the forum and just mention my name, Greg Ross, and this forum post in the subject line.  However, you of course can keep using the forum if this is your preferred method.

Greg Ross
LEADTOOLS Technical Support
   Report 
  07-03-2007, 5:08
cmurphy is not online. Last active: 7/30/2007 11:48:36 PM cmurphy

Top 25 Posts
Joined on 05-09-2006
Posts 73
Re: printer status

Attachment: ePrintJobStuck.gif
Reply Quote

I've got same error. It just stuck there. When I've test on other machine, somteime ePrint didn't even start. I saw my test print document stated as "Printing" in print job list. It was not do anything at all. It's not froze either. I've run it on XP machine w/ SP2.



   Report 
  07-05-2007, 9:45
Qasem Lubani is not online. Last active: 12/21/2008 9:12:09 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,187
Re: printer status
Reply Quote

Can please provide more details about your issue? Do you face the same situation if you print a test page from the printer properties?

What type of a printer is "ePrinter_0002"? Is it a LEADTOOLS ePrint 5 Task printer?
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » ePrint API » Re: printer status

Powered by Community Server, by Telligent Systems