Unix/Neoware/Linux Print Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • foal11
    New Member
    • Oct 2007
    • 4

    #1

    Unix/Neoware/Linux Print Problem

    Hi all,

    My problem is that I have generated a text file on unix which I want to print on a neoware(Neolinu x) box.

    The problem is that the line length is 2 big so when I print it the text is wrapped around.In windows we have the option of reducing font and printing.Is there any such option available on Unix..?


    The files to be printed will be placed on a Neoware machine ( a thin linux client ) which does not support any Unix print command except lpr (doesnt support a2ps/ensript/lp..)---> what I am looking for is a solution wherein I can either reduce the file font before hand on the unix machine and then send it to the Neoware for printing, or send the file to Neoware and print with a different font over there (though I tried all the lpr options on neoware..they arent working including page-left/landscape/lpi/cpi..etc)


    Is there no way of reformatting the text on Unix, like decreasing file font and saving it in a new file? Or how to install a2ps command on neoware..?


    Could someone suggest the best way for it..??
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    The font, style, and general appearance of the text as it is printed is a result of the tool you use to print it with. The same way that notepad and wordpad will print the same text file differently, if you wish to have Linux print a text file in a different way, you will need to print it from a more flexible program. I am not familiar with lpr, but there are a number of text editing programs with interfaces ranging from the command line to a full X11 interface--each with its own capabilities for printing.

    Originally posted by foal11
    Hi all,

    My problem is that I have generated a text file on unix which I want to print on a neoware(Neolinu x) box.

    The problem is that the line length is 2 big so when I print it the text is wrapped around.In windows we have the option of reducing font and printing.Is there any such option available on Unix..?


    The files to be printed will be placed on a Neoware machine ( a thin linux client ) which does not support any Unix print command except lpr (doesnt support a2ps/ensript/lp..)---> what I am looking for is a solution wherein I can either reduce the file font before hand on the unix machine and then send it to the Neoware for printing, or send the file to Neoware and print with a different font over there (though I tried all the lpr options on neoware..they arent working including page-left/landscape/lpi/cpi..etc)


    Is there no way of reformatting the text on Unix, like decreasing file font and saving it in a new file? Or how to install a2ps command on neoware..?


    Could someone suggest the best way for it..??

    Comment

    • foal11
      New Member
      • Oct 2007
      • 4

      #3
      Hi,
      Thanks for the reply..

      C the problem is that when I print the file on neoware,the file has already been generated on unix so I cant recreate the file again.All I have to do is print it.The text size as printed by default from Unix is 2 big.So either I format it from the source ,i.e Unix or print it with a smaller font,eg a2ps but that command is not available in Neolinux.

      So keeping in mind the above constraints,wha t would be the best way forward..?




      Originally posted by Motoma
      The font, style, and general appearance of the text as it is printed is a result of the tool you use to print it with. The same way that notepad and wordpad will print the same text file differently, if you wish to have Linux print a text file in a different way, you will need to print it from a more flexible program. I am not familiar with lpr, but there are a number of text editing programs with interfaces ranging from the command line to a full X11 interface--each with its own capabilities for printing.

      Comment

      • WhiteRider
        New Member
        • Sep 2007
        • 37

        #4
        Or how to install a2ps command on neoware..?
        I am a bit unclear on something. Why are you using the very basic commands on the thin client? When the file is transferred from the Unix machine to NeoWare why don't you use the server supplied OS (whatever it may be) to change the file and print it?

        It doesn't look like your using the thin client right...

        Comment

        • foal11
          New Member
          • Oct 2007
          • 4

          #5
          The option will only be available on NeoLinux and not from the server OS , i.e Suse Linux.

          The automated process willl be called from the thin client


          Originally posted by WhiteRider
          I am a bit unclear on something. Why are you using the very basic commands on the thin client? When the file is transferred from the Unix machine to NeoWare why don't you use the server supplied OS (whatever it may be) to change the file and print it?

          It doesn't look like your using the thin client right...

          Comment

          Working...