Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>ps_rotate()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PS_ROTATE()
   Changes the orientation of the PostScript device.

   Syntax
         nOrientation = PS_ROTATE([nOrientation] [,p1X,p1Y,p2X,p2Y])

   Arguments
         nOrientation Sets the orientation of the page.
                       0 - Portrait [Default]
                      90 - Landscape

   Returns
         nOrientatioin Returns the current orientation.

   Description
         PS_ROTATE() sets the orientation of the page to either Portrait
         or Landscape. It also defaults the P1 and P2 positions so that the
         aspect ratio will be square.

         The size of the PostScript screen on the printer is setable with
         the optional parameters p1X, p1Y, p2X, & p2Y. The position is in
         1/72nds of an inch.

         The default size is:    Landscape      Portrait
                                 ---------      --------
                           p1X      36             36
                           p1Y      36            345
                           p2X     750            576
                           p2Y     572            750

See Also: PS_CLOSE() PS_EJECT() PS_LNSTYLE() PS_OPEN() PS_SETUP()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson