How to set printer default paper(New paper)

Post Reply
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

How to set printer default paper(New paper)

Post by Taiwan »

Hello

I have set new paper size value in printer server option.
When I select LQ-2180C point printer and set default A4 to my new Paper
But my LQ-2180C alwayse get A4 paper not my new paper.
How to do it or any solution? I guess any point printer same problem.

Regards,

Richard
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

Hello EMG

You mean oPrn:SetPage(255)??

Regards,

Richard
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Open printer.prg and look at the defines

Code: Select all

// Defines for the oPrn:SetPage(nPage) method (The printer MUST support it)

#define DMPAPER_LETTER    1       // Letter 8 1/2 x 11 in
...
EMG
User avatar
Greg Gammon
Posts: 105
Joined: Fri Jun 09, 2006 3:27 pm
Location: Bryan, Texas

Post by Greg Gammon »

I had little luck myself with printer definitions....I have one form that must print on Legal Size (US) and the defines never worked.

I ended up hard-coding the paper size:

prnSetSize( 2159, 3556 ) // Legal Size

Works perfectly.

Greg
Post Reply