Problem of CUPS service

Rick Stevens rstevens at vitalstream.com
Wed Apr 12 18:29:13 UTC 2006


On Wed, 2006-04-12 at 13:59 +0800, fta7wmt at netvigator.com wrote:
> Dear All,
> 
> I want to ask some questions of printer configuration.
> I have config a local printer connect to station A and share to public.
> Then, I add the share printer to station B by
> - system-config-printer
> - double-click the "Browsed queues" and found the print queue of station A. 
> - right-click the share printer and set as default.
> - Apply and exit.
> After above config, I try to test the printer as command : lpr < abc.txt. However, I cannot find the job in station A with command "lpq".
> On the other hand, I use web access http://localhost:631 to click the "print test page".
> I can find the job in print queue of station A.
> 
> What is the problem of command "lpr < abc.txt"

Yes, the command would be "lpr abc.txt" (without the "<").  Other
valid commands would be:

	cat abc.txt | lpr
	lpr -P name-of-printer abc.txt

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   "Do you suffer from long-term memory loss?"  "I don't remember"  -
-                            -- Chumbawumba, "Amnesia" (TubThumping) -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list