Impression
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Impression

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
FAB
Guest





Posted: Tue Mar 15, 2005 6:10 pm    Post subject: Impression Reply with quote

Hello,

I want to know how find my current papersize whit th default printer.

I try with api function but i can't find how use it.

THANK

Put an - beetween be and iees to send an anwser.

Back to top
KCCadDude
Guest





Posted: Fri Mar 18, 2005 1:26 am    Post subject: Re: Impression Reply with quote

Canonicalmedianame is paper size.

ThisDrawing.ActiveLayout.CanonicalMediaName

I attached a sequence I use for a single letter size print.
Your Pens and PC3 should be preset standards.

PltStyle = "YourPens.ctb"
ThisDrawing.ActiveLayout.RefreshPlotDeviceInfo
ThisDrawing.ActiveLayout.ConfigName = "Your.pc3"
ThisDrawing.ActiveLayout.CanonicalMediaName = "Letter"
ThisDrawing.ActiveLayout.StyleSheet = PltStyle
ThisDrawing.ActiveLayout.PlotRotation = ac0degrees
ThisDrawing.ActiveLayout.PlotType = acExtents
ThisDrawing.ActiveLayout.StandardScale = acScaleToFit
ThisDrawing.Plot.NumberOfCopies = 1
ThisDrawing.Plot.PlotToDevice
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB