Re: Creating Custom Printer Banner Page in DCPS?

From: Paul Anderson (paul.anderson_at_hp.com)
Date: 08/01/05


Date: Mon, 01 Aug 2005 19:47:56 GMT

In article <42EE6343.1C66202F@teksavvy.com>, JF Mezei
<jfmezei.spamnot@teksavvy.com> wrote:

> Adding some CR/LFs (or I assume not removing them from your baseline
> source code which I would hope is human readable) would not add a lot
> of overhead in terms of space and performnance and would make it so
> much easier to debug problems.

The source PostScript code is indeed readable by humans, created by the
many anal-retentive engineers who have worked on DCPS over the years.
The code is "packed" at build time. Even though not "packing" it would
probably not cause a performance problem, the thinking through the ages
was to make it hard for people to customize (mess up) their flag pages.

> I'd like to see DCPS create a dictionary containing any/all
> information about that job, including any parameters supplied
> (possibly user defined paramenters as well, the note etc etc). Then,
> when a flag page is called, a specific module would be called, and
> that module could be customizable and just use the variables already
> defined in that dictionary to generate the flag page.
>
> Furthermore, code in the "main" postscript program would then also
> have access to the print job information by accessing that
> dictionary.

Are you suggesting a PostScript dictionary here?

> It would be nice to be able to define the company name there so that
> customers would have their onw company name.

This feature has been requested often.

> Also, while I am at it, DCPS should define a logical associated with
> the queue which would contain the printer name/type as soon as it has
> established communications with the printer and determined its type.

What purpose would these new logical names serve? Would it be helpful
in debugging problems?

I can see how they could be useful, but DCPS already has so many
logical names, and adding "read-only" logical names might make things
more confusing, especially since the product name can be specified with
the DCPS$queuename_PRODUCT_NAME logical name.

Paul

-- 
 Paul Anderson
  OpenVMS Engineering
  Hewlett-Packard Company


Relevant Pages

  • Re: Favorites Problem
    ... If you set that registry flag, I think it will just work for registry ... If you search the IESample folder for instances of "favorites" ... > or do I need to change my IE sample source code? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 4X4 matrix keypad-74c922- source code
    ... im trying to interface a 4x4 matrix keypad using a 74c922 decoder to an ... i would appreciate some pointers in how to create d source code that will ... happens at least twice during the component-selected debounce period. ... Don't read data while the flag is set. ...
    (sci.electronics.basics)
  • Re: Setting up flags in MS Outlook Inbox
    ... Right click on the toolbar area and select Customize. ... the (insert latest virus name here) virus, all mail sent to my personal ... red flag for urgent, ...
    (microsoft.public.outlook)
  • Re: help me.
    ... In fact, above source code is just like goto statement, when you want ... I assume one of the DoSomeX operations would set the exit flag. ...
    (comp.object)
  • Re: Suggested Alternative Unicode Implementation (for Rudy+ miscothers)
    ... Kostya wrote: ... most likely also older versions of Delphi with which they can maintain ... with source code so they can ... can maintain and customize it ...
    (borland.public.delphi.non-technical)