Printing Command Parameter

Printing Command Parameter

siglepi

    Jun 09, 2005#1

    Hi, I am trying to use UltraEdit command line option to print document to a remote printer. I read the help file and tried the following: C:\UltraEdit>uedit32 /P "C:\Temp\MyFile"

    The command gives me exactly what I am looking for except it prints from local printer (my computer's default). How do I specify "printer" option using command line? Any example?

    Thanks -- Tom

    6,684586
    Grand MasterGrand Master
    6,684586

      Jun 11, 2005#2

      It's not possible to set printer options at command line. The /p parameter is just for quick printing to the default printer with the printer settings stored in default UltraEdit INI file. It's also not possible to save the printer name in the uedit32.ini. All windows program use the default printer after startup.

      You can only use a batch file or a windows script to

      -) modify the registry to set a different printer as default
      -) print the file with UltraEdit
      -) modify the registry again to restore your preferred default printer.
      Best regards from an UC/UE/UES for Windows user from Austria

      siglepi
      siglepi

        Jun 13, 2005#3

        Thansk Mofi.