[WinPrnDev] Printing with AddJob/WritePrinter: any possibility to use pDevMode->dmCopies?

  • From: IH <igor.hurma@xxxxxxxxx>
  • To: winprndev@xxxxxxxxxxxxx
  • Date: Wed, 11 Dec 2013 14:24:24 +0400

Hi all.

Is it possible to print raw file with dmCopies/dmCollate set in either
printer or job's devmode?

Currently, no combination of SetJob/DocumentProperties/SetPrinter had any
help (code pasted to http://www.everfall.com/paste/id.php?o7yg01ljycyi ).

Current code allows to make an artificial number of copies seen in job
properties via printer status window, but what gets out of printer is 1
copy.

Different printers were tested, a number of ClosePrinter and
DocumentProperties/SetPrinter experiments did nothing good.

Also, setting PCL attribute QTY has no effect too.

How can raw job be printed with different color mode or number of copies?

What are devmode extra attributes - can they be used (at least on recent
LaserJet) to get the desired effect?

Thanks,
Igor.

Other related posts:

  • » [WinPrnDev] Printing with AddJob/WritePrinter: any possibility to use pDevMode->dmCopies? - IH