<?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: xpr in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184260#M163471</link>
    <description>xpr is really, really outdated. Look at the man pages for the 'supported' printers and all of them have been obsolete for more than a decade. Unfirtunately, there really isn't anything useful for printing graphics images. What your users probably need is a word processing program that can insert graphics images, but the xwd format is unique to Xwindows.&lt;BR /&gt; &lt;BR /&gt;You can get a copy of the Portable BitMap utilities from &lt;A href="http://hpux.connect.org.uk/hppd/hpux/X11/Graphics/netpbm-10.6/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/X11/Graphics/netpbm-10.6/&lt;/A&gt; &lt;BR /&gt;The PBM utils can convert more than a dozen different bitmap formats (including xwd) into a format-neutral ASCII file which can then be manipulated (rotated, colors converted, contrast changed, brightness changed, etc) by running the PBM file through command-line filters. Once converted, the result can then be written to a different format (jpeg, bmp, gif, etc) and included in a formatting program.</description>
    <pubDate>Fri, 06 Feb 2004 11:46:52 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-02-06T11:46:52Z</dc:date>
    <item>
      <title>xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184257#M163468</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;My users are creating screen dumps and trying to print them to an HPLJ5000N via xpr. The resulting prints are too small and cramped in the top right-hand corner of the page.&lt;BR /&gt;&lt;BR /&gt;I have used xwud to confirm that the screen dump has worked correctly and I have played about with the xpr settings (mainly the grey, left, and top) but not managed to improve things greatly.&lt;BR /&gt;&lt;BR /&gt;The command we are using is /usr/contrib/bin/X11/xpr -device ljet &lt;FILENAME&gt; -gray 2 | lp -oraw -dlvpdplia04 -onb&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 05 Feb 2004 11:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184257#M163468</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-02-05T11:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184258#M163469</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Here's how we do it:&lt;BR /&gt;&lt;BR /&gt;XPR=/usr/contrib/bin/X11/xpr&lt;BR /&gt;XWD=/usr/bin/X11/xwd&lt;BR /&gt;HEADER="Printed by `whoami`  on `date`"&lt;BR /&gt;$XWD -frame | $XPR -header "$HEADER" -cutoff 75| lp -o nb -oraw -d$printer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 05 Feb 2004 11:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184258#M163469</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-02-05T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184259#M163470</link>
      <description>take the -gray" out altogether and try various values with "-scale" and "-density".  What may be compounding the problem is the printer definition you are using in lp.  What driver is it using?&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Thu, 05 Feb 2004 13:03:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184259#M163470</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-02-05T13:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184260#M163471</link>
      <description>xpr is really, really outdated. Look at the man pages for the 'supported' printers and all of them have been obsolete for more than a decade. Unfirtunately, there really isn't anything useful for printing graphics images. What your users probably need is a word processing program that can insert graphics images, but the xwd format is unique to Xwindows.&lt;BR /&gt; &lt;BR /&gt;You can get a copy of the Portable BitMap utilities from &lt;A href="http://hpux.connect.org.uk/hppd/hpux/X11/Graphics/netpbm-10.6/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/X11/Graphics/netpbm-10.6/&lt;/A&gt; &lt;BR /&gt;The PBM utils can convert more than a dozen different bitmap formats (including xwd) into a format-neutral ASCII file which can then be manipulated (rotated, colors converted, contrast changed, brightness changed, etc) by running the PBM file through command-line filters. Once converted, the result can then be written to a different format (jpeg, bmp, gif, etc) and included in a formatting program.</description>
      <pubDate>Fri, 06 Feb 2004 11:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184260#M163471</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-06T11:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184261#M163472</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;Just working my way through your suggestions one at a time and awarding points after I've tried them.&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestion Pete - the same result unfortunately.&lt;BR /&gt;&lt;BR /&gt;Everyone else - please be patient while you wait for your points! This was my top priority problem when I posted this message on Thursday, but that was before I downloaded a patch to a workstation and sh***ed it!&lt;BR /&gt;&lt;BR /&gt;HP are helping me with the workstation, which obviously takes priority over printing problems. I will try your suggestions in due course and give you your points.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Mon, 09 Feb 2004 03:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184261#M163472</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-02-09T03:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184262#M163473</link>
      <description>Hi Mark/Bill.&lt;BR /&gt;&lt;BR /&gt;Mark - I didn't try your suggestion because Bill's suggestion worked, but 3 points for trying to help.&lt;BR /&gt;&lt;BR /&gt;Bill - I've converted the file to pbm then used xv to convert it to ps (having tried gif, jpeg, and tiff without much success).&lt;BR /&gt;&lt;BR /&gt;In xv I've increased the size to A4 then clicked on smooth. This produces print that the users say they can live with, although they're not the same quality they used to get from xpr. 10 points up for grabs if anyone can help me to improve the quality of postscript files created with xv.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Wed, 11 Feb 2004 03:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184262#M163473</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-02-11T03:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184263#M163474</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;You've got me concerned now.  We've been doing this without problem for years (I've tried to break the users of their habit of having to print screens - to no avail, alas).  Now it seems that there's a possibility of it not working someday.&lt;BR /&gt;&lt;BR /&gt;I tried your exact command line on 10.20, 11.0 and 11i systems and it worked fine printing to a HP8100DN printer, 8150(s), old LJIII(s) and 4(s).  I can't find a LJ5000 - I'm wondering if that makes any difference.  Do you have any other printers available that you could try this on?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 11 Feb 2004 06:42:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184263#M163474</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-02-11T06:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184264#M163475</link>
      <description>Hi Pete,&lt;BR /&gt;&lt;BR /&gt;I retried your command just in case, but got exactly the same result.&lt;BR /&gt;&lt;BR /&gt;We don't have an alternative printer at present - we're waiting to get it repaired.&lt;BR /&gt;&lt;BR /&gt;The users tell me that the xpr command worked until about six months ago. Unfortunately, they don't do screen prints every day so they can't pinpoint when it went wrong. If they could, I could look for changes that occurred at that time.&lt;BR /&gt;&lt;BR /&gt;I'm due to upgrade this server to 11i in about a month's time and I'm wondering if I should leave it as it is for now and see if the upgrade improves things.&lt;BR /&gt;&lt;BR /&gt;Any more ideas would be welcome.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 12 Feb 2004 04:34:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184264#M163475</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-02-12T04:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184265#M163476</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Just my opinion based on what works here, but I would like to see you wait until after the upgrade before you abandon xpr altogether.  Of course, if you have time on your hands, and are looking for something to do, the migration to Bill's PBM utilities might make you more "portable" in the future.&lt;BR /&gt;&lt;BR /&gt;In any case, I wish you luck!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 12 Feb 2004 07:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184265#M163476</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-02-12T07:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184266#M163477</link>
      <description>Thanks Pete.&lt;BR /&gt;&lt;BR /&gt;I will certainly persevere after the upgrade - the users prefer xpr to the workaround.&lt;BR /&gt;&lt;BR /&gt;No extra points for the humorous emulation of my signature in that other thread though - as I said to Jeff, I was only awarding points to the first person to do that!&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 12 Feb 2004 07:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184266#M163477</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-02-12T07:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184267#M163478</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;That's OK, I certainly wasn't looking to gain any extra points, just showing off my feeble sense of humor!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 12 Feb 2004 08:08:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184267#M163478</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-02-12T08:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184268#M163479</link>
      <description>You can stop worrying Pete. The alternative printer is now working and xpr works fine to that - exactly the same command with just the printer name changed.&lt;BR /&gt;&lt;BR /&gt;So I've now got to check what changed on the other printer approx. 7 - 8 months ago (don't you just love it when users give you a precise date to work from?).&lt;BR /&gt;&lt;BR /&gt;The only thing I've changed on the printer since I started this job 11 months ago is to increase the memory. I would have expected an increase in memory to alleviate problems rather than cause them. Unless someone out there knows different.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Wed, 17 Mar 2004 09:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184268#M163479</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-03-17T09:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184269#M163480</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;Now that the other printer is working I think we may be getting somewhere.&lt;BR /&gt;&lt;BR /&gt;The printers are both networked and on different servers. I have nulled the /var/adm/lp/log on each server and sent a print. The working one just showed a print, but the failing one showed:&lt;BR /&gt;&lt;BR /&gt;Xlib: connection to "(workstation):0.0" refused by server&lt;BR /&gt;Xlib: Client is not authorized to connect to Server&lt;BR /&gt;Error: can't open display: (workstation):0.0&lt;BR /&gt;Error: couldn't find per display information&lt;BR /&gt;&lt;BR /&gt;I have dug around a bit and looked for Xlib on these forums. This led me to check the .Xauthority file, which is dated 11 September 2003 - six months ago. The users say the fault started seven or eight months ago.&lt;BR /&gt;&lt;BR /&gt;Any suggestions gratefully received.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 18 Mar 2004 06:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184269#M163480</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-03-18T06:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184270#M163481</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;That almost looks like a name resolution issue ("can't open display/couldn't find per display info").  Is everybody known to everybody else on these two networks?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 18 Mar 2004 06:56:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184270#M163481</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-03-18T06:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184271#M163482</link>
      <description>Sorry, "on these two servers"?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 18 Mar 2004 07:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184271#M163482</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-03-18T07:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184272#M163483</link>
      <description>Hi Pete.&lt;BR /&gt;&lt;BR /&gt;There are four workstations affected. The server with the problem is the apps server for these four users. They're on the same network.&lt;BR /&gt;&lt;BR /&gt;Digression: I've just seen your name on a different thread where you said you hoped the rest of the world wasn't paying much attention to "dubya". It was my daughter's birthday earlier this week and she got a card from relatives in USA which had George's wife on the front saying "George used to have lots of questions on his birthday". On the inside it said "So now I just read his cards to him".&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 18 Mar 2004 08:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184272#M163483</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-03-18T08:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184273#M163484</link>
      <description>I really should have read your second posting before replying to your first! The first came in just as I was leaving the building for my dinner - I left it up on screen and replied immediately I got back.&lt;BR /&gt;&lt;BR /&gt;Both servers and all four workstations are on the same network. I really would have expected the four users and their workstations to be known to their server, but - computers are strange things.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 18 Mar 2004 08:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184273#M163484</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-03-18T08:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184274#M163485</link>
      <description>Just a thought but if you cp /usr/dt/config/Xconfig -&amp;gt; /etc/dt/config/Xconfig and vi it and uncomment the line ; &lt;BR /&gt;&lt;BR /&gt;Dtlogin*authorize:         False&lt;BR /&gt;&lt;BR /&gt;/sbin/init 2  then back to 3 .... try xpr again ... result ?( also try xhost + )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2004 09:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184274#M163485</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2004-03-18T09:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184275#M163486</link>
      <description>Thanks Alex.&lt;BR /&gt;&lt;BR /&gt;I've amended the file but am hesitating on the next bit. I know it's not the same as a reboot, but can someone give me a cast-iron guarantee that switching run level won't affect users? For the Frasier fans amongst you, this server is in use 24/7 five days a week.&lt;BR /&gt;&lt;BR /&gt;Seriously, the users are working 24 hour days (between them, not each!) and if switching run level is going to affect them they would rather wait for the weekly reboot in the small hours of Monday morning.&lt;BR /&gt;&lt;BR /&gt;xhost + gave the error:&lt;BR /&gt;&lt;BR /&gt;xhost:  unable to open display ""&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 18 Mar 2004 09:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184275#M163486</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-03-18T09:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: xpr</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184276#M163487</link>
      <description>OK hold back on the drop in run-level for a sec : xhost errored ? Was this run under an X session on the workstation .... if yes can you run echo $DISPLAY and confirm with nslookup it resolves correctly this hosts details for both hostname and ip address.&lt;BR /&gt;&lt;BR /&gt;Have your users su'd at all ?</description>
      <pubDate>Thu, 18 Mar 2004 09:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xpr/m-p/3184276#M163487</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2004-03-18T09:30:32Z</dc:date>
    </item>
  </channel>
</rss>

