Re: help with printing, please...
> > sorry, this is a second request... > > Is there any way I can send what's actually showing on the on the screen > to the printer? I'm trying to get XFree86 running and getting a lot of > error messages. I'd like to be able to print these out so I can try to > address the problems without having to write everything down... As is > obvious, I'm really new at this Linux stuff, so I'm still very much in > the thrashing around stages. I've seen a lot of answers, but seem to have missed someone that mentioned redirecting the standard error stream, that usually contains the errors. I would suggest you send the messages to a file before printing (because there can be many of them). Supposing you start X using startx, that would be in bash: startx > my_errors 2>&1 in tcsh: startx >& my_errors Hope this helps, Eric Meijer E.L. Meijer ([EMAIL PROTECTED]) | tel. office +31 40 2472189 Eindhoven Univ. of Technology | tel. lab. +31 40 2475032 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax+31 40 2455054 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: help with printing, please...
Rick Jones wrote: > > Just type "command > lpr". Replace command with the command you want print > the output of. This will send the output to lpr (printer). You can also > look at .xsession-errors (in home dir) and xdm-errors in the /var/log dir, > depending on what you are doing and at what point you get the errors. Of course you mean "command | lpr". Note that this requires the installation of the lpr package. > Just play with combo's of the above and you will get all the errors. Also > read the man page on the command and see if you can increase debugging > with an arg (-d or --debug normally). > > On Tue, 29 Apr 1997, smorrill wrote: > > > sorry, this is a second request... > > > > Is there any way I can send what's actually showing on the on the screen > > to the printer? I'm trying to get XFree86 running and getting a lot of > > error messages. I'd like to be able to print these out so I can try to > > address the problems without having to write everything down... As is > > obvious, I'm really new at this Linux stuff, so I'm still very much in > > the thrashing around stages. > > > > I'm using Debian Release 1.2 on a 586 / 133 mhz coexisting with > > winbloze95... I can't even get my ppp stuff going yet so I have to still > > use winbloze to connect to the 'net.. I'm so ashamed!! :( -- Jens B. Jorgensen [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: help with printing, please...
Rick Jones <[EMAIL PROTECTED]> writes: > > > Just type "command > lpr". Replace command with the command you want print That should be "command | lpr". Otherwise you'll just get a file called `lpr', which of course one could print :) Graeme -- | Graeme A Stewart, pgp public key finger [EMAIL PROTECTED]| | Key fingerprint = AF C7 BF A4 52 D5 3C 3B 17 A5 62 43 DA 15 E8 97 | | "Keep a good head, and always carry a lightbulb." Dylan | -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: help with printing, please...
Just type "command > lpr". Replace command with the command you want print the output of. This will send the output to lpr (printer). You can also look at .xsession-errors (in home dir) and xdm-errors in the /var/log dir, depending on what you are doing and at what point you get the errors. Just play with combo's of the above and you will get all the errors. Also read the man page on the command and see if you can increase debugging with an arg (-d or --debug normally). On Tue, 29 Apr 1997, smorrill wrote: > sorry, this is a second request... > > Is there any way I can send what's actually showing on the on the screen > to the printer? I'm trying to get XFree86 running and getting a lot of > error messages. I'd like to be able to print these out so I can try to > address the problems without having to write everything down... As is > obvious, I'm really new at this Linux stuff, so I'm still very much in > the thrashing around stages. > > I'm using Debian Release 1.2 on a 586 / 133 mhz coexisting with > winbloze95... I can't even get my ppp stuff going yet so I have to still > use winbloze to connect to the 'net.. I'm so ashamed!! :( > > TIA > --- > > Steve Morrill > > > > > > > Please reply to <[EMAIL PROTECTED]>.. + PGP pub key id: 0xF2459FCD < > > > header changed to prevent spamming! + Linux..it's not just an OS, < > > > + it's an adventure! < > > > > -- > Steve Morrill > > > > Please reply to <[EMAIL PROTECTED]>.. + PGP pub key id: 0xF2459FCD < > > header changed to prevent spamming! + Linux..it's not just an OS, < > > + it's an adventure! < > > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . > Trouble? e-mail to [EMAIL PROTECTED] . > > --Rick [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: help with printing, please...
In your email to me, smorrill, you wrote: > > sorry, this is a second request... > > Is there any way I can send what's actually showing on the on the screen > to the printer? I'm trying to get XFree86 running and getting a lot of > error messages. I'd like to be able to print these out so I can try to > address the problems without having to write everything down... As is > obvious, I'm really new at this Linux stuff, so I'm still very much in > the thrashing around stages. Try using 'script', or, if you just have a virtual console with stuff on it you want to print, you can say 'cat /dev/vcs1|lpr' if you were on tty1, use vcs2 for tty2, etc Tim -- (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps "Any jackass can kick a barn down, but it takes a carpenter to build it." -- Sam Rayburn ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.** -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: help with printing, please...
smorrill wrote: > > sorry, this is a second request... > > Is there any way I can send what's actually showing on the on the screen > to the printer? I'm trying to get XFree86 running and getting a lot of > error messages. I'd like to be able to print these out so I can try to > address the problems without having to write everything down... As is > obvious, I'm really new at this Linux stuff, so I'm still very much in > the thrashing around stages. > > I'm using Debian Release 1.2 on a 586 / 133 mhz coexisting with > winbloze95... I can't even get my ppp stuff going yet so I have to still > use winbloze to connect to the 'net.. I'm so ashamed!! :( > Ok. Assuming you are printing via the standard (what would be LPT1 in Dos/Windows) parallel port and your printer is ok to print plain ascii when it receives it: 1) Make sure you have parallel port support in your kernel. I don't know if it is by default these days. You can find out by doing 'cat /proc/devices'. You should see a line under "Character devices:" which says 'X lp'. If so then you're set with the kernel. Then, you should be able to print by just directing the output from X into the device. You'll have to make sure that the perms on the device allow writing by whoever you're running as. If you use startx to run X, then you can type: startx >/dev/lp1 2>&1 This should send all that diag info to the printer (although a formfeed may be necessary if your printer won't print out the last page until it receives this. Then you could do an echo '\f' > /dev/lp1 To get the printer to spit out the page. -- Jens B. Jorgensen [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
help with printing, please...
sorry, this is a second request... Is there any way I can send what's actually showing on the on the screen to the printer? I'm trying to get XFree86 running and getting a lot of error messages. I'd like to be able to print these out so I can try to address the problems without having to write everything down... As is obvious, I'm really new at this Linux stuff, so I'm still very much in the thrashing around stages. I'm using Debian Release 1.2 on a 586 / 133 mhz coexisting with winbloze95... I can't even get my ppp stuff going yet so I have to still use winbloze to connect to the 'net.. I'm so ashamed!! :( TIA --- > Steve Morrill > > > > Please reply to <[EMAIL PROTECTED]>.. + PGP pub key id: 0xF2459FCD < > > header changed to prevent spamming! + Linux..it's not just an OS, < > > + it's an adventure! < > -- Steve Morrill > Please reply to <[EMAIL PROTECTED]>.. + PGP pub key id: 0xF2459FCD < > header changed to prevent spamming! + Linux..it's not just an OS, < > + it's an adventure! < -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .