Page 1 of 1

Dcprint question

Posted: Wed May 03, 2017 1:44 pm
by omni
Roger,

We have a user that prints a history report of repairs and for each unit it also includes any images after the unit prints, if any exist. All prints to users default printer.
Some of these images (all pdfs) are landscape.

After any landscape image prints the report changes to landscape for the next unit.

dcprint off printer oprinter
do prtimage with vdtrac1
DCPRINT on size 60,84 FONT '9.Arial' margin 3 TO oPrinter usedefault CANCELENABLE

(If it matters we use pdfprint.exe to print each pdf image)

Any ideas on how to fix this?


Thanks
Fred
Omni

Re: Dcprint question

Posted: Sat May 06, 2017 7:56 am
by rdonnay
Any ideas on how to fix this?
How to fix what?
What is the problem?

Re: Dcprint question

Posted: Sat May 06, 2017 11:00 am
by Cliff Wiernik
It appears that based on the post, reports are printed in portrait mode, then an image is printed in landscape mode and it causes the remaining reports, which should be printed in portrait mode to instead be printed in landscape mode.

Re: Dcprint question

Posted: Sat May 06, 2017 11:22 am
by rdonnay
Ok, if that's the problem then it can probably be resolved like this:

Code: Select all

DCPRINT on size 60,84 FONT '9.Arial' margin 3 TO oPrinter usedefault CANCELENABLE ORIENTATION 1

Re: Dcprint question

Posted: Mon May 08, 2017 8:46 am
by omni
I will give that try...

Fred