[REBOL] Re: Network printing
From: ric_shepard:fishgame:state:ak:us at: 19-Dec-2000 9:51
Using REBOL/Command in a Windows type (e.g., peer to peer, NT server, SAMBA)
network environment you can access network printer(s) by:
creating a printer connection
>> call "NET USE LPTx \\SERVER\PRINTER"
echo to the printer
>> echo %LPT1 print "This is a printer test" echo none
or use a port
>> ptr: open/lines %LPT1
>> insert tail ptr "This is line 1"
>> insert tail ptr "This is line two"
>> close ptr
or .... all the other 'port' variations ....
kill the printer connection
>> call "NET USE LPT1 /DELETE"
HTH
CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
wrote:
> Hi Rebolians:
>
> Does anyone know how I could get REBOL/Command print to a network printer ?
>
> I tried:
>
> >> p: open prn://CRSSRV002/CATPrint ====> this last is the network name of
> the printer
> ** Access Error: Invalid port spec: prn://CRSSRV002/CATPrint.
> ** Where: p: open prn://CRSSRV002/CATPrint
>
> Any suggestion ?
>
> Regards,
>
> Christophe
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Ric Shepard <[ric_shepard--fishgame--state--ak--us]>
Microcomputer/Network Specialist
Alaska Department of Fish and Game