Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217
Rep:
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.