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

Printer

 [1/2] 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

 [2/2] from: giovanni::cardona::com at: 4-May-2001 10:11


Maybe you want to call the script with parameters like -s -w -q -i --script to avoid rebol console and override permissions. -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=- "Miracles happen only to those who believe in them." * Visit 'The International Order of Sea-Monkey Owners' web site * http://home.coqui.net/menace/seamonke.htm * To subscribe to our monthly news, send a blank email to: * [instantlife-subscribe--listbot--com]