<?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: problem with a network printer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744619#M68650</link>
    <description>The text file that I try to print isn't a dos file. I created it with vi.&lt;BR /&gt;I haven't used jetdirect to configure the printer; and SAM didn't ask the model of printer during the configuration of the printer like a remote printer.</description>
    <pubDate>Fri, 14 Jun 2002 06:28:42 GMT</pubDate>
    <dc:creator>Stefano_10</dc:creator>
    <dc:date>2002-06-14T06:28:42Z</dc:date>
    <item>
      <title>problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744616#M68647</link>
      <description>I have some problems printing on a network printer. I have configured a network printer like a remote printer in SAM. I have inserted the name, the ip-address and a remote name. &lt;BR /&gt;When I print a text file with lp command the printer prints the file whitout the CR: when starts a new line it begins to write from the next column in which finished the previous line. &lt;BR /&gt;If I print a pdf file the printer dosn't start to write from the first column of the paper sheet but more on the right. &lt;BR /&gt;Which parameters do I have to set and where can I set them? &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Fri, 14 Jun 2002 06:04:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744616#M68647</guid>
      <dc:creator>Stefano_10</dc:creator>
      <dc:date>2002-06-14T06:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744617#M68648</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You are printing a text file from a pc&lt;BR /&gt;&lt;BR /&gt;Put it through dos2ux before printing.&lt;BR /&gt;&lt;BR /&gt;see man page.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jetadmin software is free&lt;BR /&gt;&lt;BR /&gt;What type of printer is it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel</description>
      <pubDate>Fri, 14 Jun 2002 06:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744617#M68648</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-06-14T06:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744618#M68649</link>
      <description>Sounds like the printer driver is wrong or corrupt.&lt;BR /&gt;If it's an HP printer, older model drivers are often valid for new models with unavailable drivers.  If it's a new non-hp printer, they often offer emulation at some early hp level.  You might try something like laserjet III for a minimal configuration; if that works, look for a specific drive for your model.  Current jetadmin is available somewhere in hp-webland, which might contain the appropriate driver and/or uncorrupted drivers.&lt;BR /&gt;&lt;BR /&gt;Duh - have you tried power cycling the printer?  &lt;BR /&gt;greg.</description>
      <pubDate>Fri, 14 Jun 2002 06:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744618#M68649</guid>
      <dc:creator>Greg Martin</dc:creator>
      <dc:date>2002-06-14T06:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744619#M68650</link>
      <description>The text file that I try to print isn't a dos file. I created it with vi.&lt;BR /&gt;I haven't used jetdirect to configure the printer; and SAM didn't ask the model of printer during the configuration of the printer like a remote printer.</description>
      <pubDate>Fri, 14 Jun 2002 06:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744619#M68650</guid>
      <dc:creator>Stefano_10</dc:creator>
      <dc:date>2002-06-14T06:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744620#M68651</link>
      <description>one thing you can have a look at is the interface file for your printer /etc/lp/interface , it is probably using rlp to print , have a look in there if there are any options for sending CR character, the other thing is that it sounds like , a file is sent as it is to your printer , have a look at your printer to see if there is a CR/LF parameter if so set it on the printer. Another option is , try what Greg said , if your printer emulates a HP printer , set it up on the printer and add a printer using jetadmin.&lt;BR /&gt;&lt;BR /&gt;laters</description>
      <pubDate>Fri, 14 Jun 2002 06:52:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744620#M68651</guid>
      <dc:creator>Devbinder Singh Marway</dc:creator>
      <dc:date>2002-06-14T06:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744621#M68652</link>
      <description>Is it printing in "stair steps" manner ? Since you did not mention what printer it is, I'm guessing this is probably a third-party printer (non-HP) and sometimes you have to manually edit the lp interface file and append an escape code to solve this as long as the printer understand PCL it should work. Try this ..(assuming printer name = printer1)&lt;BR /&gt;# cd /etc/lp/interface&lt;BR /&gt;# cp printer1 printer1.org&lt;BR /&gt;# vi printer1&lt;BR /&gt;==&amp;gt; In between the line&lt;BR /&gt;&lt;BR /&gt;shift; shift; shift; shift; shift&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/rlp -I$requestid $BSDC $BSD ..&lt;BR /&gt;&lt;BR /&gt;append this&lt;BR /&gt;&lt;BR /&gt;mv $1 ${file}~&lt;BR /&gt;( echo "^[&amp;amp;k3G"; cat ${file}~ ) &amp;gt; $1&lt;BR /&gt;&lt;BR /&gt;Inserting the escape code can be tricky, you have to go to insert mode, while pressing CTRL, enter "v" and then ESC key followed by "&amp;amp;k3G".&lt;BR /&gt;Now try to print again ..&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2002 07:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744621#M68652</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-06-14T07:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744622#M68653</link>
      <description>yesterday I have try to use all the parameters present in the file in /etc/lp/interface/ but nothing solve the problem.&lt;BR /&gt;I have configured two printer a lexmark and an HP; and i have the same problem on both.&lt;BR /&gt;I have try to use the suggest of Chan:&lt;BR /&gt;mv $1 ${file}~ &lt;BR /&gt;( echo "^[&amp;amp;k3G"; cat ${file}~ ) &amp;gt; $1 &lt;BR /&gt;but nothing is changed.&lt;BR /&gt;i haven't found any parameters in the man of lp ro rlp to set the use of CR/LF.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2002 07:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744622#M68653</guid>
      <dc:creator>Stefano_10</dc:creator>
      <dc:date>2002-06-14T07:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744623#M68654</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If this is a HP printer then you should use Jetdirect&lt;BR /&gt;&lt;BR /&gt;You lose 90% of a printers options otherwise.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;               Steve Steel</description>
      <pubDate>Fri, 14 Jun 2002 07:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744623#M68654</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-06-14T07:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744624#M68655</link>
      <description>I succeded to configure correctly the hp printer that is a jetdirect printer using the instruction given by Chan in an other message.&lt;BR /&gt;Yesterday i had some problems to configure that printer like jetdirect printer in SAM.&lt;BR /&gt;Anyway I have a printer that give me the problem of above.&lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Fri, 14 Jun 2002 09:59:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744624#M68655</guid>
      <dc:creator>Stefano_10</dc:creator>
      <dc:date>2002-06-14T09:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744625#M68656</link>
      <description>This is a classic problem: network printing and remote printing. When we talk about JetDirect, we are referring to the HP interface card (and also the external adapter box) which can communicate using two protocols: rlp (port 515) and JetDirect (port 9100). If the printer is connected directly to the LAN *AND* you used the JetDirect software (not SAM) to add the printer using the addqueue command, then your problem will disappear and you'll have dozens of new options that will work.&lt;BR /&gt;&lt;BR /&gt;However, if you added to the printer to HP-UX as a remote printer, then rlp will be used, regardless of whether you are directing the print job to a PC server or to an HP JetDirect card or a non-HP network interface.  Under these conditions, there is *NO* trasnlation of the data, and a plain ASCII file on all flavors of Unix contains:&lt;BR /&gt;&lt;BR /&gt;text...LF more text...LF&lt;BR /&gt;&lt;BR /&gt;whic is what you see on your paper (stairstep). This can only be fixed in two ways:&lt;BR /&gt;&lt;BR /&gt;Instead of: lp -dMyPrinterName MyFile&lt;BR /&gt;&lt;BR /&gt;Use: ux2dos MyFile | lp -dMyPrinterName&lt;BR /&gt;&lt;BR /&gt;(the command ux2dos adds a CR to every LF, and the dos2ux command takes away the CR from every CR/LF pair)&lt;BR /&gt;&lt;BR /&gt;or:&lt;BR /&gt;&lt;BR /&gt;Assuming the printer is truly connected to the LAN by means of an HP JetDirect card, delete the printer in HP-UX with lpadmin -x and then run the addqueue command (found in /opt/hpnp/bin or /opt/hpnpl/bin) to add the printer. At that point, you'll have your expected output and options like -olandscape will start working.</description>
      <pubDate>Fri, 14 Jun 2002 10:37:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744625#M68656</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-06-14T10:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744626#M68657</link>
      <description>Bill, great discussion of the difference between remote and network printing, something I'd never looked at.  Should configuring a network thru SAM, which calls jetadmin, work for Stefano?  Command line jetadmin does (as I recall) bring up an interface with many more options for debugging, etc.&lt;BR /&gt;&lt;BR /&gt;Stefano, if you don't have jetdirect, it's a free download from somewhere in hp printer support (not the software site or patch site), also distributed on the cd with new hp printers.</description>
      <pubDate>Fri, 14 Jun 2002 21:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744626#M68657</guid>
      <dc:creator>Greg Martin</dc:creator>
      <dc:date>2002-06-14T21:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem with a network printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744627#M68658</link>
      <description>When you run SAM and select Add network printer, it will call jetadmin or hppi. jetadmin has been obsolete for some time but most of the functionality is found in hppi. Since addqueue, removequeue and modifyqueue are so easy to use, I usually recommend bypassing SAM or jetadmin/hppi.&lt;BR /&gt;&lt;BR /&gt;However, the reason for the detailed explanation is the confusion over network printers versus remote printers (on print servers). SAM can add either but remote printers have very limited capability (unless the remote print server is also HP-UX). Thus, the preferred connection is through an HP JetDirect card in the printer. But if thatis not the case, the connection must be a remote printer.</description>
      <pubDate>Sat, 15 Jun 2002 01:05:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-a-network-printer/m-p/2744627#M68658</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-06-15T01:05:06Z</dc:date>
    </item>
  </channel>
</rss>

