For Programmers: Free Programming Magazines  


Home > Archive > Tcl > August 2004 > LPR Client









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author LPR Client
Hillel

2004-08-27, 4:00 pm

Has anyone here written an LPR client in TCL?

I need a Unix LPR client that can accept a variable hostname
for where to print, and every remote printer does not need
to be defined in /etc/printcap.

Thanks.
---Hillel
Steve Redler IV

2004-08-28, 8:56 pm

hseltzer@larich.com (Hillel) wrote in message news:<d2c4695f.0408270643.4e936561@posting.google.com>...
> Has anyone here written an LPR client in TCL?
>
> I need a Unix LPR client that can accept a variable hostname
> for where to print, and every remote printer does not need
> to be defined in /etc/printcap.


I posted code at http://mini.net/tcl/12281 that should work for you.
I use it regularly from my tcl text editor to print to a HP Laserjet 4100TN.

Regards,

Steve
Hillel

2004-08-31, 4:01 pm

steve@sr-tech.com (Steve Redler IV) wrote in message news:<6363a8ea.0408281431.5834e636@posting.google.com>...
>
> I posted code at http://mini.net/tcl/12281 that should work for you.
> I use it regularly from my tcl text editor to print to a HP Laserjet 4100TN.
>


Thanks! That did the trick.

---Hillel
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com