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
 How to Print on Duplex printer...?

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
Laser AOC Posted - Oct 01 2019 : 04:20:37
Hello,

I have a need to print two files from ImageEnView to a Thermal printer which had duplex printing capabilities.

If I load the files one by one and print them the printer is printing them on one single side only.

How to can we tell the printer to print the to print the first file on one side and another on another side?

TIA

For,
Laser AOC
2   L A T E S T    R E P L I E S    (Newest First)
Laser AOC Posted - Oct 03 2019 : 00:21:22
Hello Nigel,

Thank you very much!!

This solution worked in my case.

Phew! You have saved my hair

TIA

For,
Laser AOC
xequte Posted - Oct 02 2019 : 21:41:12
Hi

If you have enabled duplex printing, e.g.

https://www.swissdelphicenter.ch/en/showcode.php?id=1961

Then you should be able to do:

Printer.BeginDoc;
for i := 0 to im-1 do 
begin
  if i > 0 then
    Printer.NewPage
  ImageEnView1.IO.LoadFromFile('C:\image' + IntToStr( i + 1 ) + '.jpg' );
  ImageEnView1.IO.PrintImage();
end;
Printer.EndDoc;


Nigel
Xequte Software
www.imageen.com