DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TPrintPreview - incorect printing (mm) dimension ?

 
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
fedra
Member


Joined: 03 Jun 2004
Posts: 2
Location: romania

PostPosted: 03/06/04 13:31    Post subject: TPrintPreview - incorect printing (mm) dimension ? Reply with quote

Hello.
I use your (great) TPrintPreview in one of my application. I want to print a label for CD and CD case.
The printing must have 12cm but I allways get a smaller printing that should be (11.9cm instead of 12cm).

const
LenghtC1 := 12000 ;
HeightC1 := 12000 ;
PaperA4_H= 21000 ;
...

begin
...
PrintPreview.Zoom:= 100;
PrintPreview.FastPrint:= False;
with PrintPreview do
begin
Units:= TUnits(mmhiMetric);
UsePrinterOptions:= True;
Canvas.Rectangle(c1);
...
end;
end;


the bigger rectangle is, the bigger error is.
can you help me?
Back to top
View user's profile Send e-mail
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 362

PostPosted: 04/06/04 08:42    Post subject: Reply with quote

Sorry, I have no printer to check it out.
Back to top
View user's profile Send e-mail Visit poster's website
fedra
Member


Joined: 03 Jun 2004
Posts: 2
Location: romania

PostPosted: 04/06/04 13:45    Post subject: Reply with quote

But it possible to be from the VCL or could be an error from the printer?

There is more: I want to print an image over a sticky (glued) paper for a CD label.
My printer never print the image at correct location. Every time the printing is shifted 0-1.5 cm to the left or right or up or down.
But this could be from printer, I know.

There is a solution for this situation?


Keep working at this good VCL !


Smile
Back to top
View user's profile Send e-mail
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 362

PostPosted: 04/06/04 17:27    Post subject: Reply with quote

It could be also because of the printer's driver.
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group