File formatting and printing commands in linux in hindi

Linux mein file formatting aur printing commands ka istemal text files ko format karna, print karna, aur print jobs ko manage karne ke liye hota hai. Niche kuch common file formatting aur printing commands aur unke examples diye gaye hain:

File formatting and printing commands in linux in hindi

  1. lpr (Line Printer):
  • lpr command ka istemal text files ko print karne ke liye hota hai. Example:
   lpr file.txt
  1. lpq (Printer Queue):
  • lpq command ka istemal printer queue (print jobs ki list) ko dekhne ke liye hota hai. Example:
   lpq
  1. lprm (Remove Print Jobs):
  • lprm command ka istemal specific print job ko queue se remove karne ke liye hota hai. Example:
   lprm job_id
  1. enscript (Text to PostScript Converter):
  • enscript command ka istemal text files ko PostScript format mein convert karne aur print karne ke liye hota hai. Example:
   enscript -p output.ps file.txt
  1. a2ps (ASCII to PostScript Converter):
  • a2ps command ASCII text files ko PostScript format mein convert karne aur print karne ke liye hota hai. Example:
   a2ps -o output.ps file.txt
  1. lp (Line Printer):
  • lp command ka istemal text files ko print karne ke liye hota hai. Example:
   lp file.txt
  1. lpstat (Printer Status):
  • lpstat command ka istemal printer status aur print jobs ki information ko dekhne ke liye hota hai. Example:
   lpstat -t
  1. pr (Print Files):
  • pr command ka istemal text files ko columns aur headers ke sath format karne ke liye hota hai. Example:
   pr -3 file.txt
  1. txt2ps (Text to PostScript Converter):
  • txt2ps command ASCII text files ko PostScript format mein convert karne aur print karne ke liye hota hai. Example:
   txt2ps -o output.ps file.txt
  1. enscript (Text to PostScript Converter):
    • enscript command ka istemal text files ko PostScript format mein convert karne aur print karne ke liye hota hai.
    Example: enscript -p output.ps file.txt

In commands ka istemal Linux terminal mein kiya ja sakta hai, aur inka istemal text files ko print ready format mein convert karke print karne aur print jobs ko manage karne ke liye hota hai.

Leave a Comment