Printing Normal and LandScape
Printing Normal and LandScape
I have a report that prints most pages in portrait mode but one page in the middle of the report needs landscape then back to portrait. Have tried DCPRINT ORIENTATION 2 FONT "8.Courier New" then back to ORIENTATION 1 FONT "10.Courier New"
but the report is still all in Portrait mode.
DCPRINT ORIENTATION 1 SIZE 60,80 FONT "10 Courier New"
print 2-4 pages
DCPRINT ORIENTATION 2 SIZE 60,142 FONT "8.Coruier New"
print 3 pages
DCPRINT ORIENTATION 1 SIZE 60,80 FONT "10.Courier New"
print final page
All the print is in PORTRAIT mode
but the report is still all in Portrait mode.
DCPRINT ORIENTATION 1 SIZE 60,80 FONT "10 Courier New"
print 2-4 pages
DCPRINT ORIENTATION 2 SIZE 60,142 FONT "8.Coruier New"
print 3 pages
DCPRINT ORIENTATION 1 SIZE 60,80 FONT "10.Courier New"
print final page
All the print is in PORTRAIT mode
Re: Printing Normal and LandScape
Try this:
Code: Select all
DCPRINT ON ORIENTATION 1 SIZE 60,80 FONT "10 Courier New"
print 2-4 pages
DCPRINT ENDPAGE
DCPRINT ORIENTATION 2
DCPRINT SIZE 60,142
DCPRINT FONT "8.Coruier New"
DCPRINT STARTPAGE
print 3 pages
DCPRINT ENDPAGE
DCPRINT ORIENTATION 1
DCPRINT SIZE 60,80
DCPRINT FONT "10.Courier New"
DCPRINT STARTPAGE
print final page
DCPRINT OFF
The eXpress train is coming - and it has more cars.
Re: Printing Normal and LandScape
I tried but sorry no work, the form still prints in PORTRAIT mode
I guess we will just $ amounts and use another way.
By the way your board really ROCKS

I guess we will just $ amounts and use another way.
By the way your board really ROCKS
Re: Printing Normal and LandScape
This should work.
I ran the sample program \exp19\samples\printer\document.prg and it works perfectly.
Give it a try.
I ran the sample program \exp19\samples\printer\document.prg and it works perfectly.
Give it a try.
The eXpress train is coming - and it has more cars.
Re: Printing Normal and LandScape
The only item not shown in your sample was DCPRINT PAPERBIN
OK I tried this method
DCPRINT ORIENTATION 1 <- BAD PARAMETER { , 1 , } WTHF
Then I tried the following
DCPRINT ON SIZE 60,142 ORIENTATION 2 FONT "8.Courier New" PAPERBIN 2
Ok so far -> DCPRINT STARTPAGE <- INVALID PARAMETER WTHF
This year EXPRESS Just HATES ME
Earlier I had a corrupted ALASKA now I wonder if my EXP19 is having the same PMS
I'm at wits end, very short trip http://bb.donnay-software.com:8080/phpB ... &f=2&t=385#
OK I tried this method
DCPRINT ORIENTATION 1 <- BAD PARAMETER { , 1 , } WTHF
Then I tried the following
DCPRINT ON SIZE 60,142 ORIENTATION 2 FONT "8.Courier New" PAPERBIN 2
Ok so far -> DCPRINT STARTPAGE <- INVALID PARAMETER WTHF
This year EXPRESS Just HATES ME
Earlier I had a corrupted ALASKA now I wonder if my EXP19 is having the same PMS
I'm at wits end, very short trip http://bb.donnay-software.com:8080/phpB ... &f=2&t=385#
Re: Printing Normal and LandScape
This doesn't make sense.
Possibly, there is a very old DCDIALOG.CH that it is finding.
Possibly, there is a very old DCDIALOG.CH that it is finding.
The eXpress train is coming - and it has more cars.
Re: Printing Normal and LandScape
are you shure that your Printer use c:\ALASKA\XPPW32\Include\xbpdev.ch Konstante ?John Hohensee wrote:I tried but sorry no work, the form still prints in PORTRAIT mode![]()
i just had a HP P2055dn and wonder why o:Paperbin does not work.
Than i look into Printer Manual and saw "other" Value for o:Paperbin.
greetings by OHR
Jimmy
Jimmy
Re: Printing Normal and LandScape
I also removed all the #include except DCDIALOG and DCPRINT the two that your program showed, the error''s stopped. But no LANDSCAPE mode. Although the report with 132 columns did print, but NOT in LANDSCAPE mode very confusing.
I have another procedure to print just the long list uses only the LANDSCAPE mode and it works!
The original list of #include had SET.CH xbp.ch appevent.ch DCPICK.CH DCAPP.CH DCBITMAP.CH DCICON.CH DCCURSOR.CH
DCXTOC.CH DCGRA.CH common.ch fileio.ch dbstruct.ch some where in the long list of #include the error
DCPRINT ORIENTATION 2 - caused the error { , 2, } the same error with DCPRINT PAPERBIN
Just for you: I am using Alaska 1.90 build 331 and Express 1.90 build 254, when I get rich I'll update the alaska above the lowest level that they sell. Sure missed the chance for another visit to Idaho, maybe next year when all the area's start to recover it can be done. I know that my support subscription to Expess is expired, what is the cost to renew?
I have another procedure to print just the long list uses only the LANDSCAPE mode and it works!
The original list of #include had SET.CH xbp.ch appevent.ch DCPICK.CH DCAPP.CH DCBITMAP.CH DCICON.CH DCCURSOR.CH
DCXTOC.CH DCGRA.CH common.ch fileio.ch dbstruct.ch some where in the long list of #include the error
DCPRINT ORIENTATION 2 - caused the error { , 2, } the same error with DCPRINT PAPERBIN
Just for you: I am using Alaska 1.90 build 331 and Express 1.90 build 254, when I get rich I'll update the alaska above the lowest level that they sell. Sure missed the chance for another visit to Idaho, maybe next year when all the area's start to recover it can be done. I know that my support subscription to Expess is expired, what is the cost to renew?
Re: Printing Normal and LandScape
I meant an old DCPRINT.CH, not DCDIALOG.CH.
The eXpress train is coming - and it has more cars.
Re: Printing Normal and LandScape
My DCPRINT.CH is dated 03/18/2009 is this correct for build 254?