Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2003
    Posts
    43

    Unhappy Unanswered: Printing 9i reports

    How do you specify a printer as a destination when running reports from forms on a UNIX box.

    Background:

    I am trying to print a 9i report from forms using the run_report_object utility. I have got this to work on my machine using the following line of code to set the printer as the desname:
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAM E,'\\PRINTERS\it-rm2134si');

    I have set up the same printer on our UNIX box from which the production forms are run and use the following code to set the desname:
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAM E,'hp4si_rm213');

    This does not work, any ideas why?

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >This does not work, any ideas why?
    Yes, you are doing something WRONG!
    Since you decided not to share any actual error message,
    I haven't a clue which of a dozen or more details might be wrong.

    Just curious what happens when you are logged onto the Unix Reports server system and do the following:
    lp -d hp4si_rm_213 /etc/hosts

  3. #3
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    What OS & OS version?
    What specific, complete 5 digit version of 9iAS is installed?
    Which patches to 9iAS have been installed?
    9iAS R2 Reports Server is plagued with many, many bugs.
    V9.0.2.0.1 on Solaris will NOT print to a printer straight off the CD;
    but will "print" to a file and even display the *pdf to the screen.

  4. #4
    Join Date
    Oct 2003
    Posts
    43
    Thank you for the information, the OS is sunOS 5.8, I am not sure what version of 9iAS is running on the box I have asked our network team to investigate. I can however print to a file and display a pdf to my screen so it sounds like a 'bug' is causing the problem.

    Is there a patch that enables you to print to a printer on Solaris?


    What OS & OS version?
    sunOS 5.8
    What specific, complete 5 digit version of 9iAS is installed?
    Which patches to 9iAS have been installed?
    9iAS R2 Reports Server is plagued with many, many bugs.
    V9.0.2.0.1 on Solaris will NOT print to a printer straight off the CD;
    but will "print" to a file and even display the *pdf to the screen.

  5. #5
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    http://metalink.oracle.com/metalink/...&p_id=228304.1

    References:
    <Bug:2658839>
    Abstract: REP-50157 WHEN PASSING DESNAME=<PRINTERNAME> ON THE COMMAND LINE

    P.S.
    This is only the 1st of many, many problems you'll encounter.
    If you can wait a few weeks, you will save yourself LOTS of grief by waiting for 10gAS (a.k.a. V9.0.4); which has been announced and is available for downloading from OTN, but is not yet available on CDs.

  6. #6
    Join Date
    Oct 2003
    Posts
    43

    your not wrong

    We have got it printing from the UNIX box now but instead of a normal looking report coming off it prints the file in the format you get when you open a xml, pdf or rtf file in a text editor. Which sounds like a compatibility issue.

    I need some asprin!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •