Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-08-2005, 07:53 PM   #1
LQ Newbie
Registered: Mar 2005
Distribution: Slackware 10
Posts: 14

Rep: Reputation: 0
Trouble printing raw from browser (maybe my lack of bash knowledge)

Hi Guys,

I'm trying to send raw data to a printer from firefox. I think the best way to do this is with shell script.

I need to be able to send a text stream (which includes binary control chars) to an external file untouched (ie: not PS'ed). I've tried pointing firefox to a shell script that looks for input either as arguments or from stdin and nothing seems to be getting passed in.

How can I get this data out of the browser unscathed?

FYI: The aim of this is to send data to a thermal receipt printer.

TIA, Karl.

echo $1>one.txt
echo $2>two.txt
while read line
echo $line >> out.txt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba "raw" printing problem aclaunch Linux - Networking 2 08-16-2004 05:28 PM
what command to give if printing is RAW? bahadur Linux - Networking 1 07-23-2004 09:28 AM
Printing from Web Browser John Velman Linux - Software 4 02-24-2004 02:34 PM
Paranoia due to lack of knowledge downinthemine Linux - Security 2 12-04-2003 01:37 AM
printing pdf from konqueror browser mike@wales Linux - Software 0 07-12-2003 10:06 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration