Hi,
I am using DC_PRINTFILE for print content of text file to "virtual" printer - via profile in PDF Creator. This profile create me PDF file.
I do not know , how set parameters for page. I have problem with pagesize.
For A4 page size is 210x297, then I examine PAGESIZE set to 2100,2970, but in PDF is only "small page"
Correct size is only when set to PAGESIZE 4500,7000 or near this number.
Parameter SIZE not affect to output.
I also examine VIEWPORT with parameters 100,100,3900,6600
Here is my part of source
DCPRINT OPTIONS TO aOptions NAME 'RauknReport' ;
BUSYMESSAGE "Generujem tlačovú zostavu" ;
FORMSIZE XBPPRN_FORM_A4 ;
VIEWPORT 100,100,3900,6600 ;
MARGIN {-1,0} ; // prvé číslo horný okraj, druhé ľavý
TO aOptions
or
DCPRINT OPTIONS TO aOptions NAME 'RauknReport' ;
BUSYMESSAGE "Generujem tlačovú zostavu" ;
FORMSIZE XBPPRN_FORM_A4 ;
PAGESIZE 4500,7000 ;
MARGIN {-1,0} ; // prvé číslo horný okraj, druhé ľavý
TO aOptions
How can I calculate size of output ?
Font i set here :
DC_PRINTFILE(suborptk2,.F.,"11.Courier New",aOptions)
DC_PRINTFILE settings
Re: DC_PRINTFILE settings
Write me a small test program so I can see your problem.
The eXpress train is coming - and it has more cars.
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: DC_PRINTFILE settings
With the parameter SIZE 70,80 and FORMSIZE XBPPRN_FORM_A4 my prints to PDFCreator are ok.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: DC_PRINTFILE settings
Hi Wolfgang,
And what font you use ?
I have DC_PRINTFILE(suborptk2,.F.,"11.Courier New",aOptions)
And what font you use ?
I have DC_PRINTFILE(suborptk2,.F.,"11.Courier New",aOptions)
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: DC_PRINTFILE settings
I use 8/10/11/14.Arial, but i think that this does not matter. But i do not use DC_Printfile.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: DC_PRINTFILE settings
Thank you,
This can be different. I also create some reports with DCPRINT SAY... there it is ok.
Problem is only when print to PDF via PDC Creator from exist ascii file (text file in in OEM coding.)
I must prepare sample for Roger to look for it.
Now works fine with parameters
FORMSIZE XBPPRN_FORM_A4 ;
VIEWPORT 100,100,3900,6600 ;
This can be different. I also create some reports with DCPRINT SAY... there it is ok.
Problem is only when print to PDF via PDC Creator from exist ascii file (text file in in OEM coding.)
I must prepare sample for Roger to look for it.
Now works fine with parameters
FORMSIZE XBPPRN_FORM_A4 ;
VIEWPORT 100,100,3900,6600 ;