DCPRINT ON eject a blank page on my printer

This forum is for eXpress++ general support.
Post Reply
Message
Author
Bob de Haan
Posts: 6
Joined: Thu Nov 14, 2013 3:52 pm
Location: Utrecht, Netherlands

DCPRINT ON eject a blank page on my printer

#1 Post by Bob de Haan »

Hello,

When i use the following code it eject a blank page on my printer.


DCPRINT ON TO oP ;
FONT "9.Courier"

DCPRINT OFF

Is this normal or can i turn this off?
Greetings,

Bob

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCPRINT ON eject a blank page on my printer

#2 Post by rdonnay »

I don't understand what you are trying to do.

DCPRINT ON uses the XbpPrinter() class.

This class always ejects a page after a print job.

Your code is creating a print job but you are not printing anything. Why?
The eXpress train is coming - and it has more cars.

Bob de Haan
Posts: 6
Joined: Thu Nov 14, 2013 3:52 pm
Location: Utrecht, Netherlands

Re: DCPRINT ON eject a blank page on my printer

#3 Post by Bob de Haan »

Yes youre right.

I usually give a print command between these lines.
If i do, there is first blank sheet from the printer and then my print.

When i do without a print command. There come a blank sheet.
It seems that there is always a blank sheet.
Greetings,

Bob

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCPRINT ON eject a blank page on my printer

#4 Post by rdonnay »

Can you explain what you are trying to accomplish?
The eXpress train is coming - and it has more cars.

Bob de Haan
Posts: 6
Joined: Thu Nov 14, 2013 3:52 pm
Location: Utrecht, Netherlands

Re: DCPRINT ON eject a blank page on my printer

#5 Post by Bob de Haan »

That the DCPRINT ON command ejects a blank page on my printer.
Greetings,

Bob

skiman
Posts: 1199
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: DCPRINT ON eject a blank page on my printer

#6 Post by skiman »

I usually give a print command between these lines.
If i do, there is first blank sheet from the printer and then my print.
This is not logical and normally unwanted behaviour for the user. I never have a blank page, not before my print, and not after my print. You must be doing something wrong.

Are you printing at position 0,0? I think I remember that this causes a new page.
Best regards,

Chris.
www.aboservice.be

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCPRINT ON eject a blank page on my printer

#7 Post by rdonnay »

Send me some code that I can compile and run.

I still don't understand what you are trying to do.

You are complaining that you are getting a blank page and telling me that you want a blank page, all in the same paragraph.

I don't get it.
The eXpress train is coming - and it has more cars.

Bob de Haan
Posts: 6
Joined: Thu Nov 14, 2013 3:52 pm
Location: Utrecht, Netherlands

Re: DCPRINT ON eject a blank page on my printer

#8 Post by Bob de Haan »

Hello,

Last week i had very busy. Sorry i couldn't respond.
The problem is still there. I don't print at position 0,0.

I am using a very old (i think) version of Express++.
It's version 1.8 build 227. The xbase++ version is 1.80 release 1.80.284.
Can that be the problem of my problems?
Greetings,

Bob

Post Reply