Can a parameter in crystal report be used to select a printer

SOLVED

We have a parameter in our Sales Order form that changes what is printed based on the parameter.  I would like to have it print to a particular printer based on the parameter selected.  Actually I want to print from a particular tray in printer based on parameter, but thought that having a printer setup for one try and another printer for the other try would be easier.  Can this be done?  Thanks for any help. 

Parents
  • 0

    Thanks David but the printer setup is not my issue as I already have them setup.

    T-Man, I want to have the Parameter choosing the printer not the user selecting it.  The only way you can select the printer is if you do preview

    Sales Order Printing

    Paperless Office Output:  "Print/PDF All" or Print All

    Click "Print" button

    Window for Parameter Value pops up and select "Work Order" or "Packing Slip"

    Now when then crystal report prints I want to have the tray for the printer selected based on the Parameter that was selected.

  • 0 in reply to gseales
    SUGGESTED

    As far as I know, this can not be done with Crystal Reports. When it starts to build the layout of the form it does so based on the printer that was selected by the OS. I do not think it can dynamically change the printer and reformat once it has already started this process. Here is some info for you about Crystal and Printing https://archive.sap.com/documents/docs/DOC-57979

    From the sounds of it, you would just change the form code. By default you will have standard. Change that to one you call Work Order and default the printer to the one you want to use. Do the Same for Packing Slip. I like to use Multi-Part to make sure it goes to the same printer/tray each time.

Reply
  • 0 in reply to gseales
    SUGGESTED

    As far as I know, this can not be done with Crystal Reports. When it starts to build the layout of the form it does so based on the printer that was selected by the OS. I do not think it can dynamically change the printer and reformat once it has already started this process. Here is some info for you about Crystal and Printing https://archive.sap.com/documents/docs/DOC-57979

    From the sounds of it, you would just change the form code. By default you will have standard. Change that to one you call Work Order and default the printer to the one you want to use. Do the Same for Packing Slip. I like to use Multi-Part to make sure it goes to the same printer/tray each time.

Children
No Data