<?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 What command, from C or Fortran languages,  write directly in spool ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735778#M101124</link>
    <description>My names is Roxana and I'am from Brasov, Romania.&lt;BR /&gt;I work on a HP-UX 11.23 system.&lt;BR /&gt;I would ike to know how could I list a spool from a program released in C language or Fortran language ?&lt;BR /&gt;What command exists in C language or Fortran languaje, for spool writing? With what command, from C or Fortran languages,  could I write directly in spool ?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;an best regards.</description>
    <pubDate>Tue, 21 Feb 2006 04:12:22 GMT</pubDate>
    <dc:creator>Roxana_4</dc:creator>
    <dc:date>2006-02-21T04:12:22Z</dc:date>
    <item>
      <title>What command, from C or Fortran languages,  write directly in spool ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735778#M101124</link>
      <description>My names is Roxana and I'am from Brasov, Romania.&lt;BR /&gt;I work on a HP-UX 11.23 system.&lt;BR /&gt;I would ike to know how could I list a spool from a program released in C language or Fortran language ?&lt;BR /&gt;What command exists in C language or Fortran languaje, for spool writing? With what command, from C or Fortran languages,  could I write directly in spool ?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;an best regards.</description>
      <pubDate>Tue, 21 Feb 2006 04:12:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735778#M101124</guid>
      <dc:creator>Roxana_4</dc:creator>
      <dc:date>2006-02-21T04:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: What command, from C or Fortran languages,  write directly in spool ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735779#M101125</link>
      <description>Hi Roxana,&lt;BR /&gt;&lt;BR /&gt;        Did u mean, maintaing the command history ,by meaning spool. Could you eloborate more on your question.&lt;BR /&gt;&lt;BR /&gt;        Well technicality aside, from ur other question, u replied that you were new to HPUX and learning. This would explain why you are introducing urself in every thread. So, spare the introduction. Every one in here is "Learning and sharing" knowledge. so u are not alone. Feel at home, and a warm welcome. Please feel free to query any questions without qualms and jitteriness.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Kumar .A</description>
      <pubDate>Tue, 21 Feb 2006 04:47:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735779#M101125</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-02-21T04:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: What command, from C or Fortran languages,  write directly in spool ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735780#M101126</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Check this out, &lt;A href="http://www.tldp.org/HOWTO/Printing-Usage-HOWTO-2.html" target="_blank"&gt;http://www.tldp.org/HOWTO/Printing-Usage-HOWTO-2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 21 Feb 2006 04:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735780#M101126</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-21T04:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: What command, from C or Fortran languages,  write directly in spool ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735781#M101127</link>
      <description>You essentially have 2 choices:&lt;BR /&gt;&lt;BR /&gt;1) use the system() function to invoke lp just as you would from the shell.&lt;BR /&gt;&lt;BR /&gt;status = system("lp -dmyprinter myfile");&lt;BR /&gt;&lt;BR /&gt;2) Write to a pipe:&lt;BR /&gt;&lt;BR /&gt;FILE *f;&lt;BR /&gt;&lt;BR /&gt;f = popen("lp -dmyprinter","w");&lt;BR /&gt;if (f != NULL)&lt;BR /&gt;  {&lt;BR /&gt;    (void) fprintf(f,"This is a test\n");&lt;BR /&gt;    status = pclose(f);&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;Man system,popen,pclose for details.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Feb 2006 10:03:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-command-from-c-or-fortran-languages-write-directly-in-spool/m-p/3735781#M101127</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-02-21T10:03:32Z</dc:date>
    </item>
  </channel>
</rss>

