Search found 91 matches

by Gantois
Wed Oct 16, 2024 1:21 pm
Forum: MiServer
Topic: MiServer output pages to PDF for print
Replies: 11
Views: 13171

Re: MiServer output pages to PDF for print

Thanks Kay,
// Marco
by Gantois
Fri Oct 11, 2024 3:25 pm
Forum: MiServer
Topic: MiServer output pages to PDF for print
Replies: 11
Views: 13171

Re: MiServer output pages to PDF for print

Hi Brian, Vince and Gil! Feedback after tests: All of your recommendations worked well. The Brian/Vince's solution (examples above) in my case was more appropriate. Note for cache solution: To always read the last file created, I had to put at the end of the URL: ?ver=',(⍕⎕ts)~' ' The Gil's solution ...
by Gantois
Sun Sep 15, 2024 1:01 pm
Forum: MiServer
Topic: MiServer output pages to PDF for print
Replies: 11
Views: 13171

Re: MiServer output pages to PDF for print

Hi Brian! Thank you for the feedback. Hi Gil! Thanks for your clarifications. Like you said, my users access a website we develop and serve with MiServer. The reports to be printed depends on the user's choice from a list of options. I understood that your last recommendation is appropriate for my ...
by Gantois
Sat Sep 14, 2024 12:32 pm
Forum: MiServer
Topic: MiServer output pages to PDF for print
Replies: 11
Views: 13171

Re: MiServer output pages to PDF for print

Hi Brian! The url PrintTo file function works nice but I still have some problems to complement the solution. This is a brief to see if I am on the right track: We are developing a website for schools. One feature of the teacher module is to print multiples choice tests created by themselves. When ...
by Gantois
Tue Sep 03, 2024 2:35 pm
Forum: MiServer
Topic: MiServer output pages to PDF for print
Replies: 11
Views: 13171

Re: MiServer output pages to PDF for print

Hi Brian, How are you?

I believe this is the solution to what I'm trying to do:
print the page to the pdf file and than submit it to printer from within PDF.

Yes. I am using MiServer 2.

I will test giving you a feedback.
Thank you very much

Regards
Marco
by Gantois
Sat Aug 31, 2024 1:54 pm
Forum: MiServer
Topic: MiServer output pages to PDF for print
Replies: 11
Views: 13171

Re: MiServer output pages to PDF for print

Нi Vince, At first Thanks for your help. Explaining my case better (example): :Class teste: MildPage ∇ Render req;html :Access Public html←Example req.Return html ∇ ∇ r←Example r←'<!DOCTYPE html>' r,←'<html>' r,←'<body>' r,←'<h4>This is a HTML page example</h4>' r,←'<p>I would like the user to be abl ...
by Gantois
Wed Aug 28, 2024 3:35 pm
Forum: MiServer
Topic: MiServer output pages to PDF for print
Replies: 11
Views: 13171

MiServer output pages to PDF for print

Hi! How to convert MiServer output pages to PDF for print, exactly as used in Dyalog documentation? (the same top bar menu). Example: https://docs.dyalog.com/latest/APL%20Workspace%20Transfer%20Guide.pdf I think it is an app insn´t it? If so, somebody knows its name, and how to use, please? Thanks ...
by Gantois
Sun Jul 07, 2024 11:56 am
Forum: MiServer
Topic: Saving a Image file
Replies: 5
Views: 21395

Re: Saving a Image file

Hi Brian, Thanks for the tips / instructions and the prompt return. In my case we have thousand images with only a few differents names in differents paths. I solved the issue complementing the <img src=" " > with (?v=',(⍕⎕ts)~' ') as following (used in a reading function / last line): ∇ src←SrcImg ( ...
by Gantois
Sat Jun 22, 2024 4:25 pm
Forum: MiServer
Topic: Saving a Image file
Replies: 5
Views: 21395

Re: Saving a Image file

Hi Brian, My site frequently replace images with the same file name (⎕NERASE / ⎕NCREATE) but the browsers do not recognize the new image unless the cache is cleared. Do you known what could I do to solve this issue? Perhaps changing some file attribute after create it. If so, how could I do this by a ...
by Gantois
Sat Jun 22, 2024 11:14 am
Forum: MiServer
Topic: Saving a Image file
Replies: 5
Views: 21395

Re: Saving a Image file

Hello Brian,

You perfectly understood my question.
I already used ⎕ncreate ⎕nappend ... but not for image files.
Very simple solution. I have already implemented in my site.

Thanks!!!!
Cheers,
Marco Gantois