Re: Automatic Landscape printing



On Jun 26, 5:53 am, Rob Kennedy <m...@xxxxxxxxxxx> wrote:
Bob Richardson wrote:
On Jun 25, 8:32 pm, Rob Kennedy <m...@xxxxxxxxxxx> wrote:
Bob Richardson wrote:
I have a TPrinterSetupDialog which allows the user to print Portrait
or Landscape. The initial, default value is "Portrait."  How can I set
the initial value to Landscape? The particular form being printed
should "always" be printed Landscape, so I'd like that to be the
default.

Setting the printer's Orientation property doesn't work?

I don't have a "printer" component...

Never said it was a component. What do you print to? Something other
than a TPrinter?

--
Rob


I forgot about the TTPrinter object. By placing

Printer.Orientation := poLandscape;

before the
if PrintDialog1.Execute then

command, the problem was solved. Thanks.
.



Relevant Pages

  • print mixed page orientations
    ... is it possible to print (in 1 command) with different page orientations? ... portrait and A6 to G100 in landscape? ...
    (microsoft.public.excel.misc)
  • Re: Landscape output
    ... with manually generated reports that ... >sometimes need to be printed landscape. ... >Once I figured out I needed to first SET PRINT NAME to the desired ...
    (microsoft.public.fox.programmer.exchange)
  • Landscape output
    ... with manually generated reports that ... sometimes need to be printed landscape. ... Once I figured out I needed to first SET PRINT NAME to the desired ...
    (microsoft.public.fox.programmer.exchange)
  • Orientation
    ... I have a command button that prints the current record. ... code to change the orientation from default Portrait to Landscape? ...
    (microsoft.public.access.formscoding)
  • Automatic Landscape printing
    ... I have a TPrinterSetupDialog which allows the user to print Portrait ... the initial value to Landscape? ... should "always" be printed Landscape, so I'd like that to be the ...
    (alt.comp.lang.borland-delphi)