Results 1 to 4 of 4

Thread: guess what...another crystal q

  1. #1

    Thread Starter
    Lively Member adBSTRD's Avatar
    Join Date
    Oct 2003
    Posts
    116

    guess what...another crystal q

    Hello all

    In my app I need some reports to print on the tractor feed printer and the others in the laser printer. How do I tell crystal which printer to use?

  2. #2
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951
    I set up some global variables and then send the report the data

    Report.SelectPrinter glbPrinterDriver, glbPrinterName, glbPrinterPort

  3. #3
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951
    Here's one that 'hard' coded:

    Report.SelectPrinter "HP Deskjet 1220C Printer", "Prepress", "\\Server1\Prepress"

  4. #4

    Thread Starter
    Lively Member adBSTRD's Avatar
    Join Date
    Oct 2003
    Posts
    116
    Thanks, but I had already tried that way a few times. It only seems to work that way when the printers are local. I ended up hammering up a solution by copy pasting some functions that change the default printer. So right before printing the report, I change the default printer to be the laser or tractor. I dont like it too much that way but I got deadlines.

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