LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-20-2009, 10:50 AM   #1
SantoshSonavale
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Rep: Reputation: 0
Lightbulb Print to File


Dear All,

I want to configure file printer (print to file) on my rhel-5 machine in such a way that if users fire print command from windows xp it should create an individual computer wise txt file on my linux machine. File name should be different for each printer.

Regards,

Santosh Sonavale.
Mob.: 9773673163.
 
Old 10-21-2009, 07:54 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Here's an idea: http://lists.clug.org.za/pipermail/c...st/033531.html

Essentially, replace the CUPS server's backend binary (/usr/lib/cups/backend/usb, per say) with a script that dumps incoming print requests to files of your designation.

What is the motivation behind this, though? If your Windows users aren't sophistocated and you're looking for some household interface for them to use, why not email? It's probably easier to setup a mail address and then you'd already have a flat text file in /var/spool/mail.

Last edited by jhwilliams; 10-21-2009 at 07:56 PM.
 
Old 10-21-2009, 08:20 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I am also curious as this is somewhat a strange requirement. What is a "computer wise text file"?
 
  


Reply



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
sed: print section of file from string to end of file samyboy Linux - Newbie 4 02-26-2008 07:23 AM
cannot print html file wkwireless Linux - Hardware 1 09-18-2007 12:56 PM
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
How to print the document to file sureshkellemane Linux - Newbie 4 09-12-2005 03:08 AM
Setting up a print to file print driver Bill Fox Linux - General 0 02-26-2005 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:13 AM.

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