Print in Landscape mode

Mac OSX specific forum
WilliamL
Addict
Addict
Posts: 1252
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Print in Landscape mode

Post by WilliamL »

I've noticed that I don't get the option in the print dialog for printing in landscape/portrait mode. Any idea of how to make this work?
MacBook Pro-M1 (2021), Sequoia 15.4, PB 6.20
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Print in Landscape mode

Post by wilbert »

For Cocoa, a print operation (NSPrintOperation) has a property named printPanel that controls the print panel. printPanel itself has a method setOptions: .
When setting a value of 0x2011f everything will be shown but it's up to Fred to choose what options he wants to be there. I don't think we can access the print operation object before the operation is run to make changes.
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Print in Landscape mode

Post by Fred »

I added the orientation option and page size option
victorprogra
User
User
Posts: 24
Joined: Wed Jul 06, 2022 3:49 pm

Re: Print in Landscape mode

Post by victorprogra »

Fred wrote: Sat Aug 11, 2012 10:59 am I added the orientation option and page size option
Hello,
Using macOS PureBasic 6.0.3 LTS how can I get the values of the choices the user makes in respect to orientation and page size option when using PrintRequester()?
Post Reply