LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2004, 01:41 PM   #1
xmdms
Member
 
Registered: Oct 2003
Posts: 134

Rep: Reputation: 15
Setting a dummy printer in Red Hat 2.1


Hi guys,
I would like to creat a dummy printer so it can act as my holding report queue. Because of the application that I am running, I can only direct output to a printer and printer only. Therefore, I went and create a printer with a bogus IP address and not enabled the printer at all. I successfully created the printer and sent some pages to printer, but after awhile, my test print job dissapeared. Can a person creates a dummy queue or a dummy printer? Or yet, would it be another precedure to do this?

Please help!!

Thank you in advance.

xmdms
 
Old 08-18-2004, 10:20 PM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
set the printer to output to a file, when you go to setup a printer (in redhat)

open a terminal, run

/usr/bin/redhat-config-printer

click new
type name of printer
in queue type, press locally connected, then hit custom device
type in the name of a text file that is accessable by anyone (chmod 777 filename)

hit raw print queue

then print to it and you should be ok

this should hopefully do it, if it doesnt lemme know, and ill take a look
 
Old 08-19-2004, 10:31 AM   #3
xmdms
Member
 
Registered: Oct 2003
Posts: 134

Original Poster
Rep: Reputation: 15
Hi adamwenner,
I tried your recommendation and here's the result;
./usr/bin/redhat-config-printer: No such file or directory - I also tried running this utility without the period (.) and same result.

So, I used kde gui and added the device like you said. I sent an ascii text file to test it out and I did not see my test file. Here are the files that currently in the lpd directory
************************************************
control.test-po status test-po unspooler.test-po
log status.test-po test-po.acct VOLATILE
************************************************
Where is my file? And how can I test a raw file to this device?

Thanks for your help!

JB
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP Printer and Red Hat 8.0 linus321 Linux - Hardware 0 05-26-2005 10:26 AM
How To Set Up Lexmark Printer On Red Hat paschim Linux - Hardware 3 08-31-2004 05:12 PM
Red Hat 8.0 - Printer Font Size OldBob Linux - Newbie 0 08-29-2003 02:10 PM
how can i add a printer that is not listed in the "Red Hat Printer Config?" kublador Linux - Newbie 2 03-05-2003 08:37 PM
Printer Problem in Red Hat Linux 6.1 ratnavale Linux - Software 1 12-02-2000 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:19 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