Jump to content


Photo
- - - - -

Crystal print to multiple printers


6 replies to this topic

#1 ac1211

ac1211

    Newbie

  • Members
  • Pip
  • 3 posts
  • Gender:Male

Posted 04 May 2004 - 05:10 AM

Hi,

I would like to know if it is possible to print a crystal report to multiple printers at onetime without using a third-party software? Or if a third party software is indeed needed, what is the cheapest in the market that can handle this task?

Best Regards,

Ian

#2 mdexter

mdexter

    Advanced

  • Members
  • PipPipPip
  • 70 posts
  • Gender:Male

Posted 24 May 2004 - 05:08 PM

Ian, how are you calling Crystal? Are you calling the CRPE32.DLL from the GUI Client (i.e., using the LINK-CLIENT logic command)? If so, I think you could in theory fire the report to multiple printers from PRO-IV logic. You would need to know the printer names in advance, of course.

#3 ac1211

ac1211

    Newbie

  • Members
  • Pip
  • 3 posts
  • Gender:Male

Posted 27 May 2004 - 09:37 AM

Hi Mark,

Thanks for your kind reply. Actually, I'm not calling crystal in proiv. I elminated the previous query of printing the output to multiple printers by exporting it to a pdf file and save it to a public folder.
But when I tried to do the export to pdf in crystal, I got a print engine error: Error in File E:\crystal\report\test.rpt: Error detected by export DLL:
Do you have an idea of what's causing this?

Thanks in advance,

Ian

#4 Guest_Phil Hill_*

Guest_Phil Hill_*
  • Guests

Posted 22 November 2004 - 10:45 AM

I suggest you use rich text format when exporting from Crystal. This will be faithful to the original and is less likely to cause conflicts as it can be viewed by most versions of Word. You may be getting problems exporting to .pdf because of compatibility/version issues between versions of Crystal and versions of Adobe Acrobat. I tend to use richtext as it causes the least amount of problems.

#5 Guest_Arm Chair_*

Guest_Arm Chair_*
  • Guests

Posted 11 January 2005 - 01:49 PM

Hi!

Would it be asking for too much if I wanted to know how to call and execute Crystal reports from within PRO-IV? Also, I would like to know how to use the LINK-CLIENT command.

Thanks

#6 mdexter

mdexter

    Advanced

  • Members
  • PipPipPip
  • 70 posts
  • Gender:Male

Posted 13 January 2005 - 04:52 PM

I would recommend using PDF. For us, this format produces the most accurate formatting and also the most reasonable file sizes. If PDF is not working for you, I would suggest looking at the Crystal web site's knowledge base. Depending on the version you are using, you may need to download the latest service pack.

In response to the question about calling Crystal reports using the Link-Client command, we wrote our own DLL program to interface between PRO-IV and the Crystal reports print engine. However, now Crystal offers and OCX control, and this might work well with PRO-IV. (We haven't tried it.)

BTW, Crystal will only work with PRO-IV if your data is stored in a SQL database or some other ODBC-compatible database.

HTH. Mark Dexter

#7 Guest_Arm_Chair_*

Guest_Arm_Chair_*
  • Guests

Posted 19 January 2005 - 01:54 PM

Thanks for that reply.

I wrote a DLL using MS Studio VC++ and tried to call that from PRO-IV 5.5 using the LINK-CLIENT command. That did not work giving an error that the external subroutine could not be found. I then wrote a VB DLL and that gave the same problem. Then I took the sampdll.c code that comes with the PRO-IV distribution and compiled that with the given make file. This sort of worked when I placed the DLL in the system32 directory - it displayed the message box and then was hanging. As of now, I am unable to pinpoint what I need to do to write a callable DLL from PRO-IV and where to place it. I am sure it is my ignorance but reading the documentation from PRO-IV did not help me.

Any help will be greatly appreciated.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users