[1/6] from: coussement:c:itc:mil:be at: 19-Dec-2000 17:33
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
[2/6] from: bo:rebol at: 19-Dec-2000 9:23
Christophe, Some network printers support the FTP protocol. Perhaps this would be a good method to try. Hope this helps! -Bo On 19-Dec-2000/17:33:27+1:00, [COUSSEMENT--C--ITC--mil--be] wrote:
>Hi Rebolians: >Does anyone know how I could get REBOL/Command print to a network printer ?
<<quoted lines omitted: 10>>>[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
-- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 707-467-8000 (http://www.rebol.com) The Official Source for REBOL Books (http://www.REBOLpress.com)
[3/6] from: mat:eurogamer at: 19-Dec-2000 17:31
Heya bo, brc> Some network printers support the FTP protocol. Perhaps this would be a brc> good method to try. Don't they operate out of a spool dir? Or at least Epson stuff does. You could set up FTP and FTP into the spool dir I suppose? -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com
[4/6] 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 ?
<<quoted lines omitted: 10>>> [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
[5/6] from: coussement:c:itc:mil:be at: 20-Dec-2000 9:03
Ric: Thanks for your answer: it works all OK ! :-)) Perhaps there's no multiplatform approach to this problem, but I was just wondering why the problem was not discussied in the Core User guide or in the 'official guide'... After all, it remains an essential feature ( just think about reports ...). OK, you can generate a magnificent html page which you can print. But what about it if you have 100 different reports to print (like I have). Does the operator then have to execute 100 times the same print procedure ?... Lot of work ! Bad approach ! I hope RT will consider this problem, and bring a solution... Regards, Christophe
[6/6] from: coussement::c::itc::mil::be at: 20-Dec-2000 9:05
Bo: Thanks for your answer, but this won't work in our actual env... But I will try to implement such a solution in a near futur ! Regards, Christophe
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted