Hi everybody,
I had the code that used
REPORT FORM ... TO PRINTER PROMPT...
I need to print every label separately as a new print job. So, I've changed the way it was coded slightly
lcPrinter = getprinter()
if not empty(m.lcPrinter)
set printer to name (m.lcPrinter)
select r_invent
go top
scan for layout==m.lcLayout
report form (m.lcLayout) to printer noconsole NODIALOG NEXT 1
endscan
endif
However, the GetPrinter dialog is not the replication of the PROMPT dialog in the REPORT FORM. In particular, how can I set the number of copies and respect that?
I believe I did stumble upon this problem before and have my findings documented here
http://fox.wikis.com/wc.dll?Wiki~ReportFormPromptClause~VFPI haven't tried implementing the other suggestion in this topic.
Does someone have ideas here?
Also, we're using ReportBehavior 80 in our application.
Thanks in advance.
If it's not broken, fix it until it is.
My Blog