I mean job ID indentifier from printer queue.
For example,
if bitand(dwChange,PRINTER_CHANGE_JOB) = PRINTER_CHANGE_JOB
*print job id identifier from queue (which print job)
endif
if bitand(dwChange,PRINTER_CHANGE_DELETE_JOB) = PRINTER_CHANGE_DELETE_JOB
*print job id identifier from queue
endif
I know about these contants but can you explain why 0x602 means PRINTER_CHANGE_SET_PRINTER and PRINTER_CHANGE_SET_JOB and PRINTER_CHANGE_DELETE_JOB ? ... I must looking for bits change or something like this ?
How can I obtain the changed job ID identifier ?
Hi,
I use the code from below to monitor a printer queue and
I want to know when and what it's changing.
From my tests dwChange has decimal values which I don't know what is meaning and AdrBuffer is always zero.
Can anybody tell me what are the values of variable dwChange and their meaning ...
Hi Jockey2, Mike,
Finally I found the solution (it's just I'm looking for) to change, without user intervention, the paper size of printer driver to suit paper size of pdf file. I found how to change immediate the default printer too.
From my point of view this topic is closed.
Thank you for...
Hi Jockey2,
I want to print pdf files from a hot folder.
Application must check periodically a folder and print the pdf files without user intervention. But, most important, the application must change driver paper size concordantly with the document paper size from pdf file. For example, if I...
Mike, Jockey2,
I want to print pdf files without user intervention using VFP7 but the problem is that Acrobat Reader 7.0 don't change by itself the paper size in printer driver to suit the paper size of document from pdf file.
Here is my situation:
I want to change printer setting for printing PDF files, NOT for printing .frx files (vfp reports) and NOT for printing .frx files in pdf format.
I have installed Acrobat Reader 7.0.
My default printer has default paper size A4.
When print the PDF file with...
I don't setting printer for report printing, I want to
print files without user intervention from a directory -
I find the file (pdf), I see the page size of document (all pages of document have the same page size), I setting the printer and I print the file using ShellExecute.
I have not access to news2news members area...
I found how to parse cDevMode and how to modify
dmPaperSize,dmPaperLength and dmPaperWidth :
dmPaperSize=buf2word(SUBSTR(cDevmode,47,2))
dmPaperLength=buf2word(SUBSTR(cDevmode,49,2))
dmPaperWidth=buf2word(SUBSTR(cDevmode,51,2))
I know that if a...
thanks jokey2...
Can anybody help me how can I parse cDevMode buffer from example (from link) to obtain and modify paper size, paper lenght, paper width, scale,color, duplex, print quality ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.