- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Printer Queue Page Counting
Operating System - OpenVMS
1753802
Members
7734
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 02:27 PM
тАО02-11-2009 02:27 PM
Re: Printer Queue Page Counting
The accounting file format is described in appendix C of the System Management Utilities Manual 1 (A-L). I believe later versions of VMS moved it somewhere else.
I'm looking for marbles all day long.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2009 06:24 AM
тАО02-12-2009 06:24 AM
Re: Printer Queue Page Counting
DCPS has a problem with the way many printers respond to the PostScript request for "pages printed". Many printers respond with how many pages have actually dropped into the output bin, which is not going to provide the correct information. This is because your job might start and end before any pages actually leave the printer because of other jobs printing, or the printer warming up from power-save mode, for example.
So what you really want is the number of pages _interpreted_ by the PostScript interpreter at both the beginning and end of the job. Subtracting those two numbers, as DCPS does, results in the correct answer.
The way many printers (including HP printers) do it is give you the number of pages physically printed during the interpretation of your job. That number is not interesting and not correct.
Standard OpenVMS symbionts such as PRTSMB or LATSYM, having no knowledge of PostScript, attempt a page count by counting form feeds or by counting lines. Since there are no form feeds in PostScript files, and the number of lines of PostScript code has nothing to do with how many pages print, this number is a big approximation.
I can't speak for the TCP/IP Services LPD or Telnet symbionts, but they have no knowledge of PostScript either, so the only accurate page counts they provide would be for text files.
Paul
So what you really want is the number of pages _interpreted_ by the PostScript interpreter at both the beginning and end of the job. Subtracting those two numbers, as DCPS does, results in the correct answer.
The way many printers (including HP printers) do it is give you the number of pages physically printed during the interpretation of your job. That number is not interesting and not correct.
Standard OpenVMS symbionts such as PRTSMB or LATSYM, having no knowledge of PostScript, attempt a page count by counting form feeds or by counting lines. Since there are no form feeds in PostScript files, and the number of lines of PostScript code has nothing to do with how many pages print, this number is a big approximation.
I can't speak for the TCP/IP Services LPD or Telnet symbionts, but they have no knowledge of PostScript either, so the only accurate page counts they provide would be for text files.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2009 05:15 PM
тАО02-12-2009 05:15 PM
Re: Printer Queue Page Counting
Paul Anderson>>"So what you really want is the number of pages _interpreted_ by the PostScript interpreter at both the beginning and end of the job. Subtracting those two numbers, as DCPS does, results in the correct answer."
From a "cost" point of view, printing an 8 page document with the following commands will use varying amounts of sides imaged "clicks" and sheets of paper.
$ print /que=dcps1 /param=(number_up=4,sides=2) doc.txt ! uses 2 imaging clicks and 1 sheet of paper
$ print /que=dcps1 /param=(number_up=4,sides=1) doc.txt ! uses 2 imaging clicks and 2 sheets of paper
$ print /que=dcps1 /param=(number_up=2,sides=2) doc.txt ! uses 4 imaging clicks and 2 sheets of paper
$ print /que=dcps1 /param=(number_up=1,sides=2) doc.txt ! uses 8 imaging clicks and 4 sheets of paper
$ print /que=dcps1 /param=(number_up=1,sizes=1) doc.txt ! uses 8 imaging clicks and 8 sheets of paper
Since accounting has only one field for "pages printed", your description implies that all the above print commands will report 8 pages printed.
DCPS could "compute" the sides imaged or sheets used based on the pages interpreted.
Does DCPS allow you to set a definition of pages printed to one of (pages,clicks,sheets)?
It would also be possible for the DCPS symbiont to use the GETs from source (ACR$L_GETCNT) and QIOs to printer (ACR$L_QIOCNT) fields for clicks and sheets based on DCPS settings. Some customers may find sides imaged and sheets used more valuable than the number of GETs and number of QIOs. This would be done using the accounting parameter to the SMB$SEND_TO_JOBCTL routine when sending the SMBMSG$K_TASK_COMPLETE message.
Jon
From a "cost" point of view, printing an 8 page document with the following commands will use varying amounts of sides imaged "clicks" and sheets of paper.
$ print /que=dcps1 /param=(number_up=4,sides=2) doc.txt ! uses 2 imaging clicks and 1 sheet of paper
$ print /que=dcps1 /param=(number_up=4,sides=1) doc.txt ! uses 2 imaging clicks and 2 sheets of paper
$ print /que=dcps1 /param=(number_up=2,sides=2) doc.txt ! uses 4 imaging clicks and 2 sheets of paper
$ print /que=dcps1 /param=(number_up=1,sides=2) doc.txt ! uses 8 imaging clicks and 4 sheets of paper
$ print /que=dcps1 /param=(number_up=1,sizes=1) doc.txt ! uses 8 imaging clicks and 8 sheets of paper
Since accounting has only one field for "pages printed", your description implies that all the above print commands will report 8 pages printed.
DCPS could "compute" the sides imaged or sheets used based on the pages interpreted.
Does DCPS allow you to set a definition of pages printed to one of (pages,clicks,sheets)?
It would also be possible for the DCPS symbiont to use the GETs from source (ACR$L_GETCNT) and QIOs to printer (ACR$L_QIOCNT) fields for clicks and sheets based on DCPS settings. Some customers may find sides imaged and sheets used more valuable than the number of GETs and number of QIOs. This would be done using the accounting parameter to the SMB$SEND_TO_JOBCTL routine when sending the SMBMSG$K_TASK_COMPLETE message.
Jon
it depends
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP