Results 1 to 4 of 4

Thread: Invalid printer specified on crystal report

  1. #1
    Join Date
    Aug 2008
    Posts
    129

    Invalid printer specified on crystal report

    My enviroment is windows server 2003 64 bit but running on 32 bit service, vb 2008 and crystal report 2008. When I'm sending a Crystal report and when the program executes the command oRpt.PrintOptions.PrinterName = Trim(Me.selected_printer)

    the error that comes is Error in File
    C:\WINNT\TEMP\temp_ae2a77a0-78d3-4507-87c8-dcac38457c46.rpt: Invalid printer specified.

  2. #2
    Join Date
    Nov 2008
    Posts
    77

    Re: Invalid printer specified on crystal report

    It's about permission.HP LaserJet 5Si on cea 06 is a network printer,You can not access network resourece with local account. Please give some answers to the following questions Can a printer be moved offline or reserved by a user? Can a printer get overloaded or a print queue be full? So you got to setup local account and modify the machine.conf to use that account for your asp application.Also you need setup remote computer with printer has exactly user account.

  3. #3
    Join Date
    Feb 2008
    Posts
    31

    Re: Invalid printer specified on crystal report

    If I remember right, and i have not done server print jobs before from a web interface but it will use the clients print driver. Well it sounds like serialization to me and I believe Crystal's reportdocument object is not serializable. Also at one time only 3 instances of a report can be opened. I would make sure that the client and server drivers match (even though it shouldnt make a difference).

  4. #4
    Join Date
    Feb 2009
    Posts
    79

    Re: Invalid printer specified on crystal report

    I am developing an intranet application using ASP.Net which uses crystal reports. The IIS is installed in my machine. When I Go to My Computer - > Control Panel - > Printers -> and see there is any printer connected to the machine, I Copied that name to your code. But the printer is connected to some other. When I try to take printout it raises an error as:

    Error in File C:\DOCUME~1\banupriya\ASPNET\LOCALS~1\Temp\temp_2924ba53-898a-4038-a402-b1504cbdbe18.rpt: Request cancelled by the user.

Similar Threads

  1. Which is best, Data report or Crystal report?
    By Smita.bendal in forum Software Development
    Replies: 5
    Last Post: 11-03-2010, 02:42 AM
  2. Crystal Report does not work in Windows 7
    By Filiberto in forum Operating Systems
    Replies: 5
    Last Post: 24-12-2009, 03:03 AM
  3. Error 429 after trying to generate crystal report
    By Author in forum Operating Systems
    Replies: 3
    Last Post: 16-05-2009, 07:08 PM
  4. Create Crystal Report from Excel
    By Harshini in forum Software Development
    Replies: 3
    Last Post: 04-05-2009, 02:09 PM
  5. help needed for crystal report
    By techfreakpeyx in forum Software Development
    Replies: 3
    Last Post: 10-12-2008, 02:01 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,648,944.03176 seconds with 17 queries