CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2015
    Posts
    1

    Unhappy How to communicate from Printer Driver on Client Host to own Printer Monitor on Print

    I have developed a printer driver on postscript base. This printer uses a own port monitor. In this monitor i configure some values. This values are stored in registry than by windows. If i share my printer from my print server the client is able to connect to the Printer. The Printer driver is installed on client system well and i can use the printer. But i need the values form the port. The port does not is installed on the client. So how to get the information from the port?

    My port implementation has a Monitor2 struct initalisation with a wonderfull GetPrinterDataFromPort Function. But how to call this function from driver?

    In the driver i have no PortHandle. I need it in DocumentsEvents when iEsc == DOCUMENTEVENT_STARTDOCPOST.

    Thanks for all ideas to solve my problem.

  2. #2
    Join Date
    Mar 2001
    Posts
    2,529

    Re: How to communicate from Printer Driver on Client Host to own Printer Monitor on P

    Well you could always map some user mode memory and feed the info back and fourth there.

    Can't tell you the API calls anymore. Look the up at OSR website.
    ahoodin
    To keep the plot moving, that's why.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured