• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended
HP LaserJet 400 M401 PCL 6
Microsoft Windows 7 (64-bit)

Hello HP forum,

 

I have some issues when I programmatically try the collate option with the HP LaserJet 400 M401 PCL 6 printer driver

whereas it works fine when I do direct printing.

 

I am using Microsoft V3 printer driver  architecture to do some custom printing and the following method does not honor the collate setting when printed to HP LaserJet 400 M401 PCL 6 printer driver.

 

XpsPrint.lib->StartXpsPrintJob 

 

The collate option works fine when printed directly.

The collate property is set in print ticket, which is part of the xps document stream as follows:

-------------------------

<psf: ParameterInit name="psk: JobCopiesAllDocuments">
<psf:Value xsi:type="xsd:integer">3</psf:Value>
</psf: ParameterInit>

  

 

<psf:Feature name="psk: DocumentCollate">
<psf: Option name="psk:Collated"/>
</psf:Feature>

 

-----------------------------

 

Can you please suggest a resolution for this?

 

Note: We are using the  "PTConvertDevModeToPrintTicket" to convert DEVMODE to Print Ticket.

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.