re: SV: re: Printer problems
"J C" <[email protected]>
| Newsgroups | gmane.linux.pxes.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Einar, I think the problems you are experiencing are related to the versions of the printing utils/daemons (lpd and lpc) that you're using. I think this because I didnt have to copy over different library files to get my copies of lpd and lpc to work. Unfortunately it was some time ago that i extracted them and i am not sure of the exact rpms i used. I believe it was either of the following: LPRng-3.7.4-28.2.i386.rpm (Redhat 7.2) or lpr-0.50.5-1.i386.rpm (Redhat 6.2). To extract all the files in the rpm do the following: 'rpm2cpio lpr-0.50.5-1.i386.rpm | cpio -ivd'. That command will treat your current directory as the system root and instead you will find all of the files in the rpm extracted here. This makes it so you dont have to mess up the system you're working on. With the version of lpd I have it gives no error when i run it again (even after the daemon has already been started). Also I get the following with 'lpc status all': lp: queuing enabled printing enabled no entries no daemon present To answer your other question about lpd.conf and lpd.perms, i did not edit those files, infact i do not have them in my /etc directory or anywhere else. Once you think you may have lpd and lpc running properly try printing through lpr by issuing the following: cat /etc/printcap | lpr This should print out a hard copy of the printcap file but through the lpd/lpc daemons instead of directly to the printer device. If this works you should be in good shape to use the printer in Citrix. Tell me how it goes! Justin Chevrier >Hey Justin > >Thanks for taking time to help me out :) > > >When issuing lpd on the command line I get a fatal error stating that its >already started and has process id 584. So its running. >Trying lpc restart all doesnt work, since restart is not a valid command I >guess. >But a lpc start all give me back the printername on a new line.... >lp@P19216810156 > > >Do I have to do anything with lpd.conf and lpd.perms ? Or can I ignore >these >? > >Also...when I copied in the files lpd and lpc as stated in the howto, I >also >had to supply some library files and such to make it work. >I assume you didn't mention this because it was obvious you had to do that >:) > >Regards, > >Einar _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/