> On Jan 9, 2019, at 9:30 AM, Thiago Araújo <[email protected]> wrote: > > Hi, > > I am a Lisp enthusiast who's new to Racket. I need to build a program for my > mom that's basically a medical report database where generating PDFs and > printing (to paper) plays a central part in the business. The report format > doesn't need to be PDF, but it needs to be printable through Racket (or an > external program that I can easily integrate). Basically, I need the ability > to print each report that exists in the database with a variety of different > layouts. > > I see Racket already has "racket/gui", which is exactly what I need to build > the UI and allow the users to create the reports. And it also has "scribble", > which seems to be a good fit for generating PDFs. So my questions are: > > - Would scribble work for my purpose?
Yes. > - How would I integrate "racket/gui" with the system's printer dialog and > send my PDFs to the printer? Yes. DrRacket does this already, but your app seems much simpler. > - If the above is not possible, would there be an external program you could > recommend? > - Would my app work on both Windows and macOS? Yes. I routinely so such things but not completely automated. If you know latex, you can use scribble to synthesize a really good looking PDF but you will need to make sure to have a tex/latex installed on your target platforms. The output will be identical (if you have the same fonts). If your mother is happy with scibbled HTML that is then rendered to PDF for printing, go with that. Every platform has a browser and thus an HTML renderer. Conduct an experiment “by hand” first to see what your mom likes. Good luck. > > Racket seems an awesome fit because I'd have the possibility to build a web > UI in the future. > > Thank you, I'd appreciate any recommendations :) > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

