<?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: automatically adding user name to printouts in BackOffice Products</title>
    <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551743#M352</link>
    <description>Thanks Jon for your reply. I'm still trying to figure out how to get a filename on the separator page. Using "Fpathname" I have to specify the file name that I am going to print but what I'm looking for is a way to print out  the file name of any document on the separator page. Just like the user name or jobid is printed on the separator page. I need the document name to differenciate&lt;BR /&gt;all the documents printed by the same user (because the jobid does not really tell me anything).&lt;BR /&gt;Thanks again for your help!&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Mar 2003 17:49:22 GMT</pubDate>
    <dc:creator>Roberto_43</dc:creator>
    <dc:date>2003-03-12T17:49:22Z</dc:date>
    <item>
      <title>automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551736#M345</link>
      <description>Sometimes a user prints classified documents and 'forgets' to collect them. We would like to add automatically the user name to each printed page (as a tiny footer), so that the document can be delivered to this user (together with a well deserved punishment).&lt;BR /&gt;Does anybody now about software (Windows, drivers) or hardware solutions?&lt;BR /&gt;Thanks, Johan.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jul 2001 06:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551736#M345</guid>
      <dc:creator>Johan Smits_1</dc:creator>
      <dc:date>2001-07-12T06:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551737#M346</link>
      <description>I don't know about adding user name as a footer on each page, but you can set up a separator page that prints out before each job, and include any of a number of identifiers, such as username, file name, date/time printed, etc. (I am assuming your NT server is servicing the print queues here).&lt;BR /&gt;&lt;BR /&gt;The Microsoft article that describes the process is:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.microsoft.com/support/kb/articles/Q102/7/12.asp?LN=EN-US&amp;amp;SD=gn&amp;amp;FR=0&amp;amp;qry=separator&amp;amp;rnk=1&amp;amp;src=DHCS_MSPSS_gn_SRCH&amp;amp;SPR=NTS40" target="_blank"&gt;http://support.microsoft.com/support/kb/articles/Q102/7/12.asp?LN=EN-US&amp;amp;SD=gn&amp;amp;FR=0&amp;amp;qry=separator&amp;amp;rnk=1&amp;amp;src=DHCS_MSPSS_gn_SRCH&amp;amp;SPR=NTS40&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Once you have a .sep file in place, just go into the print driver properties on the NT server, and click on the "separator page" button on the general tab, and point it to your file.&lt;BR /&gt;&lt;BR /&gt;On my setup here, the three default .sep files that came with NT didn't work for me, but a custom one did.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Ed&lt;BR /&gt;&lt;BR /&gt;Here is the simple file I made which worked for me:&lt;BR /&gt;@&lt;BR /&gt;Document:&lt;BR /&gt;@Fpathname&lt;BR /&gt;&lt;BR /&gt;Printed by:&lt;BR /&gt;@N&lt;BR /&gt;&lt;BR /&gt;@E</description>
      <pubDate>Thu, 12 Jul 2001 12:19:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551737#M346</guid>
      <dc:creator>Ed Grey</dc:creator>
      <dc:date>2001-07-12T12:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551738#M347</link>
      <description>Ed,&lt;BR /&gt;&lt;BR /&gt;thanks for the response. Separator pages do help us, but only as long as they stay attached to the document. Therefor I am still looking for the possibillity to have that footer automatically printed to documents.&lt;BR /&gt;But thanks a lot anyway,&lt;BR /&gt;&lt;BR /&gt;Johan Smits.&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jul 2001 05:10:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551738#M347</guid>
      <dc:creator>Johan Smits_1</dc:creator>
      <dc:date>2001-07-13T05:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551739#M348</link>
      <description>I know it's not what you want, I also wanted to do this, and when asked that in other forums, here are the answers I got:&lt;BR /&gt;&lt;BR /&gt;1."the only thing that i know of is a separator page... if you want to print a header, you might have to look at some third party software or setup a print que log."&lt;BR /&gt;&lt;BR /&gt;2. "Use a seperator page? &lt;BR /&gt;Start Button --&amp;gt; Settings --&amp;gt; Printers&lt;BR /&gt;Right click printer icon and select Properties. Look for the Seperator Page button." &lt;BR /&gt;&lt;BR /&gt;The 2nd did the job, until...maybe...we find another way.&lt;BR /&gt;</description>
      <pubDate>Sun, 15 Jul 2001 05:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551739#M348</guid>
      <dc:creator>avivit</dc:creator>
      <dc:date>2001-07-15T05:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551740#M349</link>
      <description>Forgot to mention: It's regarding windows 2000 server.</description>
      <pubDate>Sun, 15 Jul 2001 05:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551740#M349</guid>
      <dc:creator>avivit</dc:creator>
      <dc:date>2001-07-15T05:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551741#M350</link>
      <description>Does any of you know how can I get the name of the document that I want to print on a separator page?&lt;BR /&gt;&lt;BR /&gt;I tried "Fpathname" but it didn't work. &lt;BR /&gt;&lt;BR /&gt;Thanks for your time</description>
      <pubDate>Wed, 12 Mar 2003 00:41:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551741#M350</guid>
      <dc:creator>Roberto_43</dc:creator>
      <dc:date>2003-03-12T00:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551742#M351</link>
      <description>The usage is:&lt;BR /&gt;@Fpathname_to_the_file_you_want_to_print.&lt;BR /&gt;&lt;BR /&gt;i.e.  c:\mydocs\test.doc&lt;BR /&gt;&lt;BR /&gt;@Fc:\mydocs\test.doc&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;102712" target="_blank"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;102712&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2003 05:39:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551742#M351</guid>
      <dc:creator>Jon Finley</dc:creator>
      <dc:date>2003-03-12T05:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551743#M352</link>
      <description>Thanks Jon for your reply. I'm still trying to figure out how to get a filename on the separator page. Using "Fpathname" I have to specify the file name that I am going to print but what I'm looking for is a way to print out  the file name of any document on the separator page. Just like the user name or jobid is printed on the separator page. I need the document name to differenciate&lt;BR /&gt;all the documents printed by the same user (because the jobid does not really tell me anything).&lt;BR /&gt;Thanks again for your help!&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2003 17:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551743#M352</guid>
      <dc:creator>Roberto_43</dc:creator>
      <dc:date>2003-03-12T17:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551744#M353</link>
      <description>I have the same requirement, I want to print username on every page at the footer&lt;BR /&gt;&lt;BR /&gt;Please let me know if have any solution</description>
      <pubDate>Fri, 03 Oct 2008 09:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551744#M353</guid>
      <dc:creator>trumboo</dc:creator>
      <dc:date>2008-10-03T09:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: automatically adding user name to printouts</title>
      <link>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551745#M354</link>
      <description>hi All,&lt;BR /&gt;&lt;BR /&gt;Why not just keep the print queue and process that into a log file and then delete the job.&lt;BR /&gt;&lt;BR /&gt;here is a script I wrote to do this.&lt;BR /&gt;&lt;BR /&gt;'For this to work you must set the Keep Printed Documents in the printer advanced settings.&lt;BR /&gt;&lt;BR /&gt;WorkQueue()&lt;BR /&gt;Sub WorkQueue()&lt;BR /&gt;&lt;BR /&gt;strComputer = "."&lt;BR /&gt;Set objWMIService = GetObject("winmgmts:" _&lt;BR /&gt;    &amp;amp; "{impersonationLevel=impersonate}!\\" &amp;amp; strComputer &amp;amp; "\root\cimv2")&lt;BR /&gt;Set colPrintJobs =  objWMIService.ExecQuery _&lt;BR /&gt;    ("Select * from Win32_PrintJob")&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Const ForReading = 1 'Open a file for reading only. You canâ  t write to this file. &lt;BR /&gt;Const ForWriting = 2 'Open a file for writing. &lt;BR /&gt;Const ForAppending = 8 'Open a file and write to the end of the file. &lt;BR /&gt;&lt;BR /&gt;'create text file&lt;BR /&gt;    Dim fs    &lt;BR /&gt;&lt;BR /&gt; Set fs = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt; Set objWriteFile = fs.OpenTextFile("G:\Common_Share\Prtint Queue Log.txt", ForAppending) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;'Process Print Queue&lt;BR /&gt;For Each objPrintJob in colPrintJobs&lt;BR /&gt;    strPrinter = Split(objPrintJob.Name,",",-1,1)&lt;BR /&gt;&lt;BR /&gt; 'If you want email notification, uncomment the below&lt;BR /&gt; 'SendEmail objPrintJob.Owner,strPrinter(0), objPrintJob.TotalPages&lt;BR /&gt;&lt;BR /&gt; objWriteFile.Writeline("Time Stamp: " &amp;amp; Now() &amp;amp; ", Job Name: " &amp;amp; objPrintJob.Name &amp;amp; ", Doc Name: " &amp;amp; objPrintJob.Document &amp;amp; ", Job Owner: " &amp;amp; objPrintJob.Owner &amp;amp; ", Total Pages: " &amp;amp; objPrintJob.TotalPages &amp;amp; ", Size: " &amp;amp; objPrintJob.Size &amp;amp; ", Status: " &amp;amp; objPrintJob.Status)&lt;BR /&gt;&lt;BR /&gt; objPrintJob.Delete_&lt;BR /&gt;&lt;BR /&gt;Next&lt;BR /&gt;&lt;BR /&gt;end Sub&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sub SendEmail(owner, printer, pages)&lt;BR /&gt; Set objMessage = CreateObject("CDO.Message") &lt;BR /&gt;&lt;BR /&gt; objMessage.Sender = "whatever@domain.com"&lt;BR /&gt; objMessage.To = owner &amp;amp; "@tescodiets.com" &lt;BR /&gt; objMessage.Subject = "Have you Collected your Print Job Yet?"&lt;BR /&gt; objMessage.TextBody = "Has " &amp;amp; owner &amp;amp; " Collected their Print Off from the " &amp;amp; Printer &amp;amp; " Printer?" &amp;amp; vbcrlf &amp;amp; "The job consisted of " &amp;amp; pages &amp;amp; " pages."&lt;BR /&gt; VSMTPServer = "192.168.1.66"&lt;BR /&gt;    objMessage.Configuration.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendusing" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;") = 2&lt;BR /&gt;    objMessage.Configuration.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserver" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;") = VSMTPServer&lt;BR /&gt;    objMessage.Configuration.Fields.Update&lt;BR /&gt;&lt;BR /&gt;objMessage.Send&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;end Sub</description>
      <pubDate>Wed, 16 Sep 2009 10:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/automatically-adding-user-name-to-printouts/m-p/2551745#M354</guid>
      <dc:creator>Denis Finnegan</dc:creator>
      <dc:date>2009-09-16T10:32:18Z</dc:date>
    </item>
  </channel>
</rss>

