<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: command line printing format problem ( urgent ) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190571#M164628</link>
    <description>Hi A. Clay,&lt;BR /&gt;&lt;BR /&gt;I read that PDF 2 weeks ago, I tried to use Lexmark's utility to install the driver, but it didn't work, even haven't printed out any paper :(&lt;BR /&gt;Please read my message above...&lt;BR /&gt;&lt;BR /&gt;BTW, my Lexmark printer is Network printer, not remote printer...&lt;BR /&gt;Something strange is that there is no option in SAM to config non-HP network printer, so, I used "remote printer" from menu to create a new queue, and it worked, just can't print out good formatted paper via commmand line...&lt;BR /&gt;&lt;BR /&gt;Any suggestion for this ?</description>
    <pubDate>Thu, 12 Feb 2004 13:33:30 GMT</pubDate>
    <dc:creator>yyghp</dc:creator>
    <dc:date>2004-02-12T13:33:30Z</dc:date>
    <item>
      <title>command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190561#M164618</link>
      <description>OS: HP-UX 11.11 ( PHCO_29209 loaded )&lt;BR /&gt;Printer: Lexmark Network Printer ( Optra SE 3455 )&lt;BR /&gt;I setup print queue using SAM.&lt;BR /&gt;&lt;BR /&gt;Now, I can easily use Netscape in HP-UX to print out any HTML file and plain text file successfully, even HTML files with images. And also I can use a Lexmark printer test utility to print out a formatted letter paper with different fonts.&lt;BR /&gt;But the problem now is that I have problem to use command line to print out a plain text file in correct format, like the file '/etc/passwd', etc.( I have tried so many pain text files but failed to print out good format paper, and I have to use command line to schedule my printing job )&lt;BR /&gt;&lt;BR /&gt;For example, when i wanted to print out /etc/passwd with: lp -d&lt;PRINTQUEUE&gt; /etc/passwd&lt;BR /&gt;or  lp -d&lt;PRINTQUEUE&gt; -o letter /etc/passwd&lt;BR /&gt;&lt;BR /&gt;root:*:0:3::/:/sbin/sh&lt;BR /&gt;daemon:*:1:5::/:/sbin/sh&lt;BR /&gt;bin:*:2:2::/usr/bin:/sbin/sh&lt;BR /&gt;sys:*:3:3::/:&lt;BR /&gt;adm:*:4:4::/var/adm:/sbin/sh&lt;BR /&gt;uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico&lt;BR /&gt;lp:*:9:7::/var/spool/lp:/sbin/sh&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The result I got is:  ONLY 1 letter size paper&lt;BR /&gt;&lt;BR /&gt;root:*:0:3::/:/sbin/sh&lt;BR /&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;daemon:*:1:5::/:/sbin/sh&lt;BR /&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;bin:*:2:2::/usr/bin:/sbin/sh&lt;BR /&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;&lt;SPACE&gt;sys:*:3:3::/:&lt;BR /&gt;&lt;BR /&gt;(NOTE: those &lt;SPACE&gt;s stand for blank, because I don't know how to use real &lt;SPACE&gt; in this forum)&lt;BR /&gt;(Only 4 lines were printed, and each line was aligned to the right side, ALL other lines are missing)&lt;BR /&gt;&lt;BR /&gt;So, how to control such printing format in this case ? Is there any good document for HP-UX printing formating ?&lt;BR /&gt;Thanks !&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/PRINTQUEUE&gt;&lt;/PRINTQUEUE&gt;</description>
      <pubDate>Thu, 12 Feb 2004 11:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190561#M164618</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2004-02-12T11:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190562#M164619</link>
      <description>Lexmark has a set of drivers and printer commands that integrate into the lp subsystem. Your first task will be to download/install this package AND download/study the associated manual.&lt;BR /&gt;This also allows you to customize the interface files.&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://downloads.lexmark.com/cgi-perl/downloads.cgi?ccs=229:1:0:175:0:0&amp;amp;emeaframe=&amp;amp;fileID=886" target="_blank"&gt;http://downloads.lexmark.com/cgi-perl/downloads.cgi?ccs=229:1:0:175:0:0&amp;amp;emeaframe=&amp;amp;fileID=886&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Formatting in UNIX is the sole responsibily of the application. I suspect that Netscape is actually printing everything in PostScript.</description>
      <pubDate>Thu, 12 Feb 2004 12:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190562#M164619</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-02-12T12:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190563#M164620</link>
      <description>you have to activate Auto CR/LF on the printer.&lt;BR /&gt;to do this use markvision, directly via printer control panel, or put the printer IP address on your browser. Go to PCL emulation menu.&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;Gustavo.-</description>
      <pubDate>Thu, 12 Feb 2004 12:34:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190563#M164620</guid>
      <dc:creator>Gustavo Ferraro</dc:creator>
      <dc:date>2004-02-12T12:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190564#M164621</link>
      <description>I have always downloaded drivers(more than 100MB) and installed in the system before I posted this message. I think if something wrong with the driver, I couldn't use Netscape to print out a very good formated paper, even with images.&lt;BR /&gt;I think the problem is that when I use 'lp' to send job to print queue, I don't know how HP-UX control the printing format at this time, that's why i got a bad formated paper.&lt;BR /&gt;I think maybe there is a config file which i need to setup properly to define the print format before I can use command line 'lp', or is there any other 'lp' options/parameters which I need to use ?&lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
      <pubDate>Thu, 12 Feb 2004 12:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190564#M164621</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2004-02-12T12:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190565#M164622</link>
      <description>hi Gustavo,&lt;BR /&gt;&lt;BR /&gt;How to use Markvision? &lt;BR /&gt;could you please tell me more detail about that ?&lt;BR /&gt;Where's control panel ? you mean CDE's ?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 12 Feb 2004 12:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190565#M164622</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2004-02-12T12:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190566#M164623</link>
      <description>hi Gustavo,&lt;BR /&gt;&lt;BR /&gt;Another thing is that I can use my windows Notepad to print out plain text file( like readme.txt ) to that printer without any format problem.</description>
      <pubDate>Thu, 12 Feb 2004 13:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190566#M164623</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2004-02-12T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190567#M164624</link>
      <description>I would remove the printer (with SAM), then recreate it using the lexprt utility:&lt;BR /&gt;&lt;BR /&gt;The Lexmark driver package must be installed first.&lt;BR /&gt;&lt;BR /&gt;The file to download from &lt;A href="http://drivers.lexmark.com/" target="_blank"&gt;http://drivers.lexmark.com/&lt;/A&gt; is DRIVERS-HPUX1X.PKG.Z&lt;BR /&gt;&lt;BR /&gt;uncompress it then swinstall it.&lt;BR /&gt;&lt;BR /&gt;It will install "Lexmark Enhanced Printer Drivers Package" and "Lexmark Screen Fonts Package". After completion, run: /opt/lexmark/setup.print (use the default of bin for Administrative group, and install fonts as an additional font directory.&lt;BR /&gt;&lt;BR /&gt;Then use /usr/bin/lexprt program to add queues.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Feb 2004 13:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190567#M164624</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-02-12T13:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190568#M164625</link>
      <description>Actually Netscape would print to a Remote printer without the Lexmark Drivers. It would simply send Postscript as raw data and that would work just fine. Remote printers are very limited in their formatting abilities. Network printers are not. The first clue that you were not doing this correctly was adding the printer using SAM. Lexmark provides a utility called 'lexprt' to add printer. Use that. Again, download and study this manual, it will guide you through the process.&lt;BR /&gt;&lt;A href="ftp://ftp.lexmark.com/driver/unix/Drivers/docs/drivers-userguide.pdf" target="_blank"&gt;ftp://ftp.lexmark.com/driver/unix/Drivers/docs/drivers-userguide.pdf&lt;/A&gt;</description>
      <pubDate>Thu, 12 Feb 2004 13:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190568#M164625</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-02-12T13:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190569#M164626</link>
      <description>I have tried to install the package before, and added queue using lexmark's utility, but the problem is that when i tried to print out a text file, even its test paper, it didn't work, no paper coming out, and the print queue was been disabled !&lt;BR /&gt;I could see the error message via using 'lpstat -t' that:&lt;BR /&gt;Messsage: disabled by scheduler, Printer interface script returned non-zero exit status&lt;BR /&gt;And the print queue can't be enabled !&lt;BR /&gt;I got a solution for this error message from Lexmark's website(that's a bug), which asked me to download one file called "marknet_model" from Lexmark's website and replaced the queue interface file "/usr/spool/lp/interface/&lt;QUEUE_NAME&gt;".&lt;BR /&gt;Unfortunately, no progress, same error !&lt;BR /&gt;Unless I used SAM to create a queue, which replaced that interface file "/usr/spool/lp/interface/&lt;QUEUE_NAME&gt;", then I can print out good formatted documents via Netscape or Lexmark's utility, but got bad formatted paper while using command line 'lp'.&lt;/QUEUE_NAME&gt;&lt;/QUEUE_NAME&gt;</description>
      <pubDate>Thu, 12 Feb 2004 13:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190569#M164626</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2004-02-12T13:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190570#M164627</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Markvision is a printer managment software from Lexmark. It's free, and come with the  drivers CD of almost every Lexmark printer {or you can download from &lt;A href="http://www.lexmark.com}." target="_blank"&gt;www.lexmark.com}.&lt;/A&gt; With markvision yo can control, setup and configure several network printers in remote way. &lt;BR /&gt;By Control Panel I means the physical panel on the printer.&lt;BR /&gt;I guess you have trouble with "raw line printing" because "lp" command does not format the output nor uses PCL/PS commands to "accomodate" the printing. It sends plain text to the printer. Instead Notepad, Netscape uses printer driver to format the output, with apropiate print control commands to format the output.&lt;BR /&gt;&lt;BR /&gt;Gustavo.-&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Feb 2004 13:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190570#M164627</guid>
      <dc:creator>Gustavo Ferraro</dc:creator>
      <dc:date>2004-02-12T13:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190571#M164628</link>
      <description>Hi A. Clay,&lt;BR /&gt;&lt;BR /&gt;I read that PDF 2 weeks ago, I tried to use Lexmark's utility to install the driver, but it didn't work, even haven't printed out any paper :(&lt;BR /&gt;Please read my message above...&lt;BR /&gt;&lt;BR /&gt;BTW, my Lexmark printer is Network printer, not remote printer...&lt;BR /&gt;Something strange is that there is no option in SAM to config non-HP network printer, so, I used "remote printer" from menu to create a new queue, and it worked, just can't print out good formatted paper via commmand line...&lt;BR /&gt;&lt;BR /&gt;Any suggestion for this ?</description>
      <pubDate>Thu, 12 Feb 2004 13:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190571#M164628</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2004-02-12T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190572#M164629</link>
      <description>Thank you very much Gustavo Ferraro !&lt;BR /&gt;You are right !!!!!!!!!!!&lt;BR /&gt;After I went to the physical printer and changes the setting in PCL EMUL MENU for CR/LF ( turned them to ON ), I can now successfully print out a formatted plain text file !&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Feb 2004 14:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190572#M164629</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2004-02-12T14:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: command line printing format problem ( urgent )</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190573#M164630</link>
      <description>Hi guys ,&lt;BR /&gt;  i have the same problem on a HP Laserjet 5Si printer and I could not find the LF-CR option to turn it on..I found that this is a problem of missing filters... that the carriage return does not also send the next line to the first column ... but since this printer is a network printer.. i was wondering even if i find this LF-CR option ,will turning it on affect my other users printing from windows.. what do i do ?&lt;BR /&gt;if this is the only solution where is this option on the laserjet 5&lt;BR /&gt;&lt;BR /&gt;thanx</description>
      <pubDate>Tue, 29 Jun 2004 06:03:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-line-printing-format-problem-urgent/m-p/3190573#M164630</guid>
      <dc:creator>Victor_101</dc:creator>
      <dc:date>2004-06-29T06:03:25Z</dc:date>
    </item>
  </channel>
</rss>

