TPrintPreview - incorect printing (mm) dimension ?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

TPrintPreview - incorect printing (mm) dimension ?

Postby fedra » June 3rd, 2004, 1:31 pm

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?
fedra
Member
Member
 
Posts: 2
Joined: June 3rd, 2004, 12:59 pm
Location: romania

Postby Kambiz » June 4th, 2004, 8:42 am

Sorry, I have no printer to check it out. :(
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby fedra » June 4th, 2004, 1:45 pm

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 !


:)
fedra
Member
Member
 
Posts: 2
Joined: June 3rd, 2004, 12:59 pm
Location: romania

Postby Kambiz » June 4th, 2004, 5:27 pm

It could be also because of the printer's driver.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron