Openedge pdf printing?

Posted by Elsworth Burmeister on 21-Nov-2017 23:58

Hi

Im looking at different ways to print pdf to a laser printer. Right now i manage to do this by printing through adobe reader however i find that adobe always opens to screen and i can have this. Is there other ways to do this through openedge?

TIA

Posted by Paul Radbone on 22-Nov-2017 01:56

All Replies

Posted by James Palmer on 22-Nov-2017 01:52

What os? If it's Windows I think you can just use a copy from os-command to copy the file to the printer share. It certainly works with most files in our system.

Sent from Nine

Posted by Paul Radbone on 22-Nov-2017 01:56
Posted by Elsworth Burmeister on 23-Nov-2017 22:35

Hi

Thanks for the suggestions and the direction but i still cant get this to work.

Ive tried many different things here, please can someone give me a working example of printing to a laser printer setup on the pc? this is what ive done with no success.

OS-COMMAND NO-WAIT "COPY C:\Temp\Layout.pdf 172.14.1.21".

OR

OS-COMMAND NO-WAIT COPY "C:\Temp\Layout.pdf 172.14.1.21".

OR

OS-COMMAND NO-WAIT "COPY C:\Temp\Layout.pdf \\172.14.1.21".

OR

OS-COMMAND NO-WAIT COPY "C:\Temp\Layout.pdf \\172.14.1.21".

What am i doing wrong?

Posted by Tim Kuehn on 23-Nov-2017 22:46

Have you tried adding "SILENT" to your os-command statements? There's also the OS-COPY command to consider. 

 Virus-free. www.avg.com

Posted by James Palmer on 24-Nov-2017 01:24

Os-copy doesn't work for this.
Get it working in a command prompt first. Then bring the working command into your app. Will save a lot of bother.
Usually the printer would be \\server\sharename

Sent from Nine

This thread is closed