Julius,

My xterm works with transparent printing commands.

Turn on the printer port with \E[5i
and turn it off with \E[4i, just like vt100.


The following script will print to the printer:

   echo -e "\033[5i"
   echo "hello"
   echo -e "\033[4i"


The printer is setup in the .Xdefaults file.
I've got mine setup like this:

  xterm*printerCommand:   lpr -Plaser
  xterm*printAttributes:  0
  xterm*printerFormFeed:  false
  xterm*printerAutoClose: true


This works with the standard xterm that is part of the XFree86
package on Redhat 7.2.


I hope that helps,

Jim McQuillan
[EMAIL PROTECTED]



On Mon, 10 Feb 2003, Julius Szelagiewicz wrote:

> Krishna,
>       in the proper american idiom you are sol. Neither Gnome, nor KDE,
> nor plain xterm support local printing. I find it very,very frustrating.
> You will be forced to create hp direct style queues and do rewrites to
> perfectly good software to accomodate them. The really insulting part is
> that the print queues are not fully 2-way.
>       I have talked to Mike Meeks of Ximian at the Linuxworld, and he
> says that gnome term might be extended to support screen print of
> character data, but seems to be opposed to any support of the xterminal
> style printing controlled by xdefaults specified attributes (no
> decTerminalID or PrinterCommand for us). Very, very frustrating. I have
> actually gone through the rewrite of my business app to accomodate the
> broken printing on linux ("we like the xterm, but we sure don't understand
> the man pages"  seems to be the motto there). There is a commercial app
> that supposedly supports local print, but I just couldn't make it run.
> good luck, julius
> 
> On Mon, 10 Feb 2003, [iso-8859-1] Krishna Padilha wrote:
> > I have some terms that use telnet to connect to ltsp
> > I need to use the printer attached to term via slave
> > printer command. Anyone knows how do I make that?
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net
> 

-- 



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to