Set up two Windows printers for the same physical printer and port. One configured to default to Portrait mode, and one to default to Landscape mode.
Now you can use the following utility to set the default printer:
Quote:defprint /d "PortraitPrinterName"'
or
defprint /d "LandscapePrinterName"'
It accepts either the printer share name or the port
It could be sent with @Shell command before doing the printing and followed by another @Shell command to reset back to the normal default printer.
Run DefPrint in DOS window for more information
defprint /p will show the available printers with information like the following:
Quote:C:>defprint /p
PrinterName: mondohplaser
ServerName: (null)
PortName: mondohplaser
DriverName: HP LaserJet 1200 Series PCL
PrintProcessor: WinPrint
ShareName: (null)
Now the Default Printer can be changed with something like this:
Quote:C:>defprint /D mondohplaser
Found 4 printers
Changing default printer...
or
C:>defprint /D LPT1:
Found 4 printers
Changing default printer...
This freeware utility is available at
http://www.netadmintools.com/defprint.zipPS, re Mark's comments on heading South. If you stop AT the Equator, the printer starts spinning in all directions and turns into a Shredder. Lesson:
Do not stop exactly on the Equator, be sure to be above or below it. Have not had a chance to determine the affected longitude range but it is probably more than one pixel in distance.