![]() |
![]() |
Articles / TULARC / PC info / Amiga / Amiga Networking / | ![]() |
|
![]() |
||||
![]() |
![]() |
|||
![]() |
![]() |
|||
![]() |
||||
|
|
||||
![]() |
![]() |
|||
![]() |
62 Is there a way to print from AMosaic using arexx? |
![]() |
||
![]() |
||||
![]() |
![]() |
![]() |
||
![]() |
||||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
|
|
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
This article is from the Amiga Networking FAQ, by Richard Norman with numerous contributions by others.
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:
amiga, pc, hardware, sotware, networking
![]() |
|
|