lotus

previous page: 61  What do I need to run AMosaic?
  
page up: Amiga Networking FAQ
  
next page: 63  Having problems with "service looping" with http?

62 Is there a way to print from AMosaic using arexx?




Description

This article is from the Amiga Networking FAQ, by Richard Norman with numerous contributions by others.

62 Is there a way to print from AMosaic using arexx?

Thanks to a Quick and Dirty Hack by Mike Meyer there is!

Although I tried to type it in correctly, I cannot guarantee that it will work since I have no way to test it.

/ * * A QAD hack to print from Mosaic via the Rexx interface */ arg style if ~show('Libraries', 'rexxarplib.library') then if ~addlib('rexxarplib.library', 0, -30) then do say "No rexxarplib, so no posting!" exit end

options results

select when style = "TEXT" then 'get text' when style = "FORMATTED" then 'get formatted' when style = "POSTSCRIPT" then do call request 0, 0, "Postscript doesn't work yet!" exit end

otherwise call request 0, 0, "Invalid argument" style end

if ~open(printer, "prt:", "Write") then do call request 0, 0, "Can't open printer!" exit end

call writech printer, result exit

 

Continue to:













TOP
previous page: 61  What do I need to run AMosaic?
  
page up: Amiga Networking FAQ
  
next page: 63  Having problems with "service looping" with http?