The code below doesn't work in Windows 98. Maybe it's because i dont use rebol/command.
I think i have to produce html text to browse and then print. Or produce a PDF document. > Philippe wrote: > > I want to know if it's possible to user a printer from a rebol program ? > > Try something like this: Rebol [] > Printer: func [ > "Sends text to printer on //prn." > [catch] > Text [string!] "The text to be printed." > /Page "Append Carriage Return (CR) and Page Feed." > ][ > throw-on-error [ > secure [ > %//prn [allow write] > ] > write %//prn Text > if Page [write/binary %//prn "^(0D)^(page)"] > Text > ] > ] > > ] > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
