Write in a PDF file

new BookmarkLockedFalling
marcioc
Junior Member
**

marcioc Avatar

Posts: 60

davidcope
New Member
*

davidcope Avatar

Posts: 13

Post by davidcope on Aug 21, 2010 12:45:27 GMT -5

Hi marcioc,

Two things came to mind when I looked at your question. Do you mean a screen shot or a PDF version of the page layout? If it is the latter, you could use an external PDF library (like PDFlib) by writing page layout commands into a file. Python also has an excellent PDF module - ReportLab. These ideas assume that you have these subsystems in place on your operating system of course.

Hope this Helps.

David.
Last Edit: Aug 21, 2010 12:46:25 GMT -5 by davidcope
marcioc
Junior Member
**

marcioc Avatar

Posts: 60

davidcope
New Member
*

davidcope Avatar

Posts: 13

Post by davidcope on Aug 22, 2010 2:25:50 GMT -5

Yes, the PDF printer driver is a good solution and much simpler one too.

My only thought would be how much control you would have over the print dialogue from within the Run BASIC environment. I don't know the details of your system, but on Windows, pop-up dialogues can cause problems on unattended servers. Unless, of course, you can print via the command line. My main experience is with UNIX type systems where this can be done via command line and I can see how the SHELL() command could be used for this once the HTML report is generated.

Kind Regards, David.
Last Edit: Aug 22, 2010 2:26:50 GMT -5 by davidcope
marcioc
Junior Member
**

marcioc Avatar

Posts: 60

StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
sundale
New Member
*

sundale Avatar

Posts: 34

i7Q720/win7/ RB v1.0.1 Build 2.44