Change Advance Options Using Programming Languages

  • Thread starter Thread starter Antonis Psaras
  • Start date Start date
A

Antonis Psaras

Dear all,

how can I change the advance options of a printer using a programming
language if the windows printer device object does not have routine
for these options.

My problem is that I have a Xerox DocuPrint 90 device which has an
option called MediaColor and I want to change this option runtime
throught my software. I 'm using Windows XP Pro and I 'm working with
VisualBasic 6 and C#.

thnx


Antonis
 
Posted and emailed:
Dear all,

how can I change the advance options of a printer using a programming
language if the windows printer device object does not have routine
for these options.

My problem is that I have a Xerox DocuPrint 90 device which has an
option called MediaColor and I want to change this option runtime
throught my software. I 'm using Windows XP Pro and I 'm working with
VisualBasic 6 and C#.

thnx


Antonis
You need to use the DocumentProperties API which provides access to
the private properties in a buffer the format of which depends on the
printer. Since I have never tried it I won't attempt any further
explanation but a Google search of comp.lang.basic.visual.misc should
provide the details. If not, post your question there.
 
Back
Top