<?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: top-of-form in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953175#M4293</link>
    <description>...which isn't completely foolproof by the way :)&lt;BR /&gt;&lt;BR /&gt;I found old versions of MS Wordpad.exe (NT 4 for example) that do not support page breaks.&lt;BR /&gt;</description>
    <pubDate>Thu, 17 Apr 2003 13:43:42 GMT</pubDate>
    <dc:creator>Fred Martin_1</dc:creator>
    <dc:date>2003-04-17T13:43:42Z</dc:date>
    <item>
      <title>top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953166#M4284</link>
      <description>In unix, if I create a text file and insert a TOF (^L) in the file, it works properly - when I print the doc it starts a new page at the TOF.&lt;BR /&gt;&lt;BR /&gt;If I then take that same text file and ftp it to an NT machine, then print it from NT, it shows a small block on the page but does not treat it as a TOF.&lt;BR /&gt;&lt;BR /&gt;Same printer.&lt;BR /&gt;&lt;BR /&gt;In ftp, binary mode trashes the file.  In ascii mode I've tried the flat file, and also tried ux2dos on the file first, same result.&lt;BR /&gt;&lt;BR /&gt;Any ideas?  I need to get the TOF tranfered over from unix.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 17:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953166#M4284</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-04-16T17:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953167#M4285</link>
      <description>I should say that when I print the file in unix, it is transferred to an NT machine using Facetwin software - then printed from NT to the same printer, which I'm trying to print to.&lt;BR /&gt;&lt;BR /&gt;Facetwin just passes the file from the unix queue to an NT queue for printing.&lt;BR /&gt;&lt;BR /&gt;Anyway that process retains the TOF.&lt;BR /&gt;&lt;BR /&gt;When I ftp the file over and print it using, say, notepad or wordpad, the TOF is lost.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 17:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953167#M4285</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-04-16T17:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953168#M4286</link>
      <description>Not sure why you posted this here, but ... ;)&lt;BR /&gt;&lt;BR /&gt;Did you try "copy /b filename PRN:" ? Or maybe even using print command if it still exists in Windows.&lt;BR /&gt;&lt;BR /&gt;I kinda forgot the DOS stuff, perhaps it's PRN and not PRN:.&lt;BR /&gt;&lt;BR /&gt;G.</description>
      <pubDate>Wed, 16 Apr 2003 18:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953168#M4286</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2003-04-16T18:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953169#M4287</link>
      <description>Thanks; I posted it here because it seemed less a DOS thing and more a unix thing - maybe I can modify the page before it is ftp'd to NT.&lt;BR /&gt;&lt;BR /&gt;Here's the deal:&lt;BR /&gt;&lt;BR /&gt;I have a unix script on a cron, which creates a nightly current email listing (the text file) based on current inboxes on the unix server.&lt;BR /&gt;&lt;BR /&gt;The file in it's unix form is for sysadmins to use and print, from unix.  General users do not have unix access.&lt;BR /&gt;&lt;BR /&gt;But each night the same script also ftp's the text file over to an NT server, into a public folder.&lt;BR /&gt;&lt;BR /&gt;Users on my network can just open the folder on their PC and browse or print the textfile with notepad or wordpad.&lt;BR /&gt;&lt;BR /&gt;I set it up this way because it's self updating, PC users can get it when they want it, and is paperless if they want it to be.&lt;BR /&gt;&lt;BR /&gt;Problem was, when they print it, the top-of-form behaves differently from notepad, as I described.&lt;BR /&gt;&lt;BR /&gt;Was hoping there was an appropriate way to deal with the file from the unix side that would cause it to print properly on the NT side.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 19:08:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953169#M4287</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-04-16T19:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953170#M4288</link>
      <description>Goran,&lt;BR /&gt;&lt;BR /&gt;You got me thinking now - maybe I should look at this the other way around.&lt;BR /&gt;&lt;BR /&gt;Does anyone here know what you need to insert into a text file using notepad or wordpad, that causes a top-of-form or a page break?&lt;BR /&gt;&lt;BR /&gt;If I knew that, I could have my unix script place the codes into the document prior to the ftp...&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 19:17:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953170#M4288</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-04-16T19:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953171#M4289</link>
      <description>It's hard to say without testing it, but my guess is that notepad or wordpad don't like such files.&lt;BR /&gt;&lt;BR /&gt;If copy works then that is indeed the problem, and I don't see why copy would not work as I have always used it to transfer binary data directly to printer (i.e. to generate my own characters back then with my 9-pin Star printer).&lt;BR /&gt;&lt;BR /&gt;G.</description>
      <pubDate>Wed, 16 Apr 2003 19:19:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953171#M4289</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2003-04-16T19:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953172#M4290</link>
      <description>Hello again Fred.&lt;BR /&gt;&lt;BR /&gt;This is a rather silly idea, but still.&lt;BR /&gt;&lt;BR /&gt;Can you generate such a document in wordpad/notepad ? If you can do it, then try to print it to a file and check the contents of this file.&lt;BR /&gt;&lt;BR /&gt;G.</description>
      <pubDate>Wed, 16 Apr 2003 19:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953172#M4290</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2003-04-16T19:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953173#M4291</link>
      <description>This is a DOS/Windows issue.  Windblows treats the control file as a character instead of binary character.  Usually, it will translate it to a wingding or something stupid in windows, and the closest ASCII escape sequence it can find in DOS.&lt;BR /&gt;&lt;BR /&gt;You can try the copy /b method, which may work in DOS.  But... Be warned.. If you modify this file in windblows, your control sequence is deleted!&lt;BR /&gt;&lt;BR /&gt;So, really this is a windows question ;)  I have dealth with this as well as PJL commands that Windblows kindly strips from my prints.  Hence I do all that I can from UNIX where I can control it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Wed, 16 Apr 2003 19:35:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953173#M4291</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-04-16T19:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953174#M4292</link>
      <description>I solved it, well enough for my purposes.&lt;BR /&gt;&lt;BR /&gt;In unix, my script creates a text file called "textfile" which contains ^L (dec 12) where I want page breaks to be.&lt;BR /&gt;&lt;BR /&gt;Sending it to a printer in unix properly prints TOF.&lt;BR /&gt;&lt;BR /&gt;Then, in the same script, I copy it to "textfile.rtf" and ftp the file over to a public folder on an NT file server.&lt;BR /&gt;&lt;BR /&gt;PC users that open the file can use MS wordpad or MS Office to open the file.  It also correctly prints the TOF.&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2003 13:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953174#M4292</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-04-17T13:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: top-of-form</title>
      <link>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953175#M4293</link>
      <description>...which isn't completely foolproof by the way :)&lt;BR /&gt;&lt;BR /&gt;I found old versions of MS Wordpad.exe (NT 4 for example) that do not support page breaks.&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2003 13:43:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/top-of-form/m-p/2953175#M4293</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-04-17T13:43:42Z</dc:date>
    </item>
  </channel>
</rss>

