Skip to Content
author's profile photo Former Member
Former Member

Problem in CR9

I am using VB6.0 and CR9.

I am using following statment

1. obj.selectprinter with reqd paramter i.e printerdrivername,printerport,devicename etc.

2. obj.printout false

next line giving error stating that error starting printjob.

Pls help me.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Aug 01, 2008 at 04:26 PM

    The printout method takes 5 parameters; promptuser, numberofcopy, collated, startpage, endpage. See if setting all of the parameters helps.

    If not, can you provide the full code as it pertains to Crystal reports?

    Ludek

    Add a comment
    10|10000 characters needed characters exceeded

    • Another thing to check is the arguments you're passing to the SelectPrinter, to ensure that that's correct.

      I usually print out a Windows Printer Test Page from the machine I'd like to print from on the printer I'd like to print on, and read the Printer name, Driver name and Port name from the printout.

      Sincerely,

      Ted Ueda

  • Posted on Aug 01, 2008 at 03:08 PM

    Sandip,

    You will get a better answer to your question in the Business Objects SDK Application Development category rather than the Crystal Report Design category.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.