Author |
Message |
10/11/2020 14:24:31
|
gseijo
Active
Joined: 29/09/2020 14:14:26
Messages: 21
Offline
|
Hello Björn,
I have created a project where a PDF file is printed when a button is pressed, but I want the program to ask me how many pages I want to print immediately after pressing it.
Is it possible somehow?
Greets
Gori
|
|
|
10/11/2020 14:36:41
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5535
Offline
|
Hi Gori,
how is the printing done - using the PDFPRINTER component, or do you have some own printing mechanism?
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
10/11/2020 14:38:31
|
gseijo
Active
Joined: 29/09/2020 14:14:26
Messages: 21
Offline
|
yes, using the PDFPRINTER component.
|
|
|
10/11/2020 14:40:50
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5535
Offline
|
Hmm,
isn't there a print dialog coming up, in which you select printer, number of pages, etc. ?
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
10/11/2020 14:56:29
|
gseijo
Active
Joined: 29/09/2020 14:14:26
Messages: 21
Offline
|
sorry sorry sorry..
i use a own print mechanism
|
|
|
10/11/2020 15:02:04
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5535
Offline
|
...no problem! ;-)
Then you may just show some own CC-popup allowing to input the pages before sending the PDF to the printing function.
With own CC-popup I mean:
1. create a dialog with page bean
2. open this dialog from the dialog that you want to start the printing from. Use inherited function: openModalPopup(IPageBean bean, titel, width, height, ...) to start it, and do the invoking of the printing through the popup.
Is this the response that helps you...?
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
11/11/2020 07:40:56
|
gseijo
Active
Joined: 29/09/2020 14:14:26
Messages: 21
Offline
|
Hello Björn,
thnxx for your reply.
do you have an example in the demo where i can watch it?
Greets
Gori
|
|
|
11/11/2020 07:46:15
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5535
Offline
|
Hi,
please check...
1. Demo Workplace (http://www.captaincasademo.com): General => Arranging Content => Popup Dialogs => e.g. Pass Values into Popup, and also other popup demos)
2. Developer's Guide documentation: http://www.captaincasa.com/docu/eclnt_risc_developersguide/all.html#popupmanagement
Hope this helps ;-).
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|