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

[REBOL] Printer

From: hijim:pronet at: 4-May-2001 7:02

I'm just getting started with REBOL. With help from another list, I managed to get REBOL to print a file. I used append to add a formfeed (chr12) to the end of the file. I'd like to be able to get rid of the popup box that asks permission to write to the printer. I tried using allow/write, but I couldn't get that to work. Does anyone know how to give blankent permission to write to the printer? Here's the script: REBOL [Title: "Send Mail"] mail: "[jimc--pronet--net]" file: read %test.txt printerfile: append file #"^L" ;appends a formfeed to file view layout [ across text white "Subject:" field 343 linen white below area wrap linen white file across button "Save" [write %test.txt file] button "E-mail" [send [jimc--pronet--net] file] button "Print" [write %//prn printerfile] ] Thanks, Jim