|
-
Jan 16th, 2000, 09:21 PM
#1
How can you access the [default] printer properties. And change them. Example changing from Portriat to Landscape..
Or using A4 or Envelope. Please show me some code...........
-Kayoca Mortation
-
Jan 16th, 2000, 09:40 PM
#2
-
Jan 16th, 2000, 09:52 PM
#3
Hey FirstKnight thanks.... But i know that already. I mean like if your using DataReport
and when i want to use landscape and the [default] printer is portriat. then my app is giving a error. "paper is larger then the paper width." So i think i am gone use the [default] printer properties to change the orientation. And now i need to know is how can you change them by code in vb. Because the DataReport is always using the [default] printer. Please help me out. It's a pain in my head......
-
Jan 16th, 2000, 09:57 PM
#4
Addicted Member
Use the Printer Object.
Printer.Orientation = vbPRORPortrait
Printer.Orientation = vbPRORLandscape
------------------
smalig
[email protected]
http://vbcode.webhostme.com/
-
Jan 16th, 2000, 10:21 PM
#5
Sorry Smalig that wont work with DataReport.
I have tryed many times. I realy need access to the Printer Properties. So i can change the orientation or other settings. So when the user log into the windows next time that the settings are still there. i am trying to use the printerproperties api. But i am not that good yet with the API's...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|