Results 1 to 4 of 4

Thread: Send report to multiple network printers [Resolved]

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Send report to multiple network printers [Resolved]

    I am using Crystal Reports 8.5 and the CRAXDRT.Report object.

    We have a report that lists the daily orders for a specific department. There are about 50 departments and the department id is the report parameter. For each department we must generate the report everyday at 1:00am and it must print on the department's printer.

    My problem is how do I specify a network printer? The Report.SelectPrinter method expects a drivername, printername and port. I would like to use a network path, ie Report.Printer = "\\PrinterServer\Dept4xPrinter". Otherwise I would need to add every printer to the computer where the report is executed.

    Any ideas or help is appreciated?
    Last edited by brucevde; Mar 5th, 2003 at 02:06 PM.

  2. #2
    Fanatic Member SkiNLaB's Avatar
    Join Date
    Jan 2002
    Location
    Sydney, Australia
    Posts
    747
    well my logic says u cant expect your computer to print off to a printer it doesnt know. but then again i know nosink

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    I was hoping it would work similar to a file server, where you can specify a UNC path to say open a file without having to map a drive to the network share.

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Send report to multiple network printers [Resolved]

    If anyone is interested, I fixed my problem.

    I was trying to use the following VB code to send a report to a network printer (on NT). It did not work using Crystal version 8.5 via the CRAXDRT. I switched to the Crystal 8.0 object library (CRPEAuto) and it worked, go figure.

    objReport.SelectPrinter "winspool","\\MyPrintServer\MyPrinter","NE00:"

Posting Permissions

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



Click Here to Expand Forum to Full Width