Hi,
How can I print PDF file in background (without displaying its content)?
Regards
Piotr
Print PDF file in background
-
- Posts: 481
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Print PDF file in background
Use the Microsoft Print to PDF printer:
Code: Select all
DCPRINT ON NAME "Microsoft Print to PDF" ;
TOFILE OUTFILE (<MyfileWithPath.pdf>) ;
TO oPrinter ;
SIZE .... ;
FORMSIZE XBPPRN_FORM_A4 ;
TITLE ...
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Print PDF file in background
Wolfgang,
I am concerned with printing PDF files already existing on disk.
Piotr
I am concerned with printing PDF files already existing on disk.
Piotr
-
- Posts: 481
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Print PDF file in background
So you can try (from german newsgroup):
Code: Select all
lSuccess := ShellExecute( 0, ;
"print", ;
cPath + cFILE, ;
cPara, ;
cHome, ;
SW_HIDE)
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Print PDF file in background
Wolfgang,
thanks for the idea, i'll try. But isn't "print" just for printing txt files?
Piotr
thanks for the idea, i'll try. But isn't "print" just for printing txt files?
Piotr