Printing Command Parameter

General and specific configuration/INI settings

Printing Command Parameter

Postby siglepi » Thu Jun 09, 2005 2:41 pm

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
siglepi
 

Re: Printing Command Parameter

Postby Mofi » Sat Jun 11, 2005 5:24 am

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.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4066
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Printing Command Parameter

Postby siglepi » Mon Jun 13, 2005 8:07 am

Thansk Mofi.
siglepi
 


Return to Configuration/INI Settings