[WinPrnDev] Re: Duplicate Print jobs

  • From: Octavian Rinciog <octavian.rinciog@xxxxxxxxx>
  • To: winprndev@xxxxxxxxxxxxx
  • Date: Tue, 1 Oct 2013 21:02:04 +0300

Thanks, but I was asking if there is some API that does this, because
as I understand, the info is already there. (Maybe some calls of
PrintDocumentOnPrintProcessor).

2013/10/1 Alex Egorov <alex@xxxxxxxxxxxxxx>:
> http://www.undocprint.org/formats/winspool/emf
>
>
> On Tue, Oct 1, 2013 at 8:10 PM, Octavian Rinciog
> <octavian.rinciog@xxxxxxxxx> wrote:
>>
>> Thank you Alex for your advice.
>> I'm wondering you  know how to extract the EMF records from the SPL
>> file and save them in a file.
>>
>>
>>
>> 2013/10/1 Alex Egorov <alex@xxxxxxxxxxxxxx>:
>> > With different drivers this is impossible,
>> > If source printer have print jobs with NT EMF format than
>> > this is possible but with some advanced work with print job content.
>> > You should manually extract EMF content and send it to another printer,
>> > but EMF content can be readed without any second printer.
>> >
>> >
>> > On Tue, Oct 1, 2013 at 4:27 PM, Octavian Rinciog
>> > <octavian.rinciog@xxxxxxxxx> wrote:
>> >>
>> >> 2013/10/1 Alex Egorov <alex@xxxxxxxxxxxxxx>:
>> >> > How do you get print job handle?
>> >>
>> >> The source print job handle is obtained using the following calls:
>> >>
>> >>     _stprintf_s(jobStr, _T("%s,Job %i"), szPrinterName, iIndex);
>> >>     if (!OpenPrinter(jobStr, &hPrinterJob, NULL))
>> >>     {
>> >>         return FALSE;
>> >>     }
>> >>
>> >>
>> >> > How big your bufsize? (Can't be more than 64k)
>> >> My bufsize is 1024B. The spl file is copied very good (The two files
>> >> has the same dimension and hash).
>> >>
>> >> Anyway, I'm not sure that copying the spl file is the proper way to
>> >> implement my task, because in the general case the two printers have a
>> >> different driver.
>> >>
>> >>
>> >> --
>> >> Octavian Rinciog
>> >>
>> >> ---
>> >> Questions? First check the UndocPrint pages at
>> >> http://www.undocprint.org/winspool
>> >>
>> >> To unsubscribe, visit the List Server page at
>> >> //www.freelists.org/list/winprndev
>> >
>> >
>> >
>> >
>> > --
>> > Alex Egorov
>> > http://usefulsoft.com
>>
>>
>>
>> --
>> Octavian Rinciog
>> ---
>> Questions? First check the UndocPrint pages at
>> http://www.undocprint.org/winspool
>>
>> To unsubscribe, visit the List Server page at
>> //www.freelists.org/list/winprndev
>
>
>
>
> --
> Alex Egorov
> http://usefulsoft.com



-- 
Octavian Rinciog
---
Questions? First check the UndocPrint pages at 
http://www.undocprint.org/winspool

To unsubscribe, visit the List Server page at 
//www.freelists.org/list/winprndev

Other related posts: