Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Using a printer in Windows

From: info:id-net:ch at: 12-Jan-2002 16:43

Andrew, you found the solution of the problem of printing 1 year ago, using javascript and html. Here's your code. I didn't test it but it sounds good. [ REBOL [ Title: "Auto printing via Browser." File: %"HTML Print.r" Author: "Andrew Martin" eMail: [Al--Bri--xtra--co--nz] ] File: %PrintMe.html write File { <HTML> <HEAD> <TITLE>Auto printing HTML file</TITLE> </HEAD> <BODY> <H1>Auto printing HTML file</H1> With the help of a little JavaScript... <SCRIPT LANGUAGE="JavaScript"> self.print(); </SCRIPT> in here. </BODY> </HTML> } browse File ] Philippe