How to print a PLT file directly @ half size
Moderators: SDS, support, admin
How to print a PLT file directly @ half size
I am able to use CADImport to open a PLT file, view and print it, this is no problem.
What my client also wants is to send the PLT file directly to the printer and print it. This is no problem either as most printers can directly print a PLT file. However, the client wants to also send a file directly to the printer at 50% size.
How can I print a PLT directly to the printer at 50% size by only selecting the printer name?
Thank you
Ertan Zanagar
What my client also wants is to send the PLT file directly to the printer and print it. This is no problem either as most printers can directly print a PLT file. However, the client wants to also send a file directly to the printer at 50% size.
How can I print a PLT directly to the printer at 50% size by only selecting the printer name?
Thank you
Ertan Zanagar
Re: How to print a PLT file directly @ half size
Dear Ertan Zanagar,
CAD Import .NET prints files using inner .NET means. It does not send PLT files directly to a printer. Could you please specify what exactly way you need to use for sending a half of a drawing to a printer: using .NET means or directly to a printer?
Sergey.
CAD Import .NET prints files using inner .NET means. It does not send PLT files directly to a printer. Could you please specify what exactly way you need to use for sending a half of a drawing to a printer: using .NET means or directly to a printer?
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: How to print a PLT file directly @ half size
Here is my problem.
cadImage.Stretch = false;
cadImage.BorderSize = 0;
cadImage.IsWithoutMargins = true;
cadImage.Draw(e.Graphics, printableArea);
Let's say I have an image that is 30x42 inches and I want to print this half size.
The printableArea is important. I do not want to change the printableArea at all. I may select a paper size of 8x11 and still want to print half the size of the image. What I need is to print this image on 8x11 @ half of its original size. The way it works above right now is the image gets scaled to printableArea.
I do not want it to scale at all. I thought if I set "Stretch=false" that would do it but no luck.
So my questions are:
1-) How do I scale the original image by half/quarter etc.
2-) How do I make it so that when I do a .Draw, the image does not stretch to the printableArea.
THanks
Ertan Zanagar
cadImage.Stretch = false;
cadImage.BorderSize = 0;
cadImage.IsWithoutMargins = true;
cadImage.Draw(e.Graphics, printableArea);
Let's say I have an image that is 30x42 inches and I want to print this half size.
The printableArea is important. I do not want to change the printableArea at all. I may select a paper size of 8x11 and still want to print half the size of the image. What I need is to print this image on 8x11 @ half of its original size. The way it works above right now is the image gets scaled to printableArea.
I do not want it to scale at all. I thought if I set "Stretch=false" that would do it but no luck.
So my questions are:
1-) How do I scale the original image by half/quarter etc.
2-) How do I make it so that when I do a .Draw, the image does not stretch to the printableArea.
THanks
Ertan Zanagar
Re: How to print a PLT file directly @ half size
Dear Ertan Zanagar,
defines a rectangular area withing CADImage to be drawn. This rectangle's sides ratio must be proportional to CADImage object's sides.
Sergey.
We recommend to use the following line:1-) How do I scale the original image by half/quarter etc.
Code: Select all
this.ImageScale = this.ImageScale / 2;
Second parameter of2-) How do I make it so that when I do a .Draw, the image does not stretch to the printableArea.
Code: Select all
public virtual void Draw(
Graphics e,
RectangleF Rect
);
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support