ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Determine printer parameter ?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
klausdoege Posted - Sep 13 2018 : 18:06:43
Hi,
how can I determine the printer parameters for my own printdialog?
Or how can I extend the printdialog form of imageen.

Klaus
www.klausdoege.de
6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 16 2018 : 04:10:28
No worries, thanks for advising us of this.

Nigel
Xequte Software
www.imageen.com
klausdoege Posted - Sep 16 2018 : 03:00:07
sorry all is ok,
i have overlooked that the picture has a white border.
Forget my entry.
I'm starting to grow old :-)

Klaus
www.klausdoege.de
klausdoege Posted - Sep 15 2018 : 13:24:06
I've now set the margins left and right to 0 Set the printer to frameless printing in setup.
Nevertheless, the demo in the preview shows an edge left and right. When printing, only a margin is printed on the left, but no margin should be printed. This works with another print program, here no print margin.
Can you check that?

Print result:


Klaus
www.klausdoege.de
klausdoege Posted - Sep 15 2018 : 07:47:19
Ok, I think the following values are ignored.
GetDeviceCaps (printer.handle, PHYSICALOFFSETX)
and
GetDeviceCaps (printer.handle, PHYSICALOFFSETY)
With Margin left = 0 and Margin right = 0, an edge remains in print.
This should be considered in the Margin field.
Margin left = 0 is not 0, because it remains the offsettx.

Klaus
www.klausdoege.de
klausdoege Posted - Sep 14 2018 : 13:56:21
Hi Nigel,
I tested with the imageen printdemo. But the display of the print size is wrong. After printing, the edge is not 1cm but 1.5cm.
If I change the printer parameters, the display does not change in the dialog, the print size always stays the same?
12.54 x 9.059 is not the right size, in A4, the width in portrait format should be about 20cm.
Could you improve something here?
Or how can I customize it myself?



Klaus
www.klausdoege.de
xequte Posted - Sep 13 2018 : 22:09:46
You can access Print Preview params via:

https://www.imageen.com/help/TImageEnIO.PrintPreviewParams.html


You can also customize the dialog in the OnShowDialog event:

https://www.imageen.com/help/TIEView.OnShowDialog.html

Nigel
Xequte Software
www.imageen.com